Hi,

The issue is presumably on Enthought's side.
Rpy2 is linking to R, which itself can link to the system's BLAS (not
mandatory, R can also compile its own BLAS).

L.
On Jan 13, 2014 12:42 AM, "Kayhan Batmanghelich" <kay...@csail.mit.edu>
wrote:

> Dear All,
>
> I have some difficulties installing rpy2 for python Enthought (Canopy). I
> have posted my question online 4 days ago on the StackOverFlow but have not
> received any answer. I was wondering if expert here can help:
>
>
> I tried to install rpy2 on Enthought Canopy using pip (on Ubuntu 12.04).
> The package seems to install successfully but when I try to import it:
>
>     In [1]: from rpy2.rinterface._rinterface import *
>
> ---------------------------------------------------------------------------
>     ImportError                               Traceback (most recent call
> last)
>     <ipython-input-1-e2e1fe174266> in <module>()
>     ----> 1 from rpy2.rinterface._rinterface import *
>
>
> /home/kayhan/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/rpy2-2.3.8-py2.7-linux-x86_64.egg/rpy2/rinterface/__init__.py
> in <module>()
>          99
>         100
>     --> 101 from rpy2.rinterface._rinterface import *
>         102
>         103
>
>     ImportError:
> /home/kayhan/Enthought/Canopy_64bit/User/bin/../lib/libgfortran.so.3:
> version `GFORTRAN_1.4' not found (required by /usr/lib/libblas.so.3gf)
>
>
>
> It seems that the rpy2 is linked to gfortran libraries of the system while
> Enthought tries to load its own FORTRAN libraries. Similar issue was
> reported [1] but I don't LD_PRELOAD is a decent solution because what is
> the point of shipping Enthought FORTRAN libraries!?
>
>
> Any comments is appreciated,
>
> Thanks,
> Kayhan
>
>   [1]:
> http://stackoverflow.com/questions/20817347/how-to-install-cvxopt-with-enthought-python-canopy
>
>
>
>
> ------------------------------------------------------------------------------
> CenturyLink Cloud: The Leader in Enterprise Cloud Services.
> Learn Why More Businesses Are Choosing CenturyLink Cloud For
> Critical Workloads, Development Environments & Everything In Between.
> Get a Quote or Start a Free Trial Today.
>
> http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
> _______________________________________________
> rpy-list mailing list
> rpy-list@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/rpy-list
>
>
------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list

Reply via email to