I am getting an error installing pygame zero on my computer.
I already have python 3.6 32 and 64 bit
installed on my Windows system. The 32 bit version was installed with Canopy, I believe. Later, I installed the 64 bit version from the python website itself. Then I tried to install pygame zero (pip install pgzero
), and here is the message that I get (see 'code'):
Collecting pgzero Using cached >https://files.pythonhosted.org/packages/40/87/fbb77cfd9c6f2dbe63d09d3e693aa2bcde63995f6f014b3b0bda5d3dbcdd/pgzero-1.2.tar.gz Complete output from command python setup.py egg_info: Traceback (most recent call last): File "", line 1, in File "c:\users\user1\appdata\local\temp\pip-install-srz31i\pgzero\setup.py", line 7, in with open(path, encoding='utf8') as f: TypeError: 'encoding' is an invalid keyword argument for this function
Command "python setup.py egg_info" failed with error code 1 in >c:\users\user1\appdata\local\temp\pip-install-srz31i\pgzero\
I also looked up online, and tried to install a wheel pygame‑1.9.4‑cp36‑cp36m‑win32.whl
(also tried the 64 bit version), but it says this is not the correct version on both files.
How can I install pygame zero?