Pycharm - Python packaging tools not found

社会主义新天地 提交于 2019-12-20 16:24:12

问题


I'm trying to install packages in Pycharm for python3.5 interpreter. It says,

Python packaging tools not found. Install packaging tools.

But when I try to install, It gives this error.

AttributeError: module 'setuptools.dist' has no attribute 'check_specifier'

I'm using Ubuntu 16.04.2, Pycharm Community edition 2017.1.1


回答1:


Run this command and you should be able to install the packaging tools in Pycharm:

sudo apt install python3-pip

It's python3-pip, not python-pip if you are using the Python3 interpreter.



来源:https://stackoverflow.com/questions/43567996/pycharm-python-packaging-tools-not-found

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!