0

I see This error when i open terminal. It occur after my failure in installing open cv and pandas on my computer.

In this image the error is

/home/ujjwal/anaconda3/bin/python: 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=/home/ujjwal/anaconda3/bin/python and that PATH is set properly.

How i Solve this?

Ujjwal Kar
  • 21
  • 6
  • can you please copy and paste it into your question? – George Udosen Jan 22 '20 at 19:53
  • 1
    Posting images of text is discouraged. Properly formatted (with the `{}` button) copy-and-paste of the command and error message is what we need. – waltinator Jan 22 '20 at 19:55
  • /home/ujjwal/anaconda3/bin/python: 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=/home/ujjwal/anaconda3/bin/python and that PATH is set properly. – Ujjwal Kar Jan 22 '20 at 20:01
  • @UjjwalKar please [edit] your question and include that information, instead of posting it in a difficult to read comment. – Organic Marble Jan 22 '20 at 20:46

1 Answers1

0

My first suggestion would be to do a clean uninstall of anaconda and reinstall.

But if that's not possible

you need to install the virtualenvwrapper package, but specifically with the pip associated with the base anaconda python

~/anaconda3/bin/pip install virtualenvwrapper

If that installation fails, then there's something really broken with your anaconda installation, you need to wipe it and start over

iggy12345
  • 76
  • 3
  • 14