Posted on March 10, 2010 - by dirtymitten
Another noobie python question
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/

Visit My Website
March 11, 2010
Permalink
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.
Visit My Website
March 12, 2010
Permalink
u kno what? youz native clasz modifyer needs a data nucleas enhanzment if u k-now wat i meen
Visit My Website
March 12, 2010
Permalink
No, I don’t know what you mean. D-: