I have some problems with python and import errors. whenever I open the terminal, before entering any commands I get this:
/Library/Frameworks/Python.framework/Versions/3.6/bin/python3:
Error while finding module specification for
'virtualenvwrapper.hook_loader' (ModuleNotFoundError: 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=/Library/Frameworks/
Python.framework/Versions/3.6/bin/python3 and that PATH is
set properly.
also when I type python
in the terminal I get this error:
ImportError: No module named site
I don't know why, but I get this every time that I want to install a package with pip