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

2015-06-07 Thread Steve Holden
On Jun 6, 2015, at 10:14 PM, Tom Viner  wrote:

> Quite right Steve. Teams may like to tidy up their code and create an issue 
> on Dan (lordmauve)'s bitbucket repo. The raspberry pi foundation will then 
> have a chance to use your code in lesson plans for kids round the country.


Along those lines, I realized as I was tidying up that while the code is 
self-evident to me, and to any experienced programmer, it would probably be 
very helpful to our junior colleagues (a phrase I try to use in preference to 
"kids" or even "students" as being more inclusive) if we were to add simple 
comments.

In my README I also put a short description of the program's architecture and 
operation, along with hints for enhancements students might like to make. I 
left the program functional but deliberately incomplete, and some of the 
enhancements (e.g. add sound, improve the graphics) are easy enough for even 
non-programmers to undertake without dread. That's an easy way to get a sense 
of accomplishment.

I'm currently busy adding branches to show my approach to some of these 
enhancements, which I hope will be useful to teachers who aren't particularly 
experienced programmers themselves in helping students who undertake them.

I think it's perhaps as complex as it needs to get now, otherwise it will start 
to need a Teacher's Guide :-)

S

-- 
Steve Holden st...@holdenweb.com / +1 571 484 6266 / +44 208 289 6308 / 
@holdenweb





___
python-uk mailing list
python-uk@python.org
https://mail.python.org/mailman/listinfo/python-uk


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

2015-06-07 Thread a.gra...@gmail.com
In our case (group 2) I think we were using Gautier (I hope the name
is correct!) laptop so he may still have the source code :)

Cheers.

On 6 June 2015 at 22:14, Tom Viner  wrote:
> Quite right Steve. Teams may like to tidy up their code and create an issue
> on Dan (lordmauve)'s bitbucket repo. The raspberry pi foundation will then
> have a chance to use your code in lesson plans for kids round the country.
>
>
> On 6 June 2015 at 21:32, Steve Holden  wrote:
>>
>> Hi Tom,
>>
>> I thought I had done what was requested by raising this issue on behalf of
>> team 5 (whose other members I should very much like to identify) by raising
>> this issue:
>> https://bitbucket.org/lordmauve/pgzero/issue/13/holdenwebs-game-ready-for-incorporation#comment-None
>>
>> If there's anything else I need to do please let me know.
>>
>> S
>>
>> On Jun 6, 2015, at 7:16 PM, Tom Viner  wrote:
>>
>> We have the code from two teams (1 & 4) linked here:
>> https://github.com/ldnpydojo/ldnpydojo-game-zero
>>
>> Laptop owners on teams 2, 3 and 5 do get in contact so your team mates and
>> others can view and improve on your team's code.
>>
>> On 6 June 2015 at 18:25, Steve Holden  wrote:
>>>
>>> Good question. I was wondering how to contact the members of team 5 so I
>>> can credit them in the code and let them know where the github repo for our
>>> code lives.
>>>
>>> S
>>>
>>> On Jun 6, 2015, at 5:16 PM, a.gra...@gmail.com wrote:
>>>
>>> Yay! It worked now :)
>>> Thank you so much!
>>>
>>> p.s: where can I find the code we wrote last night?
>>>
>>> Cheers.
>>>
>>> On 6 June 2015 at 17:05, Nicholas H.Tollervey  wrote:
>>>
>>> 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.gra...@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.
>>>
>>>
>>>
>>>
>>> ___
>>> python-uk mailing list
>>> python-uk@python.org
>>> https://mail.python.org/mailman/listinfo/python-uk
>>>
>>>
>>>
>>>
>>>
>>> --
>>> Steve Holden st...@holdenweb.com / +1 571 484 6266 / +44 208 289 6308 /
>>> @holdenweb
>>>
>>>
>>>
>>>
>>>
>>>
>>> ___
>>> python-uk mailing list
>>> python-uk@python.org
>>> https://mail.python.org/mailman/listinfo/python-uk
>>>
>>
>> ___
>> python-uk mailing list
>> python-uk@python.org
>> https://mail.python.org/mailman/listinfo/python-uk
>>
>>
>> --
>> Steve Holden st...@holdenweb.com / +1 571 484 6266 / +44 208 289 6308 /
>> @holdenweb
>>
>>
>>
>>
>>
>>
>> ___
>> python-uk mailing list
>> python-uk@python.org
>> https://mail.python.org/mailman/listinfo/python-uk
>>
>
>
> ___
> python-uk mailing list
> python-uk@python.org
> https://mail.python.org/mailman/listinfo/python-uk
>



-- 
Andrea Grandi - Software Engineer
Website: http://www.andreagrandi.it
Twitter: https://twitter.com/andreagrandi
GitHub: https://github.com/andreagrandi
PGP: 7238 74F6 886D 5994 323F 1781 8CFB 47AD C384 F0CC
___
python-uk maili

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

2015-06-06 Thread Tom Viner
Quite right Steve. Teams may like to tidy up their code and create an issue
on Dan (lordmauve)'s bitbucket repo. The raspberry pi foundation will then
have a chance to use your code in lesson plans for kids round the country.


On 6 June 2015 at 21:32, Steve Holden  wrote:

> Hi Tom,
>
> I thought I had done what was requested by raising this issue on behalf of
> team 5 (whose other members I should very much like to identify) by raising
> this issue:
> https://bitbucket.org/lordmauve/pgzero/issue/13/holdenwebs-game-ready-for-incorporation#comment-None
>
> If there's anything else I need to do please let me know.
>
> S
>
> On Jun 6, 2015, at 7:16 PM, Tom Viner  wrote:
>
> We have the code from two teams (1 & 4) linked here:
> https://github.com/ldnpydojo/ldnpydojo-game-zero
>
> Laptop owners on teams 2, 3 and 5 do get in contact so your team mates and
> others can view and improve on your team's code.
>
> On 6 June 2015 at 18:25, Steve Holden  wrote:
>
>> Good question. I was wondering how to contact the members of team 5 so I
>> can credit them in the code and let them know where the github repo for our
>> code lives.
>>
>> S
>>
>> On Jun 6, 2015, at 5:16 PM, a.gra...@gmail.com wrote:
>>
>> Yay! It worked now :)
>> Thank you so much!
>>
>> p.s: where can I find the code we wrote last night?
>>
>> Cheers.
>>
>> On 6 June 2015 at 17:05, Nicholas H.Tollervey  wrote:
>>
>> 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.gra...@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.
>>
>>
>>
>>
>> ___
>> python-uk mailing list
>> python-uk@python.org
>> https://mail.python.org/mailman/listinfo/python-uk
>>
>>
>>
>>
>>
>> --
>> Steve Holden st...@holdenweb.com / +1 571 484 6266 / +44 208 289 6308
>> / @holdenweb
>>
>>
>>
>>
>>
>>
>> ___
>> python-uk mailing list
>> python-uk@python.org
>> https://mail.python.org/mailman/listinfo/python-uk
>>
>>
> ___
> python-uk mailing list
> python-uk@python.org
> https://mail.python.org/mailman/listinfo/python-uk
>
>
> --
> Steve Holden st...@holdenweb.com / +1 571 484 6266 / +44 208 289 6308
> / @holdenweb
>
>
>
>
>
>
> ___
> python-uk mailing list
> python-uk@python.org
> https://mail.python.org/mailman/listinfo/python-uk
>
>
___
python-uk mailing list
python-uk@python.org
https://mail.python.org/mailman/listinfo/python-uk


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

2015-06-06 Thread Steve Holden
Hi Tom,

I thought I had done what was requested by raising this issue on behalf of team 
5 (whose other members I should very much like to identify) by raising this 
issue: 
https://bitbucket.org/lordmauve/pgzero/issue/13/holdenwebs-game-ready-for-incorporation#comment-None

If there's anything else I need to do please let me know.

S

On Jun 6, 2015, at 7:16 PM, Tom Viner  wrote:

> We have the code from two teams (1 & 4) linked here: 
> https://github.com/ldnpydojo/ldnpydojo-game-zero
> 
> Laptop owners on teams 2, 3 and 5 do get in contact so your team mates and 
> others can view and improve on your team's code.
> 
> On 6 June 2015 at 18:25, Steve Holden  wrote:
> Good question. I was wondering how to contact the members of team 5 so I can 
> credit them in the code and let them know where the github repo for our code 
> lives.
> 
> S
> 
> On Jun 6, 2015, at 5:16 PM, a.gra...@gmail.com wrote:
> 
>> Yay! It worked now :)
>> Thank you so much!
>> 
>> p.s: where can I find the code we wrote last night?
>> 
>> Cheers.
>> 
>> On 6 June 2015 at 17:05, Nicholas H.Tollervey  wrote:
>>> 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.gra...@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.
 
>>> 
>>> 
>>> 
>>> ___
>>> python-uk mailing list
>>> python-uk@python.org
>>> https://mail.python.org/mailman/listinfo/python-uk
>>> 
>> 
>> 
>> 
> 
> -- 
> Steve Holden st...@holdenweb.com / +1 571 484 6266 / +44 208 289 6308 / 
> @holdenweb
> 
> 
> 
> 
> 
> 
> ___
> python-uk mailing list
> python-uk@python.org
> https://mail.python.org/mailman/listinfo/python-uk
> 
> 
> ___
> python-uk mailing list
> python-uk@python.org
> https://mail.python.org/mailman/listinfo/python-uk

-- 
Steve Holden st...@holdenweb.com / +1 571 484 6266 / +44 208 289 6308 / 
@holdenweb





___
python-uk mailing list
python-uk@python.org
https://mail.python.org/mailman/listinfo/python-uk


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

2015-06-06 Thread Alistair Broomhead
I don't have WiFi this weekend, but team 3's code is on a fork of that repo
;)

On Sat, 6 Jun 2015 19:17 Tom Viner  wrote:

> We have the code from two teams (1 & 4) linked here:
> https://github.com/ldnpydojo/ldnpydojo-game-zero
>
> Laptop owners on teams 2, 3 and 5 do get in contact so your team mates and
> others can view and improve on your team's code.
>
> On 6 June 2015 at 18:25, Steve Holden  wrote:
>
>> Good question. I was wondering how to contact the members of team 5 so I
>> can credit them in the code and let them know where the github repo for our
>> code lives.
>>
>> S
>>
>> On Jun 6, 2015, at 5:16 PM, a.gra...@gmail.com wrote:
>>
>> Yay! It worked now :)
>> Thank you so much!
>>
>> p.s: where can I find the code we wrote last night?
>>
>> Cheers.
>>
>> On 6 June 2015 at 17:05, Nicholas H.Tollervey  wrote:
>>
>> 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.gra...@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.
>>
>>
>>
>>
>> ___
>> python-uk mailing list
>> python-uk@python.org
>> https://mail.python.org/mailman/listinfo/python-uk
>>
>>
>>
>>
>>
>> --
>> Steve Holden st...@holdenweb.com / +1 571 484 6266 / +44 208 289 6308
>> / @holdenweb
>>
>>
>>
>>
>>
>>
>> ___
>> python-uk mailing list
>> python-uk@python.org
>> https://mail.python.org/mailman/listinfo/python-uk
>>
>>
> ___
> python-uk mailing list
> python-uk@python.org
> https://mail.python.org/mailman/listinfo/python-uk
>
___
python-uk mailing list
python-uk@python.org
https://mail.python.org/mailman/listinfo/python-uk


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

2015-06-06 Thread Tom Viner
We have the code from two teams (1 & 4) linked here:
https://github.com/ldnpydojo/ldnpydojo-game-zero

Laptop owners on teams 2, 3 and 5 do get in contact so your team mates and
others can view and improve on your team's code.

On 6 June 2015 at 18:25, Steve Holden  wrote:

> Good question. I was wondering how to contact the members of team 5 so I
> can credit them in the code and let them know where the github repo for our
> code lives.
>
> S
>
> On Jun 6, 2015, at 5:16 PM, a.gra...@gmail.com wrote:
>
> Yay! It worked now :)
> Thank you so much!
>
> p.s: where can I find the code we wrote last night?
>
> Cheers.
>
> On 6 June 2015 at 17:05, Nicholas H.Tollervey  wrote:
>
> 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.gra...@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.
>
>
>
>
> ___
> python-uk mailing list
> python-uk@python.org
> https://mail.python.org/mailman/listinfo/python-uk
>
>
>
>
>
> --
> Steve Holden st...@holdenweb.com / +1 571 484 6266 / +44 208 289 6308
> / @holdenweb
>
>
>
>
>
>
> ___
> python-uk mailing list
> python-uk@python.org
> https://mail.python.org/mailman/listinfo/python-uk
>
>
___
python-uk mailing list
python-uk@python.org
https://mail.python.org/mailman/listinfo/python-uk


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

2015-06-06 Thread Steve Holden
Good question. I was wondering how to contact the members of team 5 so I can 
credit them in the code and let them know where the github repo for our code 
lives.

S

On Jun 6, 2015, at 5:16 PM, a.gra...@gmail.com wrote:

> Yay! It worked now :)
> Thank you so much!
> 
> p.s: where can I find the code we wrote last night?
> 
> Cheers.
> 
> On 6 June 2015 at 17:05, Nicholas H.Tollervey  wrote:
>> 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.gra...@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.
>>> 
>> 
>> 
>> 
>> ___
>> python-uk mailing list
>> python-uk@python.org
>> https://mail.python.org/mailman/listinfo/python-uk
>> 
> 
> 
> 

-- 
Steve Holden st...@holdenweb.com / +1 571 484 6266 / +44 208 289 6308 / 
@holdenweb





___
python-uk mailing list
python-uk@python.org
https://mail.python.org/mailman/listinfo/python-uk


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

2015-06-06 Thread a.gra...@gmail.com
Yay! It worked now :)
Thank you so much!

p.s: where can I find the code we wrote last night?

Cheers.

On 6 June 2015 at 17:05, Nicholas H.Tollervey  wrote:
> 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.gra...@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.
>>
>
>
>
> ___
> python-uk mailing list
> python-uk@python.org
> https://mail.python.org/mailman/listinfo/python-uk
>



-- 
Andrea Grandi - Software Engineer
Website: http://www.andreagrandi.it
Twitter: https://twitter.com/andreagrandi
GitHub: https://github.com/andreagrandi
PGP: 7238 74F6 886D 5994 323F 1781 8CFB 47AD C384 F0CC
___
python-uk mailing list
python-uk@python.org
https://mail.python.org/mailman/listinfo/python-uk


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

2015-06-06 Thread Nicholas H.Tollervey
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.gra...@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.
> 




signature.asc
Description: OpenPGP digital signature
___
python-uk mailing list
python-uk@python.org
https://mail.python.org/mailman/listinfo/python-uk