Skip to content

Instantly share code, notes, and snippets.

@bo01ean
Created December 15, 2017 00:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bo01ean/b1fe2121880e76877aef6727100444c6 to your computer and use it in GitHub Desktop.
Save bo01ean/b1fe2121880e76877aef6727100444c6 to your computer and use it in GitHub Desktop.
PIP=
# Install python3 you don't have python3:
if python -V 2>&1 | grep -qE "3\.[0-9]\.[0-9]"; then
echo "python3 found as system python. we can just use pip."
PIP=pip
elif command -v python3 1>/dev/null; then
echo "python3 found on path, wiring in pip3"
PIP=pip3
else
echo "We need python3"
brew install python3
fi
echo $PIP
$PIP install jupyter -U
# Wire to atom
apm install hydrogen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment