http://www.macworld.co.uk/how-to/mac/coding-with-python-on-mac-3635912/
Python 3 is the newer version of Python, so you can be forgiven for
assuming that it's the best version. "Best" is pretty relative, though,
and although Python 3 introduces a lot of new features, it also
introduced a lot of incompatibilities.
Because coding in Python relies on using libraries of code developed by other people, this isn't a good thing.
Also, we've found that the major learning programs, from MIT to
Codecademy, all use Python 2 to explain coding. These programs won't
always work if you're using Python 3. So until you know what you're
doing, stick with Python 2.
This page seems to give a lot of the same instructions as the page below, The Hitchhiker's Guide to Python.
---------------------------------------
http://docs.python-guide.org/en/latest/starting/install/osx/
This opinionated guide exists to provide both novice and expert Python
developers a best practice handbook to the installation, configuration,
and usage of Python on a daily basis.
The version of Python that ships with OS X is great for learning but it’s not
good for development. The version shipped with OS X may be out of date from the
official current Python release,
which is considered the stable production version.
----------------------------------
16-8-15
Installed Xcode 7.3.1
------------------------------------------
https://developer.apple.com/news/?id=09222015a
To verify the identity of your copy of Xcode run the following command in Terminal on a system with Gatekeeper enabled:
spctl --assess --verbose /Applications/Xcode.app
where
/Applications/ is the directory where Xcode is installed. This tool
performs the same checks that Gatekeeper uses to validate the code
signatures of applications. The tool can take up to several minutes to
complete the assessment for Xcode.
The tool should return the following result for a version of Xcode downloaded from the Mac App Store:
/Applications/Xcode.app: accepted
source=Mac App Store
and for a version downloaded from the Apple Developer web site, the result should read either
/Applications/Xcode.app: accepted
source=Apple
or
/Applications/Xcode.app: accepted
source=Apple System
16-8-15 I did this, but terminal is not returning anything. Kinda stuck...
After several minutes, it says:
/Applications/Xcode.app: accepted
source=Mac App Store
--------------------------------------
16-8-15
Installed Homebrew.
By typing:
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
Installed version confirmed:
brew --version
Homebrew 0.9.9 (git revision 4309; last commit 2016-08-14)
Homebrew/homebrew-core (git revision 8e02; last commit 2016-08-14)
Installed pip by typing:
sudo easy_install pip
pip --version
pip 8.1.2 from /Library/Python/2.7/site-packages/pip-8.1.2-py2.7.egg (python 2.7)
-----------------------
Installed SublimeText because it's #3 on SERP for "python text editor for mac"
Also:
Sublime Text:
This is my personal favourite. You can download and use it for free,
although it'll occasionally nag you into paying for it. A slick
interface that's easy on the eyes with great formatting control.
http://www.macworld.co.uk/how-to/mac/coding-with-python-on-mac-3635912/
Sublime Text is available for OS X, Windows and Linux.
----------------------
ddd
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.