在pycharm IDE上安装pygame无法正常工作

时间:2019-10-30 15:27:56

标签: python pygame pycharm

我一直在尝试安装pygame,以便可以运行我的代码,但未安装。

错误代码: 收集pygame   使用缓存的https://files.pythonhosted.org/packages/0f/9c/78626be04e193c0624842090fe5555b3805c050dfaa81c8094d6441db2be/pygame-1.9.6.tar.gz     来自命令python setup.py egg_info的完整输出:

WARNING, No "Setup" File Exists, Running "buildconfig/config.py"
Using WINDOWS configuration...


Download prebuilts to "prebuilt_downloads" and copy to "./prebuilt-x86"? [Y/n]Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "C:\Users\Chidi\AppData\Local\Temp\pycharm-packaging\pygame\setup.py", line 194, in <module>
    buildconfig.config.main(AUTO_CONFIG)
  File "C:\Users\Chidi\AppData\Local\Temp\pycharm-packaging\pygame\buildconfig\config.py", line 210, in main
    deps = CFG.main(**kwds)
  File "C:\Users\Chidi\AppData\Local\Temp\pycharm-packaging\pygame\buildconfig\config_win.py", line 576, in main
    and download_win_prebuilt.ask(**download_kwargs):
  File "C:\Users\Chidi\AppData\Local\Temp\pycharm-packaging\pygame\buildconfig\download_win_prebuilt.py", line 302, in ask
    reply = raw_input(
EOFError: EOF when reading a line

----------------------------------------

命令“ python setup.py egg_info”失败,错误代码为1:C:\ Users \ Chidi \ AppData \ Local \ Temp \ pycharm-packaging \ pygame \

0 个答案:

没有答案