Notice
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | |||||
3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 | 11 | 12 | 13 | 14 | 15 | 16 |
17 | 18 | 19 | 20 | 21 | 22 | 23 |
24 | 25 | 26 | 27 | 28 | 29 | 30 |
Tags
- pyTorch
- gpu memory
- install
- error
- Deep Learning
- TensorFlow
- windows
- shakeratos
- ubuntu
- Jupyter notebook
- python
- dlib
- raspberry pi
- colaboratory
- CUDA
- YouTube 8M
- ppc64le
- linux
- Anaconda
- python3
- keras
- download
- urllib
- dataset
- colab
- FIle
- face_recognition
- object detection
- 딥러닝
- Windows 10
Archives
- Today
- Total
Shakerato
Anaconda on Linux, root can't activate my env 본문
When we install anaconda, we can change the default path to be installed to the custom path such as below
/home/[user_name]/anaconda3/
to
/opt/anaconda3 or ~/anaconda3
If we use the default path after anaconda is installed,
root user can't activate my environment because the default path is only for the [user_name]
Here is a solution.
1. Open .bashrc file
vi ~/.bashrc
2.Add below text at the bottom of the .bashrc file and save it
export PATH="/home/[user_name]/anaconda3/bin:$PATH"
3. Try to activate your environment after "sudo su"
----------------------------------------------------------------------
'Research' 카테고리의 다른 글
HTK, SOX 설치 (ubuntu 18.04 64bit) (0) | 2021.02.08 |
---|---|
Check valid webcams with cv2, python (0) | 2020.11.18 |
initialize the empty list in the dictionary' in Python (0) | 2020.09.05 |
Upper Confidence Bound (UCB) 정리, 보충 설명 (0) | 2020.09.03 |
vscode 파일 항상 새창에 열기 (0) | 2020.08.27 |
Comments