Hello there,
i'm new to the community and i'm having some issues with Pygame. Even thouth i installed it with "pip install" and i can see it with "pip list", when i go to PyCharm and try to import it, it says i need to install it.
It is a bit strange because when i use the
- "pip list" command in cmd i get: pygame 1.9.6
but when i try importing it in PyCharm it says "No module name Pygame"
Please see the uploaded pictures:
![[Image: 7nH87Dh]](https://ibb.co/7nH87Dh)
![[Image: kB1wTkf]](https://ibb.co/kB1wTkf)
pip: 19.3.1
Python: 3.8.1 x64
PyCharm: 2019.3.1 (Comunity Edition) - 18 December version
Windows 10 Pro x64
(i think it's because i have everything x64)
The i try installing it from PyCharm and i get the following error. Can you please help me with a solution ?
pygame works it a try running it from cmd
i'm new to the community and i'm having some issues with Pygame. Even thouth i installed it with "pip install" and i can see it with "pip list", when i go to PyCharm and try to import it, it says i need to install it.
It is a bit strange because when i use the
- "pip list" command in cmd i get: pygame 1.9.6
but when i try importing it in PyCharm it says "No module name Pygame"
Please see the uploaded pictures:
pip: 19.3.1
Python: 3.8.1 x64
PyCharm: 2019.3.1 (Comunity Edition) - 18 December version
Windows 10 Pro x64
(i think it's because i have everything x64)
The i try installing it from PyCharm and i get the following error. Can you please help me with a solution ?
Error: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-x64"? [Y/n]Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\......\AppData\Local\Temp\pycharm-packaging\Pygame\setup.py", line 194, in <module>
buildconfig.config.main(AUTO_CONFIG)
File "C:\Users\.......\AppData\Local\Temp\pycharm-packaging\Pygame\buildconfig\config.py", line 210, in main
deps = CFG.main(**kwds)
File "C:\Users\.......\AppData\Local\Temp\pycharm-packaging\Pygame\buildconfig\config_win.py", line 576, in main
and download_win_prebuilt.ask(**download_kwargs):
File "C:\Users\.......\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\.....\AppData\Local\Temp\pycharm-packaging\Pygame\
pygame works it a try running it from cmd