OiO.lk Community platform!

Oio.lk is an excellent forum for developers, providing a wide range of resources, discussions, and support for those in the developer community. Join oio.lk today to connect with like-minded professionals, share insights, and stay updated on the latest trends and technologies in the development field.
  You need to log in or register to access the solved answers to this problem.
  • You have reached the maximum number of guest views allowed
  • Please register below to remove this limitation

Pygame installing errors on Windows 7

  • Thread starter Thread starter Francesco Di Matteo
  • Start date Start date
F

Francesco Di Matteo

Guest
on my old PC with Windows 7 where i've installed Python 3.4.2, pip don't install Pygame (pip version is 1.2.1) using che command pip install pygame.

First time, the log file reported "SSL error"... yes i put "https" in place of "http" in the .conf file but then the log file said:

Code:
File "<string>", line 16, in <module>
File "C:\Users\FRANCE~1\AppData\Local\Temp\pip-build\pygame\setup.py", line 171

print(f'    {url}')
                 ^
SyntaxError: invalid syntax

So, i tried with the "wheel" file (pygame-1.9.4-cp34-cp34m-win_amd64.whl), with pip install [URL of pygame-1.9.4-cp34-cp34m-win_amd64.whl] but then, after download, another error:

Code:
File "<string>", line 16, in <module>

FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\FRANCE~1\\AppData\\Local\\Temp\\pip-pejgax6k-build\\setup.py'

Can anyone help me please?
<p>on my old PC with Windows 7 where i've installed Python 3.4.2, pip don't install Pygame (pip version is 1.2.1) using che command <code>pip install pygame</code>.</p>
<p>First time, the log file reported "SSL error"... yes i put "https" in place of "http" in the .conf file but then the log file said:</p>
<pre><code>File "<string>", line 16, in <module>
File "C:\Users\FRANCE~1\AppData\Local\Temp\pip-build\pygame\setup.py", line 171

print(f' {url}')
^
SyntaxError: invalid syntax
</code></pre>
<p>So, i tried with the "wheel" file (pygame-1.9.4-cp34-cp34m-win_amd64.whl), with <code>pip install [URL of pygame-1.9.4-cp34-cp34m-win_amd64.whl]</code> but then, after download, another error:</p>
<pre><code>File "<string>", line 16, in <module>

FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\FRANCE~1\\AppData\\Local\\Temp\\pip-pejgax6k-build\\setup.py'
</code></pre>
<p>Can anyone help me please?</p>
 

Latest posts

J
Replies
0
Views
1
jbowerbir
J
Top