Windows - Pycharm - 安装python打包工具失败 [英] Windows - Pycharm - Failed to install python packaging tools

查看:792
本文介绍了Windows - Pycharm - 安装python打包工具失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

尝试在 Pycharm 中为 Python 3.6 解释器安装软件包时,我得到

In trying to install packages in Pycharm for the Python 3.6 interpreter, I get

Python packaging tools not found. *Install packaging tools*

当我尝试安装它时出现此错误

And when I tried to install it gives me this error

Traceback (most recent call last):
  File "C:\Program Files\JetBrains\PyCharm Community Edition 
2017.3.1\helpers\packaging_tool.py", line 2, in <module>
    import traceback
ModuleNotFoundError: No module named 'traceback'

我使用的是 Pycharm 2017.3.1 社区版

I'm using Pycharm 2017.3.1 Community Edition

推荐答案

来自 pycharm,

转到settings -> project Interpreter

点击右上角的+按钮,您将看到可用包的弹出窗口.然后搜索packaging python package.

Click on + button on top right corner and you will get pop-up window of Available packages. Then search for packaging python package.

然后点击安装包来安装包.

Then click on Install package to install the package.

这篇关于Windows - Pycharm - 安装python打包工具失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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