卸载Python 2.7并运行第一个程序



有人帮我卸载python 2.7,并更正下面的错误

/usr/local/bin/python3.6 /Users/administrator/PycharmProjects/intr/simple.py
dyld: Library not loaded: /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
Referenced from: /Library/Frameworks/Python.framework/Versions/3.6/Resources/Python.app/Contents/MacOS/Python
Reason: image not found
Process finished with exit code 134 (interrupted by signal 6: SIGABRT)

我找到了解决办法。只需使用VSCODE,然后在其中使用python。我下载了Visual studio代码,然后安装了python扩展,我就可以编写代码并运行python

最新更新