无法安装PyGame,因为Python不是使用--enable-framework构建的

时间:2019-05-17 15:41:14

标签: python pip pygame python-venv

我正在尝试使用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.

我不知道这是怎么回事,我也找不到任何有用的信息。

0 个答案:

没有答案