Python 2.6 pkg_resources.DistributionNotFound error

Joshua Root jmr at macports.org
Thu Dec 17 17:05:49 PST 2009


On 2009-12-18 11:42 , Thomas Gautier wrote:
> 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.

And <package> is installed?

> I don't get the error since other python packages like py26-pil and py26-psycopg2 are working correctly.

One would assume then that all of their dependencies are installed.

> 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.

Which easy_install? You don't want to install into the macports prefix
without registering the files with macports anyway.

- Josh


More information about the macports-users mailing list