Problem running Pygame Zero
peter walker
peter at p-walker.co.uk
Mon Dec 21 06:23:39 EST 2020
Hi
I hope you can help. I am trying to use pygame zero (working with my 10 year
old grandson) but it won't run anything ( I did have it running for a little
while now nothing).
Below are the results of:
1. Installing pygame zero
2. Running a listing (whatever I run I get the same result).
3. Listing of the file I am running
I have tried more than one version of Python and get the same results except
on Python 3.9.0 and .1 when pygame won't even install.
Please give me some help, I don't know how to proceed.
Thanking you in advance.
Peter Walker
PS C:\Users\Peter\Dropbox\My PC (Peter-Desktop)\Documents\escape> pip
install pgzero
Collecting pgzero
Using cached pgzero-1.2-py3-none-any.whl (69 kB)
Requirement already satisfied: pygame<2.0,>=1.9.2 in
c:\users\peter\appdata\local\programs\python\python38\lib\site-packages
(from pgzero) (1.9.6)
Requirement already satisfied: numpy in
c:\users\peter\appdata\local\programs\python\python38\lib\site-packages
(from pgzero) (1.19.4)
Installing collected packages: pgzero
Successfully installed pgzero-1.2
PS C:\Users\Peter\Dropbox\My PC (Peter-Desktop)\Documents\escape>
PS C:\Users\Peter\Dropbox\My PC (Peter-Desktop)\Documents\escape> pgzrun
test.py
** On entry to DGEBAL parameter number 3 had an illegal value
** On entry to DGEHRD parameter number 2 had an illegal value
** On entry to DORGHR DORGQR parameter number 2 had an illegal value
** On entry to DHSEQR parameter number 4 had an illegal value
Traceback (most recent call last):
File "c:\users\peter\appdata\local\programs\python\python38\lib\runpy.py",
line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "c:\users\peter\appdata\local\programs\python\python38\lib\runpy.py",
line 87, in _run_code
exec(code, run_globals)
File
"C:\Users\Peter\AppData\Local\Programs\Python\Python38\Scripts\pgzrun.exe\__
main__.py", line 4, in <module>
File
"c:\users\peter\appdata\local\programs\python\python38\lib\site-packages\pgz
ero\runner.py", line 1, in <module>
import pygame
File
"c:\users\peter\appdata\local\programs\python\python38\lib\site-packages\pyg
ame\__init__.py", line 343, in <module>
import pygame.surfarray
File
"c:\users\peter\appdata\local\programs\python\python38\lib\site-packages\pyg
ame\surfarray.py", line 64, in <module>
import pygame._numpysurfarray as numpysf
File
"c:\users\peter\appdata\local\programs\python\python38\lib\site-packages\pyg
ame\_numpysurfarray.py", line 51, in <module>
import numpy
File
"c:\users\peter\appdata\local\programs\python\python38\lib\site-packages\num
py\__init__.py", line 305, in <module>
_win_os_check()
File
"c:\users\peter\appdata\local\programs\python\python38\lib\site-packages\num
py\__init__.py", line 302, in _win_os_check
raise RuntimeError(msg.format(__file__)) from None
RuntimeError: The current Numpy installation
('c:\\users\\peter\\appdata\\local\\programs\\python\\python38\\lib\\site-pa
ckages\\numpy\\__init__.py') fails to pass a sanity check due to a bug in
the windows runtime. See this issue for more information:
https://tinyurl.com/y3dm3h86
PS C:\Users\Peter\Dropbox\My PC (Peter-Desktop)\Documents\escape>
Test.py
print("Hello")
More information about the Python-list
mailing list