On Friday, 2010-01-29, at 11:21 , Jack Lloyd wrote:

> pkg_resources.DistributionNotFound: Twisted

Hm, pkg_resources (and the Tahoe-LAFS build tool) look for the  
presence of a file that ends with ".egg-info" in order to tell if  
Twisted is installed.  I see from this script that such a file is  
created on Gentoo:

http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/twisted/ 
twisted-9.0.0-r1.ebuild?view=markup

        create_twisted_egg-info() {
                touch "${D%/}${EPREFIX}/$(python_get_sitedir)/Twisted-${PV}-py$ 
{PYTHON_ABI}.egg-info"
        }
        python_execute_function create_twisted_egg-info

Is it that your $(python_get_sitedir) is not on your PYTHONPATH or  
something?

You could use the following command-line to see where it will look  
for such files: python -c 'import sys;print sys.path'

Regards,

Zooko
_______________________________________________
tahoe-dev mailing list
[email protected]
http://allmydata.org/cgi-bin/mailman/listinfo/tahoe-dev

Reply via email to