From: <rb...@ca...> - 2007-07-30 23:41:58
|
Marconi wrote: [snip] > I don't have a /usr/lib/python2.5 directory. My 2.5 seems to be install= ed at: > /Library/Frameworks/Python.framework/Versions/2.5/bin/python2.5 >=20 > I'm running: > ns1:/DenyHosts-2.6 root# python setup.py install > running install > running build > running build_py > running build_scripts > running install_lib > running install_scripts > changing mode of=20 > /Library/Frameworks/Python.framework/Versions/2.5/bin/denyhosts.py=20 > to 755 > running install_data > running install_egg_info > Removing=20 > /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-pa= ckages/DenyHosts-2.6-py2.5.egg-info > Writing=20 > /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-pa= ckages/DenyHosts-2.6-py2.5.egg-info > ns1:/DenyHosts-2.6 root# >=20 >=20 > What am I doing incorrectly? Nothing that I can see. Let's try some basic tests: 1. Run python 2. Inside the interpreter type: import sys print sys.path ^D What's the path shown that includes "site-packages", is the same as above= , /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-pack= ages? Does /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-pack= ages/DenyHosts exist? are the libraries there? (stop if you found the problem solution) 3. Try `python --force setup.py install`, this will install all files aga= in (so you can see what went where), or `python --dry-run --force setup.py insta= ll`. Obviously I don't know what went wrong, so I'm just suggesting some tests= to find out. --=20 Ren=E9 Berber |