Pycharm Pygame error

Hello, when I go into my project interpreter and try to install the Pygame package it doesn't work. I've installed Pygame through the CMD prompt by typing "pip install Pygame" and there are no errors in there. But when I try to install it through Pycharm it sends me an error below:

 

Collecting pygame
Using cached https://files.pythonhosted.org/packages/0f/9c/78626be04e193c0624842090fe5555b3805c050dfaa81c8094d6441db2be/pygame-1.9.6.tar.gz
Complete output from command 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\toddj\AppData\Local\Temp\pycharm-packaging\pygame\setup.py", line 194, in <module>
buildconfig.config.main(AUTO_CONFIG)
File "C:\Users\toddj\AppData\Local\Temp\pycharm-packaging\pygame\buildconfig\config.py", line 210, in main
deps = CFG.main(**kwds)
File "C:\Users\toddj\AppData\Local\Temp\pycharm-packaging\pygame\buildconfig\config_win.py", line 576, in main
and download_win_prebuilt.ask(**download_kwargs):
File "C:\Users\toddj\AppData\Local\Temp\pycharm-packaging\pygame\buildconfig\download_win_prebuilt.py", line 302, in ask
reply = raw_input(
EOFError: EOF when reading a line

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

Command "python setup.py egg_info" failed with error code 1 in C:\Users\toddj\AppData\Local\Temp\pycharm-packaging\pygame\

1 comment
Comment actions Permalink

Hello, 

 

Please try to install the package to the same venv in a command line as described here https://intellij-support.jetbrains.com/hc/en-us/articles/360010202240 

 

Do you get the same result? 

0

Please sign in to leave a comment.