Skip to content
This repository has been archived by the owner on Sep 19, 2024. It is now read-only.

Installation

Abhishek Bvs edited this page Aug 24, 2019 · 6 revisions

Commonly Encountered Errors

Database related errors

python manage.py makemigrations activity members status tasks

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 virtualenvwrapper without 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

Refer to this blog post for more details - Installing Virtualenvwrapper for Python 3 by gitudaniel

Clone this wiki locally