Ubuntu recently upgraded its Python distribution from 2.4 to 2.5.
Along the way, setup tools (read easy_install) seems to break itself.
If your python related installs are failing and getting errors like:E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up python-setuptools (0.6c3-1ubuntu4) ...
pycentral: pycentral pkginstall: already exists: /usr/lib/python2.4/site-packages/setuptools.pth
pycentral pkginstall: already exists: /usr/lib/python2.4/site-packages/setuptools.pth
Then python-setuptools need to be reinstalled.sudo apt-get remove python-setuptools
sudo apt-get install python-setuptools
This fixes the dependency issue and you should be able towithout getting errors.
easy_install Pylons TurboGears
2007年6月6日水曜日
Fixing python-setuptools in Ubuntu Feisty
投稿者
Vik
時刻:
13:45
登録:
コメントの投稿 (Atom)
0 コメント:
コメントを投稿