Ubuntu安装pycharm报python package tools not found错误

在settings的Project Interpreter界面,右侧的加号是灰色的,下面提示Python packaging tools not found. Install packaging tools

 

è¿éåå¾çæè¿°

 ------>网上说因为ubuntu安装的python默认是python2,而我电脑上的Pycharm是python3,用2的下载工具下载3的包会出现模块没办法导入等问题,所以

sudo apt install python3-pip

又出现了问题:

The following packages have unmet dependencies:
 python3-pip : Depends: python-pip-whl (= 9.0.1-2.3~ubuntu1) but 9.0.1-2.3~ubuntu1.18.04.1 is to be installed
               Recommends: python3-wheel but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

解决办法详见:https://blog.csdn.net/supercooly/article/details/50976358

 

 

 

 

 

 

 

 

 

你可能感兴趣的:(Ubuntu安装pycharm报python package tools not found错误)