I had a problem like this, until I realized that (long before I had discovered virtualenv), I had gone adding directories to the PYTHONPATH in my .bashrc file. As it had been over a year beforehand, I didn’t think of that straight away.
More Related Contents:
- No module named pkg_resources
- What is a virtualenv, and why should I use one?
- How do I update/upgrade pip itself from inside my virtual environment?
- What is the easiest way to remove all packages installed by pip?
- “Cannot open include file: ‘config-win.h’: No such file or directory” while installing mysql-python
- Renaming a virtualenv folder without breaking it
- pip installing in global site-packages instead of virtualenv
- How to install psycopg2 with “pip” on Python?
- PyCharm doesn’t recognise installed module
- Problems with pip install numpy – RuntimeError: Broken toolchain: cannot link a simple C program
- ImportError: No module named Crypto.Cipher
- How to get “python -m venv” to directly install latest pip version
- How to uninstall a package installed with pip install –user
- Upgrade python in a virtualenv
- How to install a package inside virtualenv?
- Difference between ‘python setup.py install’ and ‘pip install’
- How to specify install order for python pip?
- Illegal instruction (core dumped) after running import tensorflow
- How to install virtualenv without using sudo?
- PyCharm doesn’t recognize installed module
- How to avoid “Permission denied” when using pip with virtualenv
- Where does pip install its packages?
- Is that a bad idea to use conda and pip install on the same environment?
- How do I remove all packages installed by pip?
- virtualenv: Specifing which packages to use system-wide vs local [duplicate]
- Could not build wheels for _ which use PEP 517 and cannot be installed directly – Easy Solution
- Python packages not installing in virtualenv using pip
- Could not find a version that satisfies the requirement for select requirements
- What is the difference between pyenv, virtualenv, anaconda?
- pip: Could not find an activated virtualenv (required)