I'm setting up my Python dev environment on a new macbook... and easy_install is running like treacle down a hill. It is so slow!
Anyone else experienced this, and worked out what is wrong? I'm guessing its something network related...
Friday, May 16, 2008
Subscribe to:
Post Comments (Atom)
Popular Posts
-
These are the robots I've been working on for the last 12 months. They each weigh about 11 tonnes and have a 17 meter reach. The control...
-
So, you've created a car prefab using WheelCollider components, and now you can apply a motorTorque to make the whole thing move along. ...
-
Often, when building a game, you need to test if objects are colliding. The objects could be spaceships, rocks, mouse pointers, laser beams....
-
Summary: NodeJS wins. Test Program ab -n 10000 -c 5 http://localhost/ Gevent Code from gevent import wsgi class WebServer(object): def a...
-
Why would I ask that question? Python 3 has been available for some time now, yet uptake is slow. There aren't a whole lot of packages i...
-
MiddleMan: A Pub/Sub and Request/Response server in Go. This is my first Go project. It is a rewrite of an existing Python server, based o...
-
I've just finished refactoring an awful C# class. I had been delaying the job for a while because I didn't want to do it. Then, whil...
-
Dear Lazyweb. Imagine a nice RESTful interface for working with Tags. The URL: /tags/ will return a list of all the tags. The URL: /tags/fo...
-
It is about 8 degrees C this morning. So cold, especially when last week we had high twenties. To help solve the problem, a friend suggeste...
-
We're almost done with our Giant Robot Project. Realising we had only a few hours before the robots would be deconstructed and sent awa...
5 comments:
It flies on my machine (macbook pro)
Is it easy install itself that's hogging it up, or is the the searching and downloading that's the problem?
I had some major performance problems with the Python version provided by Fink (espectially with the sqlite module). I don't know if this is related, but if you use Fink, you could try with MacPorts' Python for instance.
I can't recommend using any distribution of Python from Fink or MacPorts, unless you really need a specific version of Python. Python 2.5's distutils in Leopard is very well configured by default (unlike in many Linux distributions) and it comes with a huge amount of 3rd party "extra" libraries (it even comes bundled with easy_install).
If you're using Tiger, the framework version of Python 2.5 from python.org is also nice. Installing things with easy_install will install them inside the framework folder by default, which is a useful feature.
If you find easy_install having to search past the "simple" index for the package you're trying to get, it's probably because the package is uploaded to PyPI with different case. If you find PyPI is just slow in general for you, Zope has a PyPI mirror at http://download.zope.org/, which I think you can use with easy_install -i http://download.zope.org/, but Zope's mirror has no browsing interface, and I'm not sure how it syncs with the official mirror.
Thanks for the tips, the solution involved removing sqlite3 from the build.
configure --with-readline
make clean
make
easy_install -U somepackage <--greased lighting
Post a Comment