This question already has answers here:
Unable to install Pygame using pip
(27 answers)
Python pygame not installing
(3 answers)
Closed 3 months ago.
everytimg i try to install pygame i recive this error.
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
im not sure what to do as i feel like ive tried everything.
i tried running the Get-ExecutionPolicy in the terminal and got “RemoteSigned”.
i tried uninstalling and re installing VS code.
i tried different variations ex: pip3 install pygame, and got the same error message
This question already has answers here:
Problems getting pygame to show anything but a blank screen on Macos
(10 answers)
Closed 2 years ago.
Just started programming in python and pygames.
Whenever I try running a py file with pygames, the pygames window will appear, but there will be absolutely nothing in it. No errors in the log, but nothing shows, it's just a gray screen.
I tried running it on IDLE, and through the command line (I'm on a mac so I use the terminal)
And it's not just my programs that aren't showing anything, I've tried to run one of pygames examples, and it will still not display anything. For example, if I run the pygames alien example, the window will appear with a blank gray background. I'll hear the audio for the program, but no display.
Anything would help, I'm at a loss especially since no errors are showing in the log.
EDIT1:
I'm using Python 3 (and I really need to keep using Python 3)
EDIT2:
I'm using python 3.7. pygames version 1.9.4. The examples are with the pygames, they were downloaded together, so I assume it's for that version.
EDIT3:
ok, my OS is Mojave 10.14. I've tried starting the application by: opening the file, running it on IDLE, and running it through the command line, none have worked. python2 is installed, but when I run the pygame it's a python3 file
Known issue with Mojave - see their issue tracking: https://github.com/pygame/pygame/issues/555
You can also install new pygame using pip install pygame=2.0.0.dev6. This
worked in my case.
This question already has answers here:
pygame installation issue in mac os
(5 answers)
Pygame already installed; however, python terminal says "No module named 'pygame' " (Ubuntu 20.04.1)
(1 answer)
Closed 2 years ago.
when i try to download pygame with python version 3.8.5 this message shows up "terminal Requirement already satisfied: pygame in ./Library/Python/2.7/lib/python/site-packages (1.9.6)"
This question already has answers here:
PyInstaller, spec file, ImportError: No module named 'blah'
(3 answers)
Pyinstaller Unable to access Data Folder
(1 answer)
Python - pygame error when executing exe file
(3 answers)
Closed 2 years ago.
I made a Pygame game using Python and converted it into a .exe file using the command:
pyinstaller file.exe --onefile
I gave the output to my friends who told me that a error pops up when they started my .exe file.
file.exe has stopped working windows is finding a solution
Please help.
EDIT
To be more specific:
I am on windows 7
Python version is 3.6
Pygame version is 1.9.6
i'm trying to install mysql using pip and this error appears.
I'm new to python
the cmd says
"fatal error C1083: Cannot open include file: 'config-win.h: no such file or directory
error: command 'C:\\programfiles(x86)\\microsoft visual studio 10.0\\vc\\bin\\c1.exe'
failed to exit status 2"
if it is already solved i am sorry because i don't understand the presented solutions such as site.cfg that they say don't work anymore (i don't even understand it) my problem is also similar to this
I'm using python 3.4.3 and django 1.8.2
mysql-python is currently not supported by python 3
You have to install mysqlclient and PyMysql