Linux: Tab completion and other interactivity problems within Python / IPython prompt

For Linux Users:

On versions of Canopy <= 1.3, users may experience problems at the Python / IPython prompt launched from the terminal, such as odd behavior with tab completion or using the arrow keys. We have fixed this problem in the next release, so please update to Canopy 1.4 (due out in late April). If you've updated from an older version and do not recreate your User environment, you must install the gnureadline package from Canopy's Package Manager.

In the meantime, if running the command python -c 'import readline' gives you the following output:

Traceback (most recent call last):
  File "<string>", line 1, in <module>
ImportError: libreadline.so.5: cannot open shared object file: No such file or directory

then you will need to install the older libreadline library for your system. On Ubuntu/Kubuntu it is libreadline5 , on Fedora it is compat-readline5

Have more questions? Submit a request

Comments

Powered by Zendesk