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 打包工具
基础教程推荐
- numpy float:比算术运算中内置的慢 10 倍? 2022-01-01
- 使用生成器和迭代器时 Python 多循环失败 2022-01-01
- Discord.py 缺少必需的参数 2022-01-01
- 由Python将MP3转换为MIDI(类型错误:无法加载插件:mtg-Melodia:Melodia) 2022-01-01
- 用 Python 编写 Fortran 无格式文件 2022-01-01
- 尝试制作WhatsApp机器人 2022-01-01
- 将 x 轴刻度更改为自定义字符串 2022-01-01
- 与常规 dict 相比,Python manager.dict() 非常慢 2022-01-01
- 在 Celery 工作人员中捕获 Heroku SIGTERM 以优雅地关 2022-01-01
- pyserial - 可以从线程 a 写入串行端口,是否阻塞从线程 b 读取? 2022-01-01
