오늘도 거하게 삽질 하였다.
리눅스에서 가상환경을 실행하려고 하였는데
conda activate 가 안되네????
쉘에서 실행하면 안된다.
CommandNotFoundError: Your shell has not been properly configured to use 'conda activate'.
To initialize your shell, run
$ conda init <SHELL_NAME>
이런 에러가 뜬다.
근데 이게 또 신기한게 터미널에서 실행하면 된다.....
아 빡침....
잘 되는게 왜 안될까....
그래서 구글링 신나게 했다.
그랬더니 리눅스에서는 source activate라고 한다....
분명 윈도우에서는 잘됬었는데..ㅠ.ㅠ
와,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
source activate <가상환경 이름>
Anaconda를 활용한 python 가상환경(virtual env) 설정하기
Anaconda를 활용한 python 가상환경(virtual env) 설정하는 방법과 유용한 팁을 알아보겠습니다.
teddylee777.github.io
'Python' 카테고리의 다른 글
파이썬 타입 체크. if문으로 타입 체크!!! (0) | 2020.06.19 |
---|---|
python Oracle DB 연결 (0) | 2020.06.12 |
SyntaxError: Non-ASCII character 파이썬 에러 (0) | 2020.06.09 |
파이썬 mysql RuntimeError: cryptography is required for sha256_password or caching_sha2_password 해결법 (1) | 2020.06.09 |
파이썬 쓰레드사용한 소켓통신 (0) | 2020.06.08 |
댓글