반응형
M1 실리콘 맥에서 프로파일 설정 때문인지 프로그램 설치가 제대로 되지 않아서
zsh 프로파일 설정을 아래와 같이 재 설정 했다
# vi ~/.zshrc
export JAVA_HOME=$(/usr/libexec/java_home)
export PATH=$JAVA_HOME/bin:$PATH
export JAVA_HOME=$(/usr/libexec/java_home)
export PATH=$JAVA_HOME/bin:$PATH
export ANDROID_HOME=/Users/pj/Library/Android/sdk
export PATH=$ANDROID_HOME:$PATH
export PATH=$ANDROID_HOME/platform-tools:$PATH
export PATH=$ANDROID_HOME/tools:$PATH
export PATH=$ANDROID_HOME/emulator:$PATH
export PATH=$ANDROID_HOME/bundle-tool:$PATH
export PATH=${PATH}:/Users/qatest/Library/Android/sdk/bundle-tool
export OPENCV_LIB_DIR=/opt/homebrew/Cellar/opencv/4.7.0/lib
export PATH=${PATH}:/usr/local/bin/node
export PATH=${PATH}:/usr/local/bin/npm
export NVM_DIR=~/.nvm
source $(brew --prefix nvm)/nvm.sh
# export NVM_DIR="$HOME/.nvm"
# [ -s "/usr/local/opt/nvm/nvm.sh" ] && . "/usr/local/opt/nvm/nvm.sh" # This loads nvm
# [ -s "/usr/local/opt/nvm/etc/bash_completion.d/nvm" ] && . "/usr/local/opt/nvm/etc/bash_completion.d/nvm" # This loads nvm bash_completion
# [ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
# export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")"
# [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
# Setting PATH for Python 3.10
PATH="/Library/Frameworks/Python.framework/Versions/3.10/bin:${PATH}"
export PATH
eval "$(/opt/homebrew/bin/brew shellenv)"
alias python="/usr/bin/python3"
alias pip="/opt/homebrew/opt/python@3.10/libexec/bin"
기존 프로파일도 쓸수 있으니 주석처리로 동작 안하게 변경
반응형
'Data.Box' 카테고리의 다른 글
Chrome 드라이버 버전이 맞지 않습니다?! (0) | 2023.09.12 |
---|---|
Rendering Performence Test Report & analysis (0) | 2017.03.14 |
Test case template (0) | 2016.03.29 |
시뮬레이션 (0) | 2015.08.05 |