[tahoe-dev] Build problems: using installed packages, and install failure

Zooko Wilcox-O'Hearn zooko at zooko.com
Fri Jan 29 19:50:53 UTC 2010

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:


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

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

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



More information about the tahoe-dev mailing list