[Chicago] virtualenv not showing installed packages

Oren Livne livne at uchicago.edu
Wed Sep 26 19:30:13 CEST 2012


I solved this problem by removing the standard python installation paths 
from PYTHONPATH. So numpy, networkx were installable. But problems 
installing scipy. After compiling BLAS and LAPACK from sources (BLAS 
with -fPIC) I am getting

pip install scipy --upgrade
...
/usr/bin/ld: /cchome/livne/python/src/BLAS/libfblas.a(daxpy.o): 
relocation R_X86_64_32 against `a local symbol' can not be used when 
making a shared object; recompile with -fPIC

/cchome/livne/python/src/BLAS/libfblas.a: could not read symbols: Bad value

Any ideas?

Thanks!
Oren

On 09/26/2012 11:22 AM, Oren Livne wrote:
> Dear All,
>
> I'm trying to configure my python environment called "ober" in a 
> cluster machine. I did the following:
> - downloaded virtualenv.py
> - virtualenv.py ober
> - . ober/bin/activate
> - pip install numpy --upgrade (installed 1.6.2)
>
> However, the numpy version is still shown as 1.5.1, because
>
> (ober)[livne at ibicluster python]$ echo $PYTHONPATH
> /clusta/livne/ober/util:/clusta/livne/ober/impute:/clusta/livne/ober/network:/clusta/livne/ober/famplot:/apps/rhel5/x86_64/MACS/MACS-1.4.2/bin1/lib/python2.7/site-packages:/apps/rhel5/x86_64/Python/Python-2.7.1/lib/python2.7/site-packages:/apps/rhel5/x86_64/CEAS/CEAS-Package-1.0.2/lib/python2.7/site-packages 
>
>
> does not include my virtualenv's site-packages directory, even though
>
> (ober)[livne at ibicluster python]$ which python
> /cihome3/livne/python/ober/bin/python
>
> Any advice?
> Thanks so much,
> Oren



More information about the Chicago mailing list