Understanding OS Errors in the conda Command

Asked 2 years ago, Updated 2 years ago, 71 views

We use anaconda to handle python environments.
When I tried to downgrade some libraries on shell, I entered the following command:

conda list

An error has occurred.

The error message is as follows:

OSError: libiconv.so.2:cannot open shared object file:No such file or directory

I tried to find a solution, but it didn't work.
I'm very sorry, but if you know how to solve this problem, please let me know.

  • python 3.6.8
  • Ubuntsu 16.04 LTS (Xenial Xerus)
  • anaconda 4.7.5

python python3 linux ubuntu anaconda

2022-09-29 22:51

1 Answers

There seems to be no libiconv shared object, so why don't you put libiconv in conda?

conda install-conda-forge libiconv

Ref: https://stackoverflow.com/questions/41775441/chef-installing-uwsgi-libiconv-so-2-no-such-file-or-directory


2022-09-29 22:51

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.