[Chicago] virtualenv not showing installed packages

Daniel Peters danieltpeters at gmail.com
Wed Sep 26 19:50:41 CEST 2012


I've had a fair amount of hair pulling afternoons getting BLAS and LAPACK
and scipy et al to play nicely.  It usually takes a couple of hours of
fixing environment variables, paths. etc.  for whatever thats worth.  What
OS are you using?

On Wed, Sep 26, 2012 at 12:30 PM, Oren Livne <livne at uchicago.edu> wrote:

> 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
>>
>
> ______________________________**_________________
> Chicago mailing list
> Chicago at python.org
> http://mail.python.org/**mailman/listinfo/chicago<http://mail.python.org/mailman/listinfo/chicago>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/chicago/attachments/20120926/b2f25ff2/attachment.html>


More information about the Chicago mailing list