After installing python 3.10 in pyenv, I am receiving import errors on all my virtual envs #2166
-
I installed python 3.10 yesterday through pyenv and created a new virtual environment with that version of python. Everything worked fine. Now today, every virtual environment I have is giving me import errors when attempting to run python manage.py runserver for Django. Any ideas? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 8 replies
-
From your description, it seems that the Django installation that the If that's so, you need make sure the right env is selected when you work with the |
Beta Was this translation helpful? Give feedback.
-
I am not sure what you mean by this. Every environment is self-contained with the packages they need. |
Beta Was this translation helpful? Give feedback.
From your description, it seems that the Django installation that the
manage.py
belongs to belongs to a different, earlier env than the one you mentioned here.If that's so, you need make sure the right env is selected when you work with the
manage.py
.