0
点赞
收藏
分享

微信扫一扫

pip安装python包出错:Could not find a version that satisfies the requirement psutil

菜头粿子园 2021-09-22 阅读 88
日记本

报错

ubuntu@ubuntu-virtual-machine:~$ sudo pip3 install psutil
ERROR: Could not find a version that satisfies the requirement psutil (from versions: none)
ERROR: No matching distribution found for psutil

原因:网络问题

解决:更换网络连接,改连其他WiFi

成功安装

ubuntu@ubuntu-virtual-machine:~$ sudo pip3 install psutil
Collecting psutil
  Downloading psutil-5.7.3.tar.gz (465 kB)
     |████████████████████████████████| 465 kB 44 kB/s 
Building wheels for collected packages: psutil
  Building wheel for psutil (setup.py) ... done
  Created wheel for psutil: filename=psutil-5.7.3-cp38-cp38-linux_x86_64.whl size=294716 sha256=fb19a5a8a0b8370b263b0d65e5c9bb9f1b8b08d1d800f5fe3c793584a817effb
  Stored in directory: /root/.cache/pip/wheels/f6/59/c2/38111ef4c354088a156bc95fbeb5396c0cac91a0f62f7158b9
Successfully built psutil
Installing collected packages: psutil
Successfully installed psutil-5.7.3
举报

相关推荐

0 条评论