Hi Paul OK I think I see the reason why the readline installed by miniconda3 is not available on my OS (Ubuntu 18.04.1 LTS):
ian@ian-VPCF24C5E:~> python Python 3.6.5 |Anaconda, Inc.| (default, Apr 29 2018, 16:14:56) [GCC 7.2.0] on linux Type "help", "copyright", "credits" or "license" for more information. Traceback (most recent call last): File "/home/ian/.python_startup", line 3, in <module> import readline ImportError: libncursesw.so.6: cannot open shared object file: No such file or directory There is no libncursesw.so.6 in Ubuntu 18.04.1 LTS: it's version 5. Version 6 was added in 18.10 but that's not LTS so I'm not inclined to upgrade just for this. But yes ipython is the way to go (I must wean myself off the command line!). Cheers -- Ian On Thu, 20 Sep 2018 at 08:59, Paul Emsley <pems...@mrc-lmb.cam.ac.uk> wrote: > On 18/09/2018 19:45, Ian Tickle wrote: > > Hi all, I'm finding that the line recall/edit function is broken in the > Python 3.6.5 interpreter from > > miniconda3 installation of RDKit, i.e. the arrow keys just type out the > escape sequences. > > > > If I use miniconda2 instead it's fine. Also line recall/edit works in > the system (Kubuntu 18.04.1) versions > > of Python 2.7.15 and Python 3.6.5. > > > > Presumably some customisation of the Python version installed by > miniconda3 is required? > > Hello Ian, > > Do you want/need readline? > > https://docs.python.org/3.6/library/readline.html > > I use IPython for the command line, FWIW. > > Paul. > > > _______________________________________________ > Rdkit-discuss mailing list > Rdkit-discuss@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/rdkit-discuss >
_______________________________________________ Rdkit-discuss mailing list Rdkit-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rdkit-discuss