Hi,

This is looking like might have not un-installed it properly prior to 
installing rpy2-2.1 (as the new __init__.py was trying to call the old 
C-level module).

Did you follow those guidelines ?

http://rpy.sourceforge.net/rpy2/doc-2.1/html/overview.html#upgrading-from-an-older-release-of-rpy2



L.



On 2/13/10 2:43 PM, zahra sheikhbahaee wrote:
> Hi,
>
> I had in my Kubuntu(linux) rpy '2.0.4' . I un-installed it and then I
> installed version rpy2.1.0alpha3 by this command :
>   sudo python setup.py build install
>
> It seems that I could install it successfully but when I write this
> command :
> import rpy2.robjects.tests
>
> I get this reply :
> Traceback (most recent call last):
>    File "<stdin>", line 1, in <module>
>    File
> "/usr/local/lib/python2.6/dist-packages/rpy2/robjects/__init__.py", line
> 12, in <module>
>      import rpy2.rinterface as rinterface
>    File
> "/usr/local/lib/python2.6/dist-packages/rpy2/rinterface/__init__.py",
> line 128, in <module>
>      set_writeconsole(consolePrint)
> NameError: name 'set_writeconsole' is not defined
>
> I could not find what would be the problem by my installing procedure.
>
> Zahra.
>
>
>
> ------------------------------------------------------------------------------
> SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
> Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
> http://p.sf.net/sfu/solaris-dev2dev
>
>
>
> _______________________________________________
> rpy-list mailing list
> rpy-list@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/rpy-list


------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list

Reply via email to