我正在尝试使用this tutorial安装 PyGame ,但是当我运行venvdotapp
时。我收到以下异常:
Traceback (most recent call last):
File "/Users/hugovillalobos/Documents/Code/FractalsProject/FractalsVenv/bin/venvdotapp", line 10, in <module>
sys.exit(_main())
File "/Users/hugovillalobos/Documents/Code/FractalsProject/FractalsVenv/lib/python3.7/site-packages/venvdotapp.py", line 178, in _main
require_bundle()
File "/Users/hugovillalobos/Documents/Code/FractalsProject/FractalsVenv/lib/python3.7/site-packages/venvdotapp.py", line 162, in require_bundle
exe = _prepare_bundle(bundle_id)
File "/Users/hugovillalobos/Documents/Code/FractalsProject/FractalsVenv/lib/python3.7/site-packages/venvdotapp.py", line 141, in _prepare_bundle
"Sorry, your Python wasn't built with --enable-framework."
venvdotapp.NotAFrameworkPython: Sorry, your Python wasn't built with --enable-framework.
我不知道这是怎么回事,我也找不到任何有用的信息。