mirror of
https://github.com/ViViDboarder/shoestrap.git
synced 2024-12-03 17:46:47 +00:00
Update user python paths
This commit is contained in:
parent
890d050b58
commit
fe72eff573
@ -35,7 +35,11 @@ elif [[ "$DET_OS" == "mac" ]]; then
|
||||
|
||||
# Fix Python path on OSX to avoid considering System extras over newer versions
|
||||
# Local
|
||||
export PATH=$HOME/Library/Python/3.9/bin:$HOME/Library/Python/2.7/bin:$PATH
|
||||
export PATH=$HOME/Library/Python/2.7/bin:$PATH
|
||||
export PATH=$HOME/Library/Python/3.8/bin:$PATH
|
||||
export PATH=$HOME/Library/Python/3.9/bin:$PATH
|
||||
export PATH=$HOME/Library/Python/3.10/bin:$PATH
|
||||
export PATH=$HOME/Library/Python/3.11/bin:$PATH
|
||||
# Python path is causing other issues
|
||||
# export PYTHONPATH=$HOME/Library/Python/2.7/lib/python/site-packages:$PYTHONPATH
|
||||
# MacPorts and system
|
||||
|
@ -35,7 +35,11 @@ elif [[ "$DET_OS" == "mac" ]]; then
|
||||
|
||||
# Fix Python path on OSX to avoid considering System extras over newer versions
|
||||
# Local
|
||||
export PATH=$HOME/Library/Python/3.9/bin:$HOME/Library/Python/2.7/bin:$PATH
|
||||
export PATH=$HOME/Library/Python/2.7/bin:$PATH
|
||||
export PATH=$HOME/Library/Python/3.8/bin:$PATH
|
||||
export PATH=$HOME/Library/Python/3.9/bin:$PATH
|
||||
export PATH=$HOME/Library/Python/3.10/bin:$PATH
|
||||
export PATH=$HOME/Library/Python/3.11/bin:$PATH
|
||||
# Python path is causing other issues
|
||||
# export PYTHONPATH=$HOME/Library/Python/2.7/lib/python/site-packages:$PYTHONPATH
|
||||
# MacPorts and system
|
||||
|
@ -41,6 +41,7 @@ if [ $det_os = "mac" ]
|
||||
_maybe_set -p PATH "$HOME/Library/Python/3.8/bin"
|
||||
_maybe_set -p PATH "$HOME/Library/Python/3.9/bin"
|
||||
_maybe_set -p PATH "$HOME/Library/Python/3.10/bin"
|
||||
_maybe_set -p PATH "$HOME/Library/Python/3.11/bin"
|
||||
# set -gx PYTHONPATH $HOME/Library/Python/2.7/lib/python/site-packages:$PYTHONPATH
|
||||
# Macports
|
||||
_maybe_set -a PATH /opt/local/Library/Frameworks/Python.framework/Versions/Current/bin
|
||||
|
Loading…
Reference in New Issue
Block a user