Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.

Ticket #829 (closed defect: fixed)

Opened 13 years ago

Last modified 12 years ago

Automatic installation fails

Reported by: Han Thomas Owned by: anonymous
Priority: highest Milestone: 0.9
Component: CherryPy Version: 0.8
Severity: critical Keywords:


Followed the instructiosn to install.. Seemed easy, just two steps. However it ended it failure:

It seems some parts were installed. How do I get rid of those? I don't think I like this method of installation at all, what's wrong with using the regular Debian/Ubuntu? repositories so components can be reliably installed AND uninstalled? Anyway:

han@ubuntu:~$ sudo python ez_setup.py -f  http://www.turbogears.org/download/inde x.html --script-dir /usr/local/bin TurboGears Password: Downloading  http://cheeseshop.python.org/packages/2.4/s/setuptools/setuptools-0. 6a11-py2.4.egg Searching for TurboGears Reading  http://www.turbogears.org/download/index.html Best match: TurboGears 0.8.9 Downloading  http://www.turbogears.org/download/eggs/TurboGears-0.8.9-py2.4.egg Processing TurboGears-0.8.9-py2.4.egg creating /usr/lib/python2.4/site-packages/TurboGears-0.8.9-py2.4.egg Extracting TurboGears-0.8.9-py2.4.egg to /usr/lib/python2.4/site-packages Adding TurboGears 0.8.9 to easy-install.pth file Installing tg-admin script to /usr/local/bin

Installed /usr/lib/python2.4/site-packages/TurboGears-0.8.9-py2.4.egg Processing dependencies for TurboGears Searching for TestGears?>=0.2 Best match: TestGears? 0.2 Downloading  http://www.turbogears.org/download/eggs/TestGears-0.2-py2.4.egg Processing TestGears?-0.2-py2.4.egg Moving TestGears?-0.2-py2.4.egg to /usr/lib/python2.4/site-packages Adding TestGears? 0.2 to easy-install.pth file

Installed /usr/lib/python2.4/site-packages/TestGears-0.2-py2.4.egg Searching for setuptools>=0.6a8 Best match: setuptools 0.6a9dev-r41857 Downloading  http://www.turbogears.org/download/eggs/setuptools-0.6a9dev_r41857-p y2.4.egg Processing setuptools-0.6a9dev_r41857-py2.4.egg creating /usr/lib/python2.4/site-packages/setuptools-0.6a9dev_r41857-py2.4.egg Extracting setuptools-0.6a9dev_r41857-py2.4.egg to /usr/lib/python2.4/site-packa ges Adding setuptools 0.6a9dev-r41857 to easy-install.pth file Installing easy_install script to /usr/local/bin Installing easy_install script to /usr/local/bin Installing easy_install.py script to /usr/local/bin

Installed /usr/lib/python2.4/site-packages/setuptools-0.6a9dev_r41857-py2.4.egg Searching for FormEncode>=0.4 Best match: FormEncode 0.4 Downloading  http://www.turbogears.org/download/eggs/FormEncode-0.4-py2.4.egg Processing FormEncode-0.4-py2.4.egg creating /usr/lib/python2.4/site-packages/FormEncode-0.4-py2.4.egg Extracting FormEncode-0.4-py2.4.egg to /usr/lib/python2.4/site-packages Adding FormEncode 0.4 to easy-install.pth file

Installed /usr/lib/python2.4/site-packages/FormEncode-0.4-py2.4.egg Searching for cElementTree>=1.0.2 Best match: cElementTree 1.0.5-20051216 Downloading  http://www.turbogears.org/download/eggs/cElementTree-1.0.5-20051216. tar.gz Processing cElementTree-1.0.5-20051216.tar.gz Running cElementTree-1.0.5-20051216/setup.py -q bdist_egg --dist-dir /tmp/easy_i nstall-S4jCHl/cElementTree-1.0.5-20051216/egg-dist-tmp-x9FGXp error: /usr/include/python2.4/pyconfig.h: No such file or directory han@ubuntu:~$

Change History

comment:1 Changed 13 years ago by godoy

If you have packages for all components, then you can use them. You should only respect version requirements and that's all.

Your error is because you're missing some kind of "python-devel" package installed. cElementTree is a binary extension to make XML (Kid's templates, for example) processing faster.

Also, if you take a look at the help you'll see that using triple braces on a line before and on a line after your quotation -- from the shell, code, etc. -- it will make your text more readable. (Use them without spaces like in { { { something } } } )

Please, after installing the devel package come back to this bug and tells us if it solved your problem or not.

comment:2 Changed 13 years ago by kaapstorm

  • Status changed from new to closed
  • Resolution set to fixed

I had the same problem. This seemed to fix it:

$ sudo apt-get install python-dev libc6-dev gcc

I agree though, ez_setup does make installing easier, and I can understand not bothering with distro-specific packages, but it would be very nice to see "ez_remove.py", and maybe even "ez_list.py" to see what it installed. Just my 5c.

Note: See TracTickets for help on using tickets.