master branch instalation problem on ubuntu 10.10 #2

dgmorales opened this Issue Jan 16, 2011 · 1 comment


None yet

2 participants



Just tried to install exscript in my ubuntu 10.10 and got an error when running 'exscript' from master branch. I was able to run it checking v2.0 tag out.

When installing from master branch:

".... (output of 'sudo make install') ....
Installed /usr/local/lib/python/site-packages/Exscript-v2.0.373_g27951ca-py2.6.egg
Processing dependencies for Exscript==v2.0.373-g27951ca
Finished processing dependencies for Exscript==v2.0.373-g27951ca
./ --reset
Os arquivos /tmp/fileL6rcPh e src/Exscript/ são diferentes  
     (^^ that's portuguese, it says they are different)
Version file updated.

morales@espinosa:~/src/exscript$ exscript
Traceback (most recent call last):
 File "/usr/local/bin/exscript", line 4, in <module>
  import pkg_resources
 File "/usr/lib/python2.6/dist-packages/", line 2671, in <module>
 File "/usr/lib/python2.6/dist-packages/", line 654, in require
   needed = self.resolve(parse_requirements(requirements))
 File "/usr/lib/python2.6/dist-packages/", line 552, in resolve
   raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: Exscript==v2.0.373-g27951ca"

Seems to me that exscript should be installed to /usr/local/lib/python2.6 instead of /usr/local/lib/python. Tried to move it manually, but it the same happens. Maybe I'm lacking some python distutils voodo.

Then I tried installing v2.0 with git checkout v2.0 and the instructions at

It worked. In this case "sudo make install" put the files in

So it gives the impression that some distutils-related "where-should-i-put-this?" code was fine in v2.0 and is broken now.

I'm glad to help with any testing/tweaking necessary.


Thanks for the bug report. I have a fix ready locally (SHA: 04a2b6d) and will push it soon. As a workaround, the following command should work:

make install SITE_DIR=/usr/local/lib/python2.6/dist-packages/

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment