Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 441846 - dev-python/virtualenvwrapper-3.6 - should depend on virtualenv-clone and stevedore
Summary: dev-python/virtualenvwrapper-3.6 - should depend on virtualenv-clone and stev...
Status: RESOLVED DUPLICATE of bug 440806
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-05 10:15 UTC by Cezary Statkiewicz
Modified: 2012-11-05 12:22 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Cezary Statkiewicz 2012-11-05 10:15:56 UTC
Virtualenvwrapper requires additional python packages to run:
https://bitbucket.org/dhellmann/virtualenvwrapper/src/002a0ccdcc7aea6ecee76685425bccbbe1b45bfa/setup.py?at=3.6#cl-147

Packages virtualenv-clone and stevedore aren't provided by Gentoo yet.

Because of that, virtualenvwrapper won't work properly and there's an error message when entering vew-enabled shell:

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib64/python2.7/site-packages/virtualenvwrapper/hook_loader.py", line 16, in <module>
    from stevedore import ExtensionManager
ImportError: No module named stevedore
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/python and that PATH is
set properly.


Temporary fix is to install those two packages by hand as root:

su -c 'pip install virtualenv-clone stevedore'

Reproducible: Always

Steps to Reproduce:
1. Install virtualenvwrapper-3.6
2. Open terminal
3. Observe errors
Actual Results:  
Python traceback in terminal, loss of virtualenvwrapper functionality

Expected Results:  
No trackeback in terminal, working virtualenvwrapper
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2012-11-05 12:22:36 UTC

*** This bug has been marked as a duplicate of bug 440806 ***