Uploaded image for project: 'Funtoo Linux'
  1. Funtoo Linux
  2. FL-21

virtualenvwrapper error ImportError: No module named virtualenvwrapper.hook_loader

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • None
    • None
    • None
    • Funtoo Current on Lenovo Thinkpad T420 with Corei5 (Sandy Ridge), bash 4.2_p24, Python (2.7 and 3.2 in slots), virtualenv1.7.1.2-r1000 and virtualenvwrapper-3.2

      I emerged virtualenv and virtualenvwrapper, then added the following lines to my .bashrc:

      export WORKON_HOME=$HOME/.virtualenvs
      source /usr/bin/virtualenvwrapper.sh

      When .bashrc is sourced, I get the error:

      Traceback (most recent call last):
        File "<string>", line 1, in <module>
      ImportError: No module named virtualenvwrapper.hook_loader
      virtualenvwrapper.sh: There was a problem running the initialization hooks. If Python could not import the module virtualenvwrapper.hook_loader, check that virtualenv has been installed for VIRTUALENVWRAPPER_PYTHON=/usr/bin/python3.2 and that PATH is set properly.

            Unassigned Unassigned
            hedgemage Susan Stewart
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: