Update user python paths

This commit is contained in:
ViViDboarder 2023-10-31 08:58:30 -07:00
parent 890d050b58
commit fe72eff573
3 changed files with 11 additions and 2 deletions

View File

@ -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

View File

@ -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

View File

@ -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