ImportError: No module named posixpath

 

ImportError: No module named posixpath

If you got the python error message:

ImportError: No module named posixpath

Please run the command below:

virtualenv --version

If you have the version: virtualenv 20.4.3 that might be your problem.

To fix the problem I deleted my old environment and ran commands below

pip install virtualenv==16.7.7
virtualenv -p python2 venv
source venv/bin/activate

Different version of the virtualenvseems can fix the problem.

Install all packages that you need.

Hope this helped!

Comments