You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Harshith Pabbati edited this page Oct 5, 2019
·
6 revisions
Commonly Encountered Errors
Database related errors
python manage.py makemigrations attendance activity college members status tasks registration
Installing Python Virtual Environment using VirtualEnvWrapper
After installing python virtual environment, you may encounter the following errors
/usr/local/bin/python: No module named virtualenvwrapper
This occurs when you install virtualenv using pip3 install virtualenvwrapperwithout sudo. The installation instead of installing the virtualenvwrapper in the /usr/local/bin directory, installs it in the ~/.local/bin/virtualenvwrapper.sh.
/usr/local/bin/python: No module named virtualenvwrapper virtualenvwrapper.sh: There was a problem running the initialization hooks.
If Python could not import the module virtualenvwrapper.hook_loader, check that virtualenvwrapper has been installed for VIRTUALENVWRAPPER_PYTHON=/usr/local/bin/python and that PATH is set properly.
This is likely because your python path is not correctly configured. It should be fixed by adding VIRTUALENVWRAPPER_PYTHON=/usr/bin/python3 to your .bashrc