[python-uk] PyGame Zero: I tried to install but I failed :/

Nicholas H.Tollervey ntoll at ntoll.org
Sat Jun 6 18:05:25 CEST 2015


You need the Python 3 version of PyGame installed. Instructions for how
to do this are in the PyGame Zero docs:

https://pygame-zero.readthedocs.org/en/latest/installation.html#on-osx

Hope this helps and glad you enjoyed the dojo!

:-)

N.

On 06/06/15 17:01, a.grandi at gmail.com wrote:
> Hi,
> 
> after the amazing evening at last Python Dojo, I decided to try to use
> PyGame Zero by myself, but I wasn't able to install it :/
> 
> I tried on a Mac (OSX Yosemite). I first installed Python 3 using brew
> (I normally use Python 2.7) and I created a venv with this command:
> 
> mkvirtualenv -p /usr/local/bin/python3.4 pgz
> Running virtualenv with interpreter /usr/local/bin/python3.4
> Using base prefix
> '/usr/local/Cellar/python3/3.4.3/Frameworks/Python.framework/Versions/3.4'
> New python executable in pgz/bin/python3.4
> Also creating executable in pgz/bin/python
> Installing setuptools, pip, wheel...done.
> (pgz)➜  ~
> 
> until here... everything ok.
> 
> When I try to install pygame zero from pip I get this error:
> 
> (pgz)➜  ~  pip3 install pgzero
> DEPRECATION: --download-cache has been deprecated and will be removed
> in the future. Pip now automatically uses and configures its cache.
> Collecting pgzero
>   Downloading pgzero-1.0.2.tar.gz (326kB)
>     100% |████████████████████████████████| 327kB 955kB/s
> Collecting pygame>=1.9 (from pgzero)
>   Could not find a version that satisfies the requirement pygame>=1.9
> (from pgzero) (from versions: )
>   Some externally hosted files were ignored as access to them may be
> unreliable (use --allow-external pygame to allow).
> No matching distribution found for pygame>=1.9 (from pgzero)
> 
> even using pip instead of pip3 doesn't help.
> 
> I'm pretty sure I'm doing something wrong but I'm not able to figure
> out what. Has anyone any idea about what's wrong with my setup?
> 
> Thank you so much for your help!
> 
> Cheers.
> 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://mail.python.org/pipermail/python-uk/attachments/20150606/f67ef30b/attachment.sig>


More information about the python-uk mailing list