❍ 가상환경 생성시 CondaError: Unable to create prefix directory 오류
~ /opt/homebrew/anaconda3/condabin/conda create -p /Users/lucas/.conda/envs/python -y python=3.10
~
~
~
Preparing transaction: ...working... failed
CondaError: Unable to create prefix directory '/Users/lucas/.conda/envs/python'.
Check that you have sufficient permissions.
❍ 해결 (solve)
- 가상환경 생성
~ sudo chown -R 501:20 /Users/<username>/.conda/
~ /opt/homebrew/anaconda3/condabin/conda create -p /Users/lucas/.conda/envs/python
Collecting package metadata (current_repodata.json): done
Solving environment: done
## Package Plan ##
environment location: /Users/lucas/.conda/envs/python
Proceed ([y]/n)? y
Preparing transaction: done
Verifying transaction: done
Executing transaction: done
#
# To activate this environment, use
#
# $ conda activate /Users/lucas/.conda/envs/python
#
# To deactivate an active environment, use
#
# $ conda deactivate
'+++팁+++' 카테고리의 다른 글
MariaDB 설치 (Silicon Macs/M1) (0) | 2022.03.25 |
---|---|
htaccess 수정 및 활용(Rewrite,RewriteCond,RewriteRule) (0) | 2022.03.25 |
pycharm jupyter notebook 연결 + pycharm git 연결 (jupyter notebook git 연동) (0) | 2022.03.17 |
mac) conda 명령어 안먹힐때 (feat. homebrew zsh) + Anaconda) 아나콘다 명령어 모음 Anaconda Command Collection (0) | 2022.03.16 |
mac) chromedriver 설치 (feat.homebrew) (0) | 2022.03.16 |