My python3.7 paths are corrupted. As I ended up installing apt and pip3 packages, from virtualenv, wrapper, django. Which is bad practice to install from pip3. I didn't back the files up properly. It ended causing issues in the venv directory and on PyCharm IDE. I tried uninstalling the third version of virtualenv and django. Which didn't make a difference.
So essentially revert Python3.7 to to it's original state, no extra packages installed etc. Terminal:
python3 >>> import sys >>> sys.path ['', '/usr/lib/python37.zip', '/usr/lib/python3.7', '/usr/lib/python3.7/lib-dynload', '/home/name/.local/lib/python3.7/site-packages', ' /usr/local/lib/python3.7/dist-packages', '/usr/lib/python3/dist-packages'] 1 Answer
You have only one path to delete.
Here is what a stock install looks like:
>>> import sys >>> sys.path [ '', '/usr/lib/python37.zip', '/usr/lib/python3.7', '/usr/lib/python3.7/lib-dynload', '/usr/local/lib/python3.7/dist-packages', '/usr/lib/python3/dist-packages' ] 2