Re: [Tutor] Tutor Digest, Vol 98, Issue 70

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Tutor] Tutor Digest, Vol 98, Issue 70

Osemeka Osuagwu
I use 64bit Windows7 and Python 2.7.2 (upgraded from 2.6.6)

I downloaded the windows binary from the pygame site
(http://www.pygame.org/download.shtml) and ran it. During the
installation I had to choose install directory, I left it at the
default option (which created a new folder on my C: drive).

On 4/28/12, [hidden email] <[hidden email]> wrote:

> Send Tutor mailing list submissions to
> [hidden email]
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://mail.python.org/mailman/listinfo/tutor
> or, via email, send a message with subject or body 'help' to
> [hidden email]
>
> You can reach the person managing the list at
> [hidden email]
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Tutor digest..."
>
>
> Today's Topics:
>
>    1. more help with vitualenv (Ivor Surveyor)
>    2. Re: more help with vitualenv (Russell Smith)
>    3. (no subject) (Dinesh Vadhia)
>    4. Re: Pygame installation problems (Steven D'Aprano)
>    5. Re: more help with vitualenv (Steven D'Aprano)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Sat, 28 Apr 2012 09:25:51 +0800
> From: Ivor Surveyor <[hidden email]>
> To: [hidden email]
> Subject: [Tutor] more help with vitualenv
> Message-ID: <[hidden email]>
> Content-Type: text/plain; charset="us-ascii"; format=flowed
>
>
> As suggested I visited the site virtualenv.  However I could not find
> the files for download and to install on my machine.
> Could I please ask for further guidance on how to proceed?
>
> Ivor Surveyor
> [hidden email]
>
>
>
> ------------------------------
>
> Message: 2
> Date: Fri, 27 Apr 2012 18:51:00 -0700
> From: Russell Smith <[hidden email]>
> To: Ivor Surveyor <[hidden email]>
> Cc: "[hidden email]" <[hidden email]>
> Subject: Re: [Tutor] more help with vitualenv
> Message-ID:
> <[hidden email]>
> Content-Type: text/plain; charset="iso-8859-1"
>
> http://pypi.python.org/pypi/virtualenv/1.7.1.2
>
> Read the page at the link above. You will find it.
>
> On Friday, April 27, 2012, Ivor Surveyor wrote:
>
>>
>> As suggested I visited the site virtualenv.  However I could not find the
>> files for download and to install on my machine.
>> Could I please ask for further guidance on how to proceed?
>>
>> Ivor Surveyor
>> [hidden email]
>> ______________________________**_________________
>> Tutor maillist  -  [hidden email]
>> To unsubscribe or change subscription options:
>> http://mail.python.org/**mailman/listinfo/tutor<http://mail.python.org/mailman/listinfo/tutor>
>>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> <http://mail.python.org/pipermail/tutor/attachments/20120427/731ec181/attachment-0001.html>
>
> ------------------------------
>
> Message: 3
> Date: Fri, 27 Apr 2012 19:41:46 -0700
> From: Dinesh Vadhia <[hidden email]>
> To: <[hidden email]>, <[hidden email]>,
> <[hidden email]>, <[hidden email]>,
> <[hidden email]>, <[hidden email]>, <[hidden email]>,
> <[hidden email]>, <[hidden email]>
> Subject: [Tutor] (no subject)
> Message-ID: <[hidden email]>
> Content-Type: text/plain; charset="iso-8859-1"
>
> http://revistabuenosmuchachos.com/orndkty/247274.html
>    
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> <http://mail.python.org/pipermail/tutor/attachments/20120427/f82e681c/attachment-0001.html>
>
> ------------------------------
>
> Message: 4
> Date: Sat, 28 Apr 2012 14:46:29 +1000
> From: Steven D'Aprano <[hidden email]>
> To: [hidden email]
> Subject: Re: [Tutor] Pygame installation problems
> Message-ID: <[hidden email]>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Osemeka Osuagwu wrote:
>> Hi,
>> I started learning Python recently, having only very little programming
>> experience. I installed Pygame and tried using
>
>
> How did you install it?
>
> What operating system are you using?
>
>
>>> import pygame
>>
>> to test the installation and got the following error in return;
>>
>> Traceback (most recent call last):
>>   File "<stdin>", line 1, in <module>
>> ImportError: No module named pygame
>>
>> Please does this mean I didn't install pygame correctly?
>
> Yes.
>
>
>
> --
> Steven
>
>
>
> ------------------------------
>
> Message: 5
> Date: Sat, 28 Apr 2012 14:58:56 +1000
> From: Steven D'Aprano <[hidden email]>
> To: [hidden email]
> Subject: Re: [Tutor] more help with vitualenv
> Message-ID: <[hidden email]>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Ivor Surveyor wrote:
>>
>> As suggested I visited the site virtualenv.  However I could not find
>> the files for download and to install on my machine.
>> Could I please ask for further guidance on how to proceed?
>
> Which site did you go to? "virtualenv" is not a site, it is a name.
> Precision
> of language is your friend -- when asking for help, please be precise and
> accurate in your descriptions.
>
> When I google for "virtualenv", the very first link that comes up is this:
>
> http://pypi.python.org/pypi/virtualenv
>
> Is that the site you went to? If not, which site did you go to?
>
> On that site, there is a link "Downloads" almost at the top of the page,
> immediately under the title:
>
> virtualenv 1.7.1.2
> Virtual Python Environment builder
> Downloads
>
>
> Clicking on the Downloads link takes you directly to the download area,
> where
> you can download a source tarball (.tar.gz file).
>
>
> Or if you prefer, there are other instructions for installing it. Do you
> have
> pip installed on your computer? If so, you can run
>
> pip install virtualenv
>
> from the command line (NOT the Python interactive interpreter) to
> automatically install virtualenv.
>
> Or if all else fails, the site above links directly to a single Python file
>
> which you can save to your hard drive.
>
>
>
> --
> Steven
>
>
>
> ------------------------------
>
> _______________________________________________
> Tutor maillist  -  [hidden email]
> http://mail.python.org/mailman/listinfo/tutor
>
>
> End of Tutor Digest, Vol 98, Issue 70
> *************************************
>


--
*We have enough for our need but not enough for our greed.*
_______________________________________________
Tutor maillist  -  [hidden email]
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Tutor] Tutor Digest, Vol 98, Issue 70

Dave Angel-3
On 04/28/2012 11:00 AM, Osemeka Osuagwu wrote:

> I use 64bit Windows7 and Python 2.7.2 (upgraded from 2.6.6)
>
> I downloaded the windows binary from the pygame site
> (http://www.pygame.org/download.shtml) and ran it. During the
> installation I had to choose install directory, I left it at the
> default option (which created a new folder on my C: drive).
>
> On 4/28/12, [hidden email] <[hidden email]> wrote:
>> Send Tutor mailing list submissions to
>> [hidden email]
>>
>> To subscribe or unsubscribe via the World Wide Web, visit
>> http://mail.python.org/mailman/listinfo/tutor
>> or, via email, send a message with subject or body 'help' to
>> [hidden email]
>>
>> You can reach the person managing the list at
>> [hidden email]
>>
>> When replying, please edit your Subject line so it is more specific
>> than "Re: Contents of Tutor digest..."
>>
Like the man says, make a meaningful Subject for your message.  If it's
a reply to a previous one, you should reply to that particular message
instead of the digest.  But if you can't convince your email program to
do that, at least fix the Subject line so it looks like a reply (Stick a
Re:  in front of the previous message's subject, if it doesn't already
have one)

Also, don't include a lot of nonsense that has nothing to do with your
post.  It's possible that something meaningful was in there, but we
shouldn't have to hunt.

So, back to the question you didn't ask.  So pygame's install created a
directory?   it should be put into the existing python directory
structure if you want python to be able to find it.

--

DaveA

_______________________________________________
Tutor maillist  -  [hidden email]
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Tutor] Tutor Digest, Vol 98, Issue 70

wprins
In reply to this post by Osemeka Osuagwu
Hi Osemeka,


On 28 April 2012 16:00, Osemeka Osuagwu <[hidden email]> wrote:
I use 64bit Windows7 and Python 2.7.2 (upgraded from 2.6.6)

Do you use 64 bit Python 2.7.2 or 32 bit Python 2.7.2? 
 

I downloaded the windows binary from the pygame site
(http://www.pygame.org/download.shtml) and ran it. During the
installation I had to choose install directory, I left it at the
default option (which created a new folder on my C: drive).

Did you download and install the 32-bit or 64-bit version of Pygame?  The links on the page you reference is the 32-bit versions.  There are also some prerelease 64-bit binaries available elsewhere as mentioned on that page.  

Anyway, my spidey sense tells me that you're likely running a 64-bit version of Python and have installed the 32-bit version of Pygame.  This won't work and may explain your current problem.  To solve it, ensure the version of Python and PyGame matches each other in terms of being 32-bit or 64-bit as well as the version of Python targetted by Pygame.   

As a sidenote, please try and be neater in your posts.  Useful subjects help, and the convention on this list is to bottom post, that is, comment/respond to a particular text below the relevant piece of quoted text.   People may be inclined to skip over questions/posts which neglect to make some effort to be easy to read and comply with list ettiquette. 

Thanks,

Walter


_______________________________________________
Tutor maillist  -  [hidden email]
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
Loading...