The spyder tool of Python GUI works on Max OS
Install Python
Install Python 3.4.1 on Ubuntu
1 | sudo apt-get install libssl-dev openssl |
Install Python 3.4.1 on Mac
Mac has installed the python 2.7, if you want to use the latest version, go to the Python website and download.
Install the Python GUI on Mac
Step 1, Intall the Python
Step 2, Install the Anaconda
- Command-Line Install
1 | bash Anaconda2-2.4.1-MacOSX-x86_64.sh |
Step 3, Install MacPorts
Make sure that you have installed the XCode on mac, which is the encession to install “spyder”
Also for the MacPorts install reference
1 | curl -O https://distfiles.macports.org/MacPorts/MacPorts-2.3.3.tar.bz2 |
Then, edit the /etc/profile file, add the following comand
1 | export PATH=/opt/local/bin:/opt/local/sbin:$PATH |
For the first time to run:
1 | sudo port -v selfupdate |
And if you update failed, you can re-run it with debug output, likes:
1 | sudo port -d selfupdate |
Step 4, install spyder
1 | $ sudo port install python27 // if python27 dose not installed, then install it before activate |
After long time waiting. Then, begin our python journey, run the spyder in the terminal
1 | $ spyder |