<div dir="ltr">I&#39;ve got a new iMac, have installed Python 2.5.2 on it, and am now trying to run my existing Python programs&nbsp;on it&nbsp;(these are typically number crunching programs that I run from IDLE). Some things work, while others don&#39;t, and as this is my first time grappling with Unix and MacOS X, I appreciate some guidance on how to get up and running. Here are details of my setup interspersed with my woes and my questions. Your assistance is greatly appreciated.<div>
<br></div><div>Item 1. I downloaded and installed 2.5.2 from <a href="http://python.org">python.org</a>. Runs fine, it installed a MacPython directory under applications, which has a few icons, including IDLE. However, I have absolutely NO idea where all the Python files are kept.</div>
<div><br></div><div>Question 1: How can I locate the Python installation? There a few files under&nbsp;Applications &gt; MacPython 2.5, but this is clearly not the entire installation.</div><div><br></div><div>Question 2: In Finder, If I click on Search For &gt; Past week, I can see a sequence of folders under the horizontal scroll bar at the bottom of the window, allowing me to determine that some files that were placed under Applications &gt; MacPython 2.5&gt; Extra&gt; Demo. But I do not seem to be able to see the&nbsp;sequence of folders under the horizontal scroll bar&nbsp;in any finder window. What do I need to do to make the folder sequence visible in all Finder Windows?</div>
<div><br></div><div><br></div><div>Item 2. I downloaded and installed the SciPy superpack from Macinscience,org. Scipy seems to import correctly into the Python 2.5.1 that comes with the Mac, but i cannot import it into MacPython <a href="http://2.5.2.">2.5.2.</a>&nbsp;</div>
<div><br></div><div>Question 3. What do I have to do in order to make SciPy work with both Python 2.5.1 (that comes with the Mac) and 2.5.2 (that I installed myself)?</div><div><br></div><div><br></div><div>Item 3. I accidentally clicked on something (not sure what) and suddenly found the path to the numpy folder was Macintosh HD &gt; Developer &gt; SDKs &gt; MacOSX10.5.sdk&gt;System&gt; Library&gt;Frameworks&gt;Python.framework&gt;Versions&gt;2.5&gt;extras&gt;lib&gt;Python&gt;numpy.</div>
<div>This is insane!!! Where would the superpack have installed SciPy, and how can I find it?</div><div><br></div><div>Question 4. How do I get MacPython 2.5.2 to see SciPy, NumPy etc.</div><div>Question 5. How can I find the current value of the PYTHONPATH environment variable, and how can I edit it and add a directory in which I keep my Python programs.</div>
<div>Question 6. Apparently there&#39;s a Property List Editor that must be used to create a file called&nbsp;<span class="Apple-style-span" style="font-family: avantgarde; font-size: 16px; ">~ /.MacOSX/environment.plist. I can&#39;t find a directory called ~/.MacOSX. Is this a hidden directory?</span></div>
<div><span class="Apple-style-span" style="font-family: avantgarde; font-size: 16px;"><br></span></div><div><br></div><div>Item 4. I opened a terminal window, and typed ipython. Here&#39;s what I got:</div><div><br></div>
<div><div>Welcome to IPython. I will try to create a personal configuration directory</div><div>where you can customize many aspects of IPython&#39;s functionality in:</div><div><br></div><div>/Users/tom/.ipython</div><div>
WARNING:&nbsp;</div><div>Installation error. IPython&#39;s directory was not found.</div><div><br></div><div>Check the following:</div><div><br></div><div>The ipython/IPython directory should be in a directory belonging to your</div>
<div>PYTHONPATH environment variable (that is, it should be in a directory</div><div>belonging to sys.path). You can copy it explicitly there or just link to it.</div><div><br></div><div>IPython will create a minimal default configuration for you.</div>
<div>Ipython actually runs once I hit enter, but I do not seem to be able to import and run my programs.</div><div><br></div><div>Question 7. What is this cryptic message all about? I&#39;m completely confused.</div><div>
<br></div><div><br></div><div>I never thought I&#39;d say this, but it actually seemed a lot easier to get Python and any associated programs up and running on Windows! I suspect that a large fraction of my troubles are due to the fact that I am brand new to the Mac and to Unix, but I bought the Mac in part because I thought that using it was effortless.</div>
<div><br></div><div>Thank you in advance for your help.</div><div><br></div><div>Sincerely</div><div><br></div><div>Thomas Philips</div></div></div>