setup pip3/python3/pipenv
This commit is contained in:
parent
b086b6d4f0
commit
94b5877764
@ -35,11 +35,17 @@ defaults write http://com.apple .screencapture location ~/Downloads
|
|||||||
```
|
```
|
||||||
sudo easy_install pip
|
sudo easy_install pip
|
||||||
sudo pip install --upgrade pip
|
sudo pip install --upgrade pip
|
||||||
|
|
||||||
|
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
|
||||||
|
sudo python3 get-pip.py
|
||||||
sudo pip3 install --upgrade pip
|
sudo pip3 install --upgrade pip
|
||||||
|
ln -s /usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/bin/pip pip3
|
||||||
|
export PATH=$PATH:/usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/bin/
|
||||||
```
|
```
|
||||||
|
|
||||||
### Install AWS-CLI
|
### Install AWS-CLI
|
||||||
```
|
```
|
||||||
pip3 install boto3
|
pip3 install boto3
|
||||||
pip3 install awscli
|
pip3 install awscli
|
||||||
|
pip3 install pipenv
|
||||||
```
|
```
|
||||||
|
@ -45,7 +45,8 @@ alias ssla="openssl x509 -alias -noout -in" # Usage : ssla <cert>
|
|||||||
alias v=vi
|
alias v=vi
|
||||||
alias tunnel='sshuttle --dns -r "$(whoami)@management.collibra.com" 0/0'
|
alias tunnel='sshuttle --dns -r "$(whoami)@management.collibra.com" 0/0'
|
||||||
alias ls='lsd'
|
alias ls='lsd'
|
||||||
|
alias pip3='/usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/bin/pip'
|
||||||
|
alias pip='pip3'
|
||||||
# Show/hide hidden files in Finder
|
# Show/hide hidden files in Finder
|
||||||
alias show="defaults write com.apple.finder AppleShowAllFiles -bool true && killall Finder"
|
alias show="defaults write com.apple.finder AppleShowAllFiles -bool true && killall Finder"
|
||||||
alias hide="defaults write com.apple.finder AppleShowAllFiles -bool false && killall Finder"
|
alias hide="defaults write com.apple.finder AppleShowAllFiles -bool false && killall Finder"
|
||||||
@ -56,3 +57,4 @@ alias showdesktop="defaults write com.apple.finder CreateDesktop -bool true && k
|
|||||||
|
|
||||||
# Flush Directory Service cache
|
# Flush Directory Service cache
|
||||||
alias flush="dscacheutil -flushcache && killall -HUP mDNSResponder"
|
alias flush="dscacheutil -flushcache && killall -HUP mDNSResponder"
|
||||||
|
|
||||||
|
@ -103,5 +103,6 @@ ln -s "$HOME/.config/Code/User/settings.json" "$HOME/Library/Application Support
|
|||||||
export SDKMAN_DIR="$HOME/.sdkman"
|
export SDKMAN_DIR="$HOME/.sdkman"
|
||||||
[[ -s "$HOME/.sdkman/bin/sdkman-init.sh" ]] && source "$HOME/.sdkman/bin/sdkman-init.sh"
|
[[ -s "$HOME/.sdkman/bin/sdkman-init.sh" ]] && source "$HOME/.sdkman/bin/sdkman-init.sh"
|
||||||
sdk use java 8.0.202-zulu
|
sdk use java 8.0.202-zulu
|
||||||
|
export PATH=$PATH:/usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/bin/
|
||||||
|
|
||||||
sh ~/.scripts/resume.sh
|
sh ~/.scripts/resume.sh
|
||||||
|
Loading…
Reference in New Issue
Block a user