Pycharm - Python packaging tools not found(Pycharm - 未找到 Python 打包工具)
问题描述
我正在尝试在 Pycharm 中为 python3.5 解释器安装包.它说,
I'm trying to install packages in Pycharm for python3.5 interpreter. It says,
未找到 Python 打包工具.安装打包工具.
Python packaging tools not found. Install packaging tools.
但是当我尝试安装时,它给出了这个错误.
AttributeError: module 'setuptools.dist' has no attribute 'check_specifier'
我使用的是 Ubuntu 16.04.2,Pycharm 社区版 2017.1.1
I'm using Ubuntu 16.04.2, Pycharm Community edition 2017.1.1
推荐答案
运行这个命令,你应该可以在 Pycharm 中安装打包工具了:
Run this command and you should be able to install the packaging tools in Pycharm:
sudo apt install python3-pip
如果您使用的是 Python3 解释器,则它是 python3-pip,而不是 python-pip.
It's python3-pip, not python-pip if you are using the Python3 interpreter.
这篇关于Pycharm - 未找到 Python 打包工具的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:Pycharm - 未找到 Python 打包工具


基础教程推荐
- Kivy 使用 opencv.调整图像大小 2022-01-01
- 在 Django Admin 中使用内联 OneToOneField 2022-01-01
- matplotlib 设置 yaxis 标签大小 2022-01-01
- kivy 应用程序中的一个简单网页作为小部件 2022-01-01
- Python 中是否有任何支持将长字符串转储为块文字或折叠块的 yaml 库? 2022-01-01
- 对多索引数据帧的列进行排序 2022-01-01
- 究竟什么是“容器"?在蟒蛇?(以及所有的 python 容器类型是什么?) 2022-01-01
- Python,确定字符串是否应转换为 Int 或 Float 2022-01-01
- 比较两个文本文件以找出差异并将它们输出到新的文本文件 2022-01-01
- 在 Python 中将货币解析为数字 2022-01-01