Python 2.6 pkg_resources.DistributionNotFound error
Thomas Gautier
thomas at hooste.com
Thu Dec 17 16:42:10 PST 2009
Hi,
I'm having a problem with macports on SnowLeopard regarding python 2.6 ports. For several of them like ipython, virtualenv and virtualenvwrapper I'm getting a "pkg_resources.DistributionNotFound: <package>" error.
Maybe I've done something wrong with my python 2.6 install but I've just used sudo port install python26 and then sudo python_select to use macports' python2.6 and not Apple's.
I don't get the error since other python packages like py26-pil and py26-psycopg2 are working correctly.
Another thing I don't get is why when I'm using easy_install packages are being installed in the "old" Apple's site-packahe (/Library/Python/2.6/site-packages) and not macports' one.
Thanks for your help.
More information about the macports-users
mailing list