Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>I just recently installed spyder via MacPorts. (the command I chose was <code>sudo port install py27-spyder</code>, which installed Spyder v.2.2.3 on Mac OS 10.7.5 &amp; Python 2.7.5)</p> <p>At the end of the Spyder installation, the terminal showed "use command <code>spyder</code> to launch" (or something to that effect)</p> <p>So, for me, I simply had to type <code>spyder</code> into a terminal to launch it. Your error referring to missing spyderlib might mean that your spyder installation did not in fact complete properly. (I have found it's not uncommon to have to track down 2-3 weird bugs and dependencies for complex MacPorts installs). If you find it did complete properly, then perhaps the MacPorts directory was not added to your PATH. It you open <code>~/.profile</code>, you should seen that MacPorts added it's directory to the shell's search path. Here's what the MacPorts installer added to my .profile:</p> <pre><code># MacPorts Installer addition on 2012-11-19_at_17:16:31: adding an appropriate PATH variable fo$ export PATH=/opt/local/bin:/opt/local/sbin:$PATH # Finished adapting your PATH environment variable for use with MacPorts. </code></pre> <p>To make a Mac OS-friendly icon to launch Spyder, I then made a new text file (I did it with Terminal.app><em>pico</em>) containing the following text:</p> <pre><code>#!/bin/bash spyder </code></pre> <p>and saved the file as <code>spyder.command</code>. This file is now double-clickable and will launch Spyder (and an alias to it can have a more normal name like "Launch Spyder"). Throw it into the <em>/Applications</em> folder &amp; make an Icon for it via <em>/Utilities/Icon Composer.app</em> (grab the Spyder icon on the website) and it's like a Pythonic Matlab!</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload