在用Homeb重新安装Python 3后,无法运行PyCharm应用程序

2024-09-28 23:27:05 发布

您现在位置:Python中文网/ 问答频道 /正文

我从计算机上删除了python3.7,并用自制软件重新安装了它。现在,我的虚拟环境在我brew cleanup之后被破坏了。你知道吗

错误如下:

/Users/thomastseng/PycharmProjects/firstapp/venv/bin/python "/Applications/PyCharm CE.app/Contents/helpers/pydev/pydev_run_in_console.py" 53280 53281 /Users/thomastseng/PycharmProjects/Games/app.py
dyld: Library not loaded: /Library/Frameworks/Python.framework/Versions/3.6/Python
  Referenced from: /Users/thomastseng/PycharmProjects/firstapp/venv/bin/python
  Reason: image not found
Process finished with exit code 134 (interrupted by signal 6: SIGABRT)
Couldn't connect to console process.

我有什么办法可以纠正这个错误吗?我不能使用livirtualenv。谢谢您!你知道吗


Tags: pyappbin软件venv计算机错误library