python - 无法安装 python3-setuptools
问题描述
我正在使用 python 3.4.3。
当我尝试在终端上运行此代码时(一旦我已经在相应的文件夹中)
pip3 install python3-setuptools
我收到此错误消息:
Collecting python3-setuptools
Could not find a version that satisfies the requirement python3 setuptools (from versions: ) No matching distribution found for python3-setuptools
谁能帮我解决这个问题?
解决方案
你不能安装python3-setuptools
——pip
没有这样的 pip 可安装包:https ://pypi.org/project/python3-setuptools/——错误 404。在 python 生态系统中,该包被简单地称为setuptools。
python3-setuptools
是 Debian/Ubuntu 软件包系统中的软件包名称:
https://packages.debian.org/search?keywords=python3-setuptools&searchon=names&suite=stable§ion=all
https://packages.ubuntu.com/search?keywords=python3-setuptools&searchon=names&suite=bionic§ion=all
因此,您可以使用apt install python3-setuptools
或安装它pip3 install setuptools
。
推荐阅读
- angular5 - ngx-translate 访问不同端口的 json 文件
- java - 加载插页式广告时应用程序崩溃
- ios - Apprtc在公网iOS中不起作用
- c# - WCF 安全标签不在肥皂消息中
- angular5 - 如何在角度 5 中使用 pathlocationstrategy 设置基本 href 或 APP_BASE_HREF?
- salt-stack - salt-api 失败
- android - 无法在我的应用程序中更改启动画面的主题?
- android - RecyclerView 网格中的中心项目
- spring - 临时上传位置[/tmp/tomcat.4296537502689403143.5000/work/Tomcat/localhost/ROOT]无效
- r - 加权。R中的平均误差