有人可以帮助我吗?我正在运行一些 python 脚本,发现以下警告:
Traceback (most recent call last):
File "/Users/yohelcruz/opt/anaconda3/lib/python3.9/site.py", line 169, in addpackage
exec(line)
File "<string>", line 1, in <module>
ModuleNotFoundError: No module named '_distutils_hack'
Remainder of file ignored```
我最终在 conda 上创建了一个问题:https://github.com/conda/conda/issues/11931
经过一些额外的挖掘,我发现正在运行
pip install -U pip setuptools
解决了问题
尝试在扩展中安装 Code Runner。在视觉工作室。祝你好运<(-__-)>