<br>Thanks again. I believe I've now removed all ipython-related things from my computer. But there was one thing I wanted to point out before reinstalling. I looked for the directory<br><br> /usr/local/lib/python2.5/
<br><br>and it did not exist. The site-packages directory I managed to find that was clearly for Python 2.5 had the path<br><br>/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages<br><br>This directory held some packages (namely, scipy) that I had previously installed and successfully run from /usr/local/bin/python. I'm wondering if this is part of the problem, and if perhaps this directory needs to be specified somehow during the ipython install?
<br><br>Thanks again,<br>Jerome<br><br><br><div><span class="gmail_quote">On 8/9/07, <b class="gmail_sendername">Fernando Perez</b> <<a href="mailto:fperez.net@gmail.com">fperez.net@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On 8/9/07, Jerome Fung <<a href="mailto:jf1201@gmail.com">jf1201@gmail.com</a>> wrote:<br>><br>> Thank you for your prompt reply to my inquiry yesterday. I tried running<br>> /usr/local/bin/python setup.py
install<br>><br>> from the directory where ipython-0.8.1 was (my Desktop). But no<br>> documentation files appeared in /usr/local/share/doc, and I still could not<br>> run IPython from /usr/local/bin. I tried
<br>><br>> jeromes-ibook-g4:/usr/local/bin jerome$ /usr/local/bin/IPython<br>> Traceback (most recent call last):<br>> File "/usr/local/bin/IPython", line 5, in <module><br>> from pkg_resources import load_entry_point
<br>> ImportError: No module named pkg_resources<br>><br>> and got the same result as yesterday. Also, trying /usr/local/bin/python<br>> IPython.py gave a "No such file or directory" error. However, from the
<br>> Desktop directory containing ipython-0.8.1, typing "python ipython.py" does<br>> start up IPython, but within the Mac's default Python 2.3 rather than Python<br>> 2.5.<br>><br>> Also... do I need setuptools or not? Thanks very much again.
<br><br>No, as Ville explained, setuptools is NOT a dependency of ours. It<br>looks like you have a stray install for some reason.<br><br>The following should 'just work':<br><br>1. Remove every trace of ipython you can find on your system. Look
<br>under /usr/local/lib/python2.5/site-packages, and everywhere you can.<br>You seem to have stray copies installed, so let's clear them first.<br>In particular, remove that /usr/local/bin/IPython file that's giving
<br>trouble.<br><br><br>2. Go back to the .tar.gz you downloaded, and then do a clean<br><br>/usr/local/bin/python setup.py install<br><br>Please copy the entire output of the install to a file and send it<br>back, in case we spot any problems.
<br><br>Note that you may need to run the above as<br><br>sudo /usr/local/bin/python setup.py install<br><br>because this will try to write various files to /usr/local, and<br>normally (unless you've changed things) your normal user has no write
<br>privileges there.<br><br><br>Cheers,<br><br>f<br><br>ps - keep the list on the replies.<br></blockquote></div><br>