首页 > 解决方案 > 在 PyCharm 上安装 Python 打包工具失败

问题描述

当我尝试在 PyCharm 中安装 python 打包工具时,我不断收到此错误:

running install
running bdist_egg

error: error in 'egg_base' option: 'src' does not exist or is not a directory

我不确定这意味着什么或它在做什么,但我尝试创建新目录,src但不是 100% 确定在哪里创建它。如果您还需要什么,请告诉我。我正在使用 Manjaro Linux 内核 4.19。

标签: pythonpycharm

解决方案


尝试运行此命令,您应该能够在 Pycharm 中安装打包工具:

sudo apt install python3-pip

如果您在 Pycharm 中使用 Python3 解释器,请注意安装 python3-pip。

它真的对我有用。


推荐阅读