Pycharm - 找不到 Python 打包工具 [英] Pycharm - Python packaging tools not found

查看:2261
本文介绍了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 打包工具的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆