Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2.4.0 rpy2 issue #38

Open
hardingnj opened this issue Oct 7, 2016 · 5 comments
Open

2.4.0 rpy2 issue #38

hardingnj opened this issue Oct 7, 2016 · 5 comments

Comments

@hardingnj
Copy link

get_ipython().magic('reload_ext rpy2.ipython')

Generates an error.

/anaconda/envs/science/lib/python3.5/site-packages/rpy2/ipython/rmagic.py in load_ipython_extension(ip)
786 # Initialising rpy2 interferes with readline. Since, at this point, we've
787 # probably just loaded rpy2, we reset the delimiters. See issue gh-2759.
--> 788 if ip.has_readline:
789 ip.readline.set_completer_delims(ip.readline_delims)

AttributeError: 'ZMQInteractiveShell' object has no attribute 'has_readline'

@alimanfoo
Copy link
Contributor

FWIW I think both Chris C and I have seen something like this and have been
avoiding using rpy2.

On Friday, October 7, 2016, Nick Harding notifications@github.com wrote:

get_ipython().magic('reload_ext rpy2.ipython')

Generates an error.

/anaconda/envs/science/lib/python3.5/site-packages/rpy2/ipython/rmagic.py
in load_ipython_extension(ip)
786 # Initialising rpy2 interferes with readline. Since, at this point,
we've
787 # probably just loaded rpy2, we reset the delimiters. See issue
gh-2759.
--> 788 if ip.has_readline:
789 ip.readline.set_completer_delims(ip.readline_delims)

AttributeError: 'ZMQInteractiveShell' object has no attribute
'has_readline'


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#38, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAq8QhDMakwjj0NGtpT1KRvMsmrWrp5xks5qxmi7gaJpZM4KRLLN
.

Alistair Miles
Head of Epidemiological Informatics
Centre for Genomics and Global Health http://cggh.org
The Wellcome Trust Centre for Human Genetics
Roosevelt Drive
Oxford
OX3 7BN
United Kingdom
Email: alimanfoo@googlemail.com
Web: http://purl.org/net/aliman
Twitter: https://twitter.com/alimanfoo
Tel: +44 (0)1865 287721

@hardingnj
Copy link
Author

hardingnj commented Jan 31, 2017

Will leave this open for now until we see how updated rpy2 behaves in 2.5.0

@alimanfoo
Copy link
Contributor

alimanfoo commented Jan 31, 2017 via email

@alimanfoo
Copy link
Contributor

alimanfoo commented Jan 31, 2017 via email

@alimanfoo
Copy link
Contributor

This is what I'm getting locally:

(biipy_20170126_py35) aliman@uluru:~$ python -m rpy2.tests
Traceback (most recent call last):
  File "/home/aliman/miniconda3/envs/biipy_20170126_py35/lib/python3.5/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/aliman/miniconda3/envs/biipy_20170126_py35/lib/python3.5/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/home/aliman/miniconda3/envs/biipy_20170126_py35/lib/python3.5/site-packages/rpy2/tests.py", line 23, in <module>
    import rpy2.tests_rpy_classic
  File "/home/aliman/miniconda3/envs/biipy_20170126_py35/lib/python3.5/site-packages/rpy2/tests_rpy_classic.py", line 3, in <module>
    import rpy2.rpy_classic as rpy
  File "/home/aliman/miniconda3/envs/biipy_20170126_py35/lib/python3.5/site-packages/rpy2/rpy_classic.py", line 5, in <module>
    import rpy2.rinterface as ri
  File "/home/aliman/miniconda3/envs/biipy_20170126_py35/lib/python3.5/site-packages/rpy2/rinterface/__init__.py", line 92, in <module>
    from rpy2.rinterface._rinterface import (baseenv,
ImportError: libicuuc.so.54: cannot open shared object file: No such file or directory

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants