• Home
  • Downloads
Subscribe: Posts | Comments | E-mail
  • BlahBlahBlogThis is the blog about the blog
  • Snoop Bloggy-BloggD'as u'sup

DirtyMitten

Posted on March 10, 2010 - by dirtymitten

Another noobie python question

Snoop Bloggy-Blogg

Using easy_install to install SIP, PyQt, and other packages and modules on Windows
Another newbie question for the community, and quick and easy points to whoever’s online right now, I’m sure… I’m definitely not a Python expert, but I hope to be soon :)

… I’m just moving my development environment to a Windows machine, and I’ve been used to using a Mac for programming Python for the last few weeks.

I’m trying to get SIP, PyQt, and any other packages that I need, using the easy_install command.

I’m wracking my brain. When I open the Python command line, and type:

>>> easy_install PyQt4

I get:

File “”, line 1
easy_install PyQt
^
SyntaxError: invalid syntax

That formatting may get a bit messed up, so I’ll put it in the code field. I don’t expect it to throw a syntax error. Sure, maybe the package isn’t there, but it should give a different error.

So, I need PyQt4, I need SIP, how do I specifically use easy_install on a Windows installation of Python to easily install modules and packages from here on out?

Update: http://prefetch.net/blog/index.php/2009/06/21/installing-python-modules-with-easy_install/

  • Share/Bookmark
This entry was posted on Wednesday, March 10th, 2010 at 4:01 pm and is filed under Snoop Bloggy-Blogg. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

3 Comments

We'd love to hear yours!



  1. Visit My Website

    March 11, 2010

    Permalink

    dirtymitten said:

    Ends up being a non-issue, since installation should really be done by downloading the tar.gz file, extracting / unpacking, and, in a command prompt, after navigating to the extracted directory, running:

    $ python setup.py install

    That should work for most, if not all, python modules.



  2. Visit My Website

    March 12, 2010

    Permalink

    blambastico said:

    u kno what? youz native clasz modifyer needs a data nucleas enhanzment if u k-now wat i meen



  3. Visit My Website

    March 12, 2010

    Permalink

    dirtymitten said:

    No, I don’t know what you mean. D-:



Leave a Comment

Here's your chance to speak.

You must be logged in to post a comment.

  • Meta

    • Register
    • Log in
    • Entries RSS
    • Comments RSS
    • WordPress.org
  • Pages

    • Downloads
© 2008 DirtyMitten - Where Clean is Obsceneā„¢
The Papercut theme by WooThemes - Premium Wordpress Themes