运行“ conda install conda”后,yum和dnf损坏

时间:2018-09-06 17:25:52

标签: anaconda fedora yum dnf

我正在Fedora 27上的python3中工作,我正在尝试安装anaconda。运行conda install conda之后,yum和dnf都坏了。现在我收到以下错误。

Traceback (most recent call last):
  File "/usr/bin/dnf", line 57, in <module>
    from dnf.cli import main
  File "/usr/lib/python3.6/site-packages/dnf/cli/__init__.py", line 30, in <module>
    from dnf.cli.cli import Cli  # :api
  File "/usr/lib/python3.6/site-packages/dnf/cli/cli.py", line 27, in <module>
    from . import output
  File "/usr/lib/python3.6/site-packages/dnf/cli/output.py", line 29, in <module>
    import dnf.cli.progress
  File "/usr/lib/python3.6/site-packages/dnf/cli/progress.py", line 19, in <module>
    from dnf.cli.term import _term_width
  File "/usr/lib/python3.6/site-packages/dnf/cli/term.py", line 21, in <module>
    import curses
  File "/usr/lib/python3.6/curses/__init__.py", line 13, in <module>
    from _curses import *
ImportError: libncursesw.so.5: cannot open shared object file: No such file or directory

有人可以帮助我吗?

0 个答案:

没有答案