pycharm安装dotenv时出错--_deprecatedinstaller: setuptools.installer and fet ch_build_eggs are deprecated

📅 2026/7/22 14:07:38 👁️ 阅读次数 📝 编程学习
pycharm安装dotenv时出错--_deprecatedinstaller: setuptools.installer and fet ch_build_eggs are deprecated

安装dotenv时出现

其中_deprecatedinstaller: setuptools.installer and fet ch_build_eggs are deprecated.意思是一部分函数已经不用了

最后成功的操作:pip install -U Python-dotenv (不知道为什么就可以了)

尝试过的操作(可能有用的):

pip install --upgrade setuptools (更新)

pip install -i https://pypi.tuna.tsinghua.edu.cn/simple 包名 (用清华源下载)