[Pythonmac-SIG] distutils.errors.DistutilsFileError: file '/Library/Python/2.5/site-packages/setuptools-0.6c8-py2.5.egg/pkg_resources.pyc' does not exist
Lukáš 'Spike' Polívka
lukas.polivka at gmail.com
Thu Mar 27 21:10:51 CET 2008
On Thu, Mar 27, 2008 at 10:23 AM, Ronald Oussoren
<ronaldoussoren at mac.com> wrote:
> Could you post the exact setup you're using again:
> - Which version of OSX?
> - Which copy of python (/usr/bin/python, Python.org installer, ...)
> - How did you install PyQt (and which version)?
> - How did you install Twisted (and which version)?
> - The setup.py you're using
> - Link to the software
> - Anything else that might be relevant to reproduce the problem
I'm using 10.5.2. Today, I have also reinstalled it (archive &
install) to make sure I don't have borken system. I use
Here are the steps I have undertaken after reinstall to get Jabbim working:
Installed Xcode Tools 3 from DVD
Installed Qt 4.3.4 from Trolltech's DMG
sudo easy_install -U setuptools # installed:
export PYTHONPATH=/Library/Python/2.5/site-packages # because of newer
sudo /usr/local/bin/easy_install -U py2app==dev # /usr/local because
of newer easy_install script
sudo make install
sudo make install
Twisted: Twisted-8.0.1_py2.5_osx10.5.pkg # installed to
/Library/Python/2.5/site-packages/, as opposed to Leopard-bundled
version 2.4, which is in /System/Library/Frameworks/…
Now, if I want my python interpreter to use my new Twisted, I have to
export PYTHONPATH=/Library/Python/2.5/site-packages, otherwise
Leopard-bundled version is used.
To get Jabbim from Subversion repository (I use jabbim-ng for
svn co svn://dev.jabbim.cz/jabbim/trunk jabbim-ng
# Make sure you have our PYTHONPATH=/Library/Python/2.5/site-packages exported
Now Jabbim should run.
Now edit jabbim.py and insert after line 22:
Use my setup.py and jabbim.icns*
python setup.py py2app
Run Jabbim.app. (At this point, libqjpeg.dynload & friends are not
installed… maybe I should use my own, static-compiled Qt in the
*I have uploaded them here:
I hope my info helps a little.
IM (XMPP/Jabber/Google Talk): spike411 at jabber.cz
ICQ, AIM, MSN: Never ever!
More information about the Pythonmac-SIG