chldydgh4687 / 00Self-Linux_trial_and_error

Linux & DeepLearning
0 stars 0 forks source link

[Solved] [Linux] ANACONDA2 conda 명령어에러( NotWritableError: The current user does not have write permissions...) #7

Open chldydgh4687 opened 4 years ago

chldydgh4687 commented 4 years ago

가상환경 생성하는 명령어를 쳤다

conda create --name ai python=2.7

[Problem]

NotWritableError: The current user does not have write permissions to a required path.
  path: /home/yonge/.conda/envs/.conda_envs_dir_test
  uid: 1000
  gid: 1000

If you feel that permissions on this path are set incorrectly, you can manually
change them by executing

  $ sudo chown 1000:1000 /home/yonge/.conda/envs/.conda_envs_dir_test

In general, it's not advisable to use 'sudo conda'.

[Solved] 다음의 명령어를 실행하고 해결됬다.

sudo chown -R '사용자' anaconda2

conda config --add channels conda-canary
conda update -n base conda