All Questions
5 questions
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
...
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,...
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 ...
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 ...
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 (...