FS#21367 - [python-virtualenvwrapper] needs updating

Attached to Project: Community Packages
Opened by Adam Russell (a1russell) - Wednesday, 20 October 2010, 16:52 GMT
Last edited by Evangelos Foutras (foutrelis) - Wednesday, 20 October 2010, 20:21 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Evangelos Foutras (foutrelis)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
python-virtualenvwrapper needs to be updated for the python3->python change.

Additional info:
* package version(s): python-virtualenvwrapper 2.5.2-2
* config and/or log files etc.:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/lib/python2.7/site-packages/virtualenvwrapper/hook_loader.py", line 16, in <module>
import pkg_resources
ImportError: No module named pkg_resources
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/python2 and that PATH is set properly.


Steps to reproduce:
source /usr/bin/virtualenvwrapper.sh
This task depends upon

Closed by  Evangelos Foutras (foutrelis)
Wednesday, 20 October 2010, 20:21 GMT
Reason for closing:  Not a bug
Comment by Evangelos Foutras (foutrelis) - Wednesday, 20 October 2010, 19:06 GMT
Do you have a fully updated system? (That would be setuptools 0.6c11-3 and python-virtualenv 1.5.1-2.)
Comment by Adam Russell (a1russell) - Wednesday, 20 October 2010, 19:34 GMT
python-distribute 0.6.14-3 and python-virtualenv 1.5.1-2. It seems that the python-distribute package hasn't been updated yet...
Comment by Evangelos Foutras (foutrelis) - Wednesday, 20 October 2010, 19:42 GMT
Ah, that explains it; python-distribute needs to be updated as well.

If you don't have a specific need for python-distribute, I would suggest replacing it with setuptools. Otherwise, you could try rebuilding python-distribute after changing that 'python2.6' it references during in the build() function to 'python2.7'.

If you agree, I'll close this bug as it's not an issue with python-virtualenvwrapper.
Comment by Adam Russell (a1russell) - Wednesday, 20 October 2010, 20:08 GMT
That's fine; thanks for the quick response!

Loading...