๐ถ ์๋ฌ
conda๋ก ๊ฐ์ ํ๊ฒฝ์ ์ค์นํ๊ณ , activate ํ๋ ์ค ์ ๋ชฉ๊ณผ ๊ฐ์ ์๋ฌ๊ฐ ๋ฐ์ํ๋ค.
์๋ฌ ๋ด์ฉ๋๋ก conda init ์คํ ํ, activate ํด๋ดค๋ค.. ์๋๋ค..
CondaError: Run 'conda init' before 'conda activate'
๐ถ ๋ด์ฉ
for changes to take effect, close and re-open your current shell
ํน์ ์ค์ ๋ณ๊ฒฝ์ฌํญ์ด๋ ์ํํธ์จ์ด ์ด๊ธฐํ ๋ช ๋ น์ด ์ ์ฉ๋๊ธฐ ์ํด ์ฌ์ฉ์๊ฐ ํ์ฌ ์ฌ์ฉ ์ค์ธ
์ (ํฐ๋ฏธ๋ ๋๋ ๋ช ๋ น ํ๋กฌํํธ)์ ์ข ๋ฃํ๊ณ ๋ค์ ์ด์ด์ผ ํจ์ ์๋ฏธ ...
ํ๋ค๊ณ ํ๋ค.
๐ถ ์กฐ์น
Windows PowerShell์์ ๋ค์๊ณผ ๊ฐ์ ๋ช ๋ น์ด๋ฅผ ์ํํ๋ฉด ํด๊ฒฐ๋๋ค.
> get-help Set-ExecutionPolicy
> Set-ExecutionPolicy RemoteSigned
๐ถ ์ฐธ๊ณ
[anaconda] conda activate ๋์ํ์ง ์์ ๋ (conda init ๊ด๋ จ ์ค๋ฅ)
๋ฌธ์ ์ํฉ conda ์ค์น ํ init์ ์ํํ์์ผ๋ ์ดํ ๊ฐ์ ํ๊ฒฝ ํ์ฑํ ๋ฑ์ด ๋์ํ์ง ์๋ ์ํฉ. $ conda activate base CommandNotFoundError: Your shell has not been properly configured to use 'conda activate'. To initialize your
data-scient2st.tistory.com
Conda CondaError: Run 'conda init' (Windows)
conda activate ๋ช ๋ น์ด ์ ๋ ฅ์ [conda init before conda activate] ๋ฌธ๊ตฌ๊ฐ ๋์ "conda init"์ ํ๋๋ [CondaError: Run 'conda init'] ์๋ฌ๊ฐ ๋ฐ์. ๊ทธ๋ฌํ ๊ฒฝ์ฐ "Windows PowerShell"์ "๊ด๋ฆฌ์๋ก ์คํ"ํ ํ ๋ค์๊ณผ ๊ฐ์ ๋ช
seokbong.tistory.com
'๊ฐ๋ฐ > Python' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
(Python) vsCode์์ ๊ฐ์ํ๊ฒฝ ์ค์ ํ๊ธฐ (ModuleNotFoundError) (1) | 2024.11.29 |
---|---|
(Python) ๊ฐ์ํ๊ฒฝ ์์ฑ (2) | 2024.11.29 |
(Python) strip, split, map, all ํจ์ (1) | 2024.11.27 |
(Python) len, count, input ํจ์ (0) | 2024.11.27 |
(Python) PRN ์ฅ์น๋ฅผ ์ด๊ธฐํํ ์ ์์ต๋๋ค. (1) | 2024.11.26 |