I can fix electronics but code stuff is something of vuddo magic.
Here is what I have so far. Homebrew installed successfully. Python installed not sure it installed right.
Server-2:~ server$ /usr/bin/ruby -e “$(curl -fsSL http raw.githubusercontent.com/Homebrew/install/master/install)”
==> This script will install:
/usr/local/bin/brew
/usr/local/share/doc/homebrew
/usr/local/share/man/man1/brew.1
/usr/local/share/zsh/site-functions/_brew
/usr/local/etc/bash_completion.d/brew
/usr/local/Homebrew
Press RETURN to continue or any other key to abort
==> /usr/bin/sudo /bin/mkdir -p /Library/Caches/Homebrew
Password:
==> /usr/bin/sudo /bin/chmod g+rwx /Library/Caches/Homebrew
==> /usr/bin/sudo /usr/sbin/chown server /Library/Caches/Homebrew
==> Downloading and installing Homebrew…
remote: Counting objects: 3, done.
remote: Compressing objects: 100% (1/1), done.
remote: Total 3 (delta 2), reused 3 (delta 2), pack-reused 0
Unpacking objects: 100% (3/3), done.
From https:github.com/Homebrew/brew
- 0c82cce…8f82e89 master -> origin/master (forced update)
HEAD is now at 8f82e89 README: update license name.
Updated 1 tap (homebrew/core).
==> Cleaning up /Library/Caches/Homebrew…
==> Migrating /Library/Caches/Homebrew to /Users/server/Library/Caches/Homebrew…
==> Deleting /Library/Caches/Homebrew…
==> Renamed Formulae
libmongoclient -> mongo-cxx-driver mongo-c -> mongo-c-driver
==> Deleted Formulae
libbson libmongoc
==> Installation successful!
==> Homebrew has enabled anonymous aggregate user behaviour analytics.
Read the analytics documentation (and how to opt-out) here:
httpsgit.io/brew-analytics
==> Next steps:
Server-2:~ server$ brew install python
Warning: Building python from source:
The bottle needs the Apple Command Line Tools to be installed.
You can install them, if desired, with:
xcode-select --install
==> Using the sandbox
==> Downloading httpswww.python.org/ftp/python/2.7.12/Python-2.7.12.tar.xz
######################################################################## 100.0%
==> Downloading https//bugs.python.org/file30805/issue10910-workaround.txt
######################################################################## 100.0%
==> Patching
==> Applying issue10910-workaround.txt
patching file Include/pyport.h
Hunk #1 succeeded at 713 (offset 14 lines).
Hunk #2 succeeded at 736 (offset 14 lines).
==> ./configure --prefix=/usr/local/Cellar/python/2.7.12_2 --enable-ipv6 --datarootdi
==> make
==> make install PYTHONAPPSDIR=/usr/local/Cellar/python/2.7.12_2
==> make frameworkinstallextras PYTHONAPPSDIR=/usr/local/Cellar/python/2.7.12_2/share
==> Downloading https//files.pythonhosted.org/packages/9f/7c/0a33c528164f1b7ff8cf068
######################################################################## 100.0%
==> Downloading https//files.pythonhosted.org/packages/e7/a8/7556133689add8d1a54c0b1
######################################################################## 100.0%
==> Downloading https//files.pythonhosted.org/packages/c9/1d/bd19e691fd4cfe908c76c42
######################################################################## 100.0%
==> /usr/local/Cellar/python/2.7.12_2/bin/python -s setup.py --no-user-cfg install –
==> /usr/local/Cellar/python/2.7.12_2/bin/python -s setup.py --no-user-cfg install –
==> /usr/local/Cellar/python/2.7.12_2/bin/python -s setup.py --no-user-cfg install –
==> Caveats
Pip and setuptools have been installed. To update them
pip install --upgrade pip setuptools
You can install Python packages with
pip install
They will install into the site-package directory
/usr/local/lib/python2.7/site-packages
See: https//github.com/Homebrew/brew/blob/master/docs/Homebrew-and-Python.md
.app bundles were installed.
Run brew linkapps python
to symlink these to /Applications.
==> Summary
/usr/local/Cellar/python/2.7.12_2: 6,289 files, 85.5M, built in 5 minutes 19 seconds
Server-2:~ server$ pip install --upgrade pip setuptools
Collecting pip
Downloading pip-9.0.1-py2.py3-none-any.whl (1.3MB)
100% |████████████████████████████████| 1.3MB 569kB/s
Collecting setuptools
Downloading setuptools-30.0.0-py2.py3-none-any.whl (472kB)
100% |████████████████████████████████| 481kB 1.1MB/s
Installing collected packages: pip, setuptools
Found existing installation: pip 8.1.2
Uninstalling pip-8.1.2:
Successfully uninstalled pip-8.1.2
Found existing installation: setuptools 23.1.0
Uninstalling setuptools-23.1.0:
Successfully uninstalled setuptools-23.1.0
Successfully installed pip-9.0.1 setuptools-30.0.0
Server-2:~ server$ brew linkapps python
Linking: /usr/local/opt/python/IDLE.app
Linking: /usr/local/opt/python/Python Launcher.app
Linked 2 apps to /Applications
Server-2:~ server$