7

I am a first time user of of Anaconda & Miniconda suite and I have been having problems running code using it. Every time I try to run a python script in Anaconda or miniconda it comes up with this issue:

/miniconda3/lib/libtinfo.so.6: no version information available (required by /bin/bash)
/anaconda3/lib/libtinfo.so.6: no version information available (required by /bin/bash)

I have looked in all the help documents and in my directory and the file is there and symlink to both libtinfo.so.6.2 and libtinfo.so.6

Any suggestions would be appreciated.

muru
  • 207,228

2 Answers2

8

I stumbled across the same problem.

Here is some relevant information about what is happening: https://stackoverflow.com/a/38851073
It seems that the libtinfo shared library shipped with conda does not provide its version information. So it's a problem on their end.

I was able to workaround the problem by using another shared library of the same libtinfo.so with the same version as the one shipped with conda and that contains the version information.
For instance in my case:

rm ${CONDA_PREFIX}/lib/libtinfo*
ln -s /lib/x86_64-linux-gnu/libtinfo.so.6 ${CONDA_PREFIX}/lib/libtinfo.so.6
0

To get libtinfo.so.6 library installed you have to install single package by

sudo apt-get install libtinfo6

and then retry launching Conda.

N0rbert
  • 103,263