Skip to main content

All Questions

Tagged with
13 votes
1 answer
12k views

zsh: no matches found - trying to install pydantic[email] [duplicate]

After activating my venv and installing Pydantic through pip install pydantic I tried creating a new file as follows: from pydantic import Basemodel, EmailStr class Person(BaseModel): id: int ...
jonsdope's user avatar
  • 141
0 votes
1 answer
489 views

Issues with running Python script from command line using venv and pyenv

I created a basic python script which calls an API among other things. Within the directory I also created a virtual environment: python -m venv venv I've been running the script is VS Code no problem,...
user avatar
2 votes
2 answers
5k views

zsh: abort python error when I try to run the app in venv

I setup Python 3.6 using pyenv so I could manage multiple Python versions (e.g. 3.7 and 3.8) in the future. I didn't use Homebrew to install Python since it changes the system version. It's my first ...
Zhanrah's user avatar
  • 279
1 vote
4 answers
4k views

Can't run Venv in VsCode

For the last 3 days, I have been trying to set up virtual Env on Vs Code for python with some luck but I have a few questions that I cant seem to find the answer to. Does Vs Code have to run in WSL ...
kahan robinson's user avatar
2 votes
1 answer
364 views

Cannot run Django with active venv in zsh

I've got a properly activated venv in zsh, because I can see (venv) at the beginning of the prompt, but when I try to run Django with the command python manage.py runserver I've the error Traceback (...
Denis Cappellin's user avatar