Comments (8)
Try using wsl2 or the devcontainer if you are just wanting to get up and running. A lot of the tools in this ecosystem I feel aren't tested against windows necessarily so it's easier to just run in there.
That error is because powershell is expecting a module/command. You can try with &
call operator before it, like & modal
or if it's a python module be explicit by calling with python3 -m modal ....
and see if that helps.
I definitely enjoy windows and macOS, but honestly it's less friction on some of these to just run in devcontainer/wsl2 as things should more clearly just "work".
from developer.
I'm getting the same issue
from developer.
same here, after installing added object to path, restarted few times, tried from admin shell - nothing. Windows refuses to recognize "modal"
from developer.
I have also added the path in the system variables. Same result, model not recognized
from developer.
PS > pip install modal-client
Requirement already satisfied: modal-client in c:\python311\lib\site-packages (0.49.2364)
Requirement already satisfied: aiohttp in c:\python311\lib\site-packages (from modal-client) (3.8.4)
Requirement already satisfied: aiostream in c:\python311\lib\site-packages (from modal-client) (0.4.5)
Requirement already satisfied: asgiref in c:\python311\lib\site-packages (from modal-client) (3.7.2)
Requirement already satisfied: certifi in c:\python311\lib\site-packages (from modal-client) (2023.5.7)
Requirement already satisfied: click>=8.1.0 in c:\python311\lib\site-packages (from modal-client) (8.1.3)
Requirement already satisfied: fastapi in c:\python311\lib\site-packages (from modal-client) (0.96.1)
Requirement already satisfied: grpclib==0.4.3 in c:\python311\lib\site-packages (from modal-client) (0.4.3)
Requirement already satisfied: importlib-metadata>=3.6.0 in c:\python311\lib\site-packages (from modal-client) (6.6.0)
Requirement already satisfied: protobuf<5.0,>=3.19 in c:\python311\lib\site-packages (from modal-client) (4.23.2)
Requirement already satisfied: rich>=12.0.0 in c:\python311\lib\site-packages (from modal-client) (13.4.1)
Requirement already satisfied: synchronicity~=0.5.3 in c:\python311\lib\site-packages (from modal-client) (0.5.3)
Requirement already satisfied: tblib>=1.7.0 in c:\python311\lib\site-packages (from modal-client) (1.7.0)
Requirement already satisfied: toml in c:\python311\lib\site-packages (from modal-client) (0.10.2)
Requirement already satisfied: typer>=0.6.1 in c:\python311\lib\site-packages (from modal-client) (0.9.0)
Requirement already satisfied: types-certifi in c:\python311\lib\site-packages (from modal-client) (2021.10.8.3)
Requirement already satisfied: types-toml in c:\python311\lib\site-packages (from modal-client) (0.10.8.6)
Requirement already satisfied: watchfiles in c:\python311\lib\site-packages (from modal-client) (0.19.0)
Requirement already satisfied: cloudpickle<2.3.0,>=2.2.0 in c:\python311\lib\site-packages (from modal-client) (2.2.1)
Requirement already satisfied: h2<5,>=3.1.0 in c:\python311\lib\site-packages (from grpclib==0.4.3->modal-client) (4.1.0)
Requirement already satisfied: multidict in c:\python311\lib\site-packages (from grpclib==0.4.3->modal-client) (6.0.4)
Requirement already satisfied: colorama in c:\python311\lib\site-packages (from click>=8.1.0->modal-client) (0.4.6)
Requirement already satisfied: zipp>=0.5 in c:\python311\lib\site-packages (from importlib-metadata>=3.6.0->modal-client) (3.15.0)
Requirement already satisfied: markdown-it-py<3.0.0,>=2.2.0 in c:\python311\lib\site-packages (from rich>=12.0.0->modal-client) (2.2.0)
Requirement already satisfied: pygments<3.0.0,>=2.13.0 in c:\python311\lib\site-packages (from rich>=12.0.0->modal-client) (2.15.1)
Requirement already satisfied: sigtools==4.0.1 in c:\python311\lib\site-packages (from synchronicity~=0.5.3->modal-client) (4.0.1)
Requirement already satisfied: attrs in c:\python311\lib\site-packages (from sigtools==4.0.1->synchronicity~=0.5.3->modal-client) (23.1.0)
Requirement already satisfied: typing-extensions>=3.7.4.3 in c:\python311\lib\site-packages (from typer>=0.6.1->modal-client) (4.6.3)
Requirement already satisfied: charset-normalizer<4.0,>=2.0 in c:\python311\lib\site-packages (from aiohttp->modal-client) (3.1.0)
Requirement already satisfied: async-timeout<5.0,>=4.0.0a3 in c:\python311\lib\site-packages (from aiohttp->modal-client) (4.0.2)
Requirement already satisfied: yarl<2.0,>=1.0 in c:\python311\lib\site-packages (from aiohttp->modal-client) (1.9.2)
Requirement already satisfied: frozenlist>=1.1.1 in c:\python311\lib\site-packages (from aiohttp->modal-client) (1.3.3)
Requirement already satisfied: aiosignal>=1.1.2 in c:\python311\lib\site-packages (from aiohttp->modal-client) (1.3.1)
Requirement already satisfied: pydantic!=1.8,!=1.8.1,<2.0.0,>=1.7.4 in c:\python311\lib\site-packages (from fastapi->modal-client) (1.10.9)
Requirement already satisfied: starlette<0.28.0,>=0.27.0 in c:\python311\lib\site-packages (from fastapi->modal-client) (0.27.0)
Requirement already satisfied: anyio>=3.0.0 in c:\python311\lib\site-packages (from watchfiles->modal-client) (3.6.2)
Requirement already satisfied: idna>=2.8 in c:\python311\lib\site-packages (from anyio>=3.0.0->watchfiles->modal-client) (3.4)
Requirement already satisfied: sniffio>=1.1 in c:\python311\lib\site-packages (from anyio>=3.0.0->watchfiles->modal-client) (1.3.0)
Requirement already satisfied: hyperframe<7,>=6.0 in c:\python311\lib\site-packages (from h2<5,>=3.1.0->grpclib==0.4.3->modal-client) (6.0.1)
Requirement already satisfied: hpack<5,>=4.0 in c:\python311\lib\site-packages (from h2<5,>=3.1.0->grpclib==0.4.3->modal-client) (4.0.0)
Requirement already satisfied: mdurl~=0.1 in c:\python311\lib\site-packages (from markdown-it-py<3.0.0,>=2.2.0->rich>=12.0.0->modal-client) (0.1.2)
PS > modal token new
modal: The term 'modal' is not recognized as a name of a cmdlet, function, script file, or executable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
PS > pip uninstall model-client
WARNING: Skipping model-client as it is not installed.
from developer.
Same problem...
from developer.
Modal is still in early beta and we are only selectively giving access to users. You are on the waitlist and we will get back to you when there is capacity for more users.
from developer.
I was able to resolve this issue by running the modal commands in a terminal outside of Visual Studio Code. The issue seems to only occur in the terminal within Visual Studio Code, but I am not sure why. However, the workaround is working well.
from developer.
Related Issues (20)
- Please add releases HOT 1
- No Module named 'openai' HOT 5
- args not defined error HOT 2
- stream_handler error: 'content' {} ←[0m ←[0m ←[0m ←[0m ←[0m ←[0m
- NameError: name 'args' is not defined HOT 3
- pip install modal-client error
- OpenAI key error HOT 4
- JavaScript files contain code fences
- Add a new feature - test and debug to create self-healing code
- Timeout issue
- Error: The system cannot find the file specified. HOT 1
- Can anyone fix the Basic Usate in Git Repo mode? HOT 1
- PyPI Package is Broken
- Run demo through pip package, no response, no output, no error reported, program automatically ends HOT 1
- Is there a way to bind with azure openai?
- Errors when running `poetry run python main.py --prompt "poetry prompt"`
- Feature Proposal: New feature proposal HOT 1
- Test
- how to use codellama instead of openai api? HOT 3
- can someone update this with a dockerfile for ubuntu 22.04 so we can run this? currently it doesnt work
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from developer.