简体   繁体   中英

Unable to install dns with pip after upgrading pip

Log speaks for itself. I ran pip and it said I needed to upgrade it, so I did. Now I still can't install dns.

~/electrum/python electrum
Error: No module named 'dns'. Try 'sudo pip install <module-name>'
~/electrum/pip install dns
Collecting dns
  Could not find a version that satisfies the requirement dns (from versions: )
No matching distribution found for dns
~/electrum/git log
commit c8e67e2bd07efe042703bc1368d499c5e555f854 (HEAD -> master, origin/master, origin/HEAD)
Author: ThomasV <thomasv@electrum.org>

似乎您需要“ dnspython”软件包,该软件包是通过“ dns”名称导入的,这就是为什么您无法获得名为“ dns”消息的模块的原因:)试试这个

pip install dnspython

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM