glennhickey / progressiveCactus

Distribution package for the Prgressive Cactus multiple genome aligner. Dependencies are linked as submodules
Other
80 stars 26 forks source link

virtualenv problem #62

Open Imoteph opened 8 years ago

Imoteph commented 8 years ago

Hi

I had an issue with the sub-module virtualenv producing following error during installation:

The important bit is here: File "/usr/lib/python2.7/_sysconfigdata.py", line 6, in from _sysconfigdata_nd import * ImportError: No module named _sysconfigdata_nd

Solution for me was to modify the Make file in the sub-module folder to call the system wide installed version of virtualenv (newest version)

Just as an notification if someone else has a similar problem

cooketho commented 7 years ago

Thanks! Using Ubuntu 16.04 I experienced the same problem. Changed line 19: python $(PWD)/virtualenv/virtualenv.py ${virtPyDir} to virtualenv ${virtPyDir} and that fixed it.

grayfall commented 7 years ago

This issue requires a different fix on Ubuntu 14.04 if you use the system's Python 2.7 installation. There is stackoverflow thread about it. Putting the solution here for the sake of convenience

sudo ln -s /usr/lib/python2.7/plat-*/_sysconfigdata_nd.py /usr/lib/python2.7/
sudo pip install --upgrade virtualenv