Pycharm - Python packaging tools not found

2020-05-31 04:51发布

问题:

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.