" ํŒŒ์ด์ฌ์„ค์น˜์˜ค๋ฅ˜: but the environment has not been activated
๋ณธ๋ฌธ ๋ฐ”๋กœ๊ฐ€๊ธฐ
ํ˜„์—…๊ด‘๊ณ ์ธ/๊ฐ์ข…๊ฟ€ํŒ

ํŒŒ์ด์ฌ์„ค์น˜์˜ค๋ฅ˜: but the environment has not been activated

by ๋…๋”˜ 2020. 10. 26.
728x90
๋ฐ˜์‘ํ˜•

1. ์˜ค๋ฅ˜๋ฐœ์ƒ

 

์ƒํ™ฉ: ์ปดํ“จํ„ฐ ๋ณธ์ฒด ๊ต์ฒด ํ›„ ์˜๋ฏธ์‹ฌ์žฅํ•œ ๊ฒฝ๊ณ ๊ฐ€ ๋œธ 

Anaconda3 Prompt๋กœ ์ผœ๋ณด๋‹ˆ ์ž˜ ์‹คํ–‰๋˜์„œ ๊ท€์ฐฎ์•„์„œ ์Šคํ‚ตํ• ๋ผ๋‹ค ๋‚˜์ค‘์— ๋” ๊ท€์ฐฎ์•„์งˆ๊ฒƒ๊ฐ™์•„

๋ฐ‘์— ๊ณ ๋ง™๊ฒŒ๋„ ์ฐธ์กฐํ•˜๋ผ๊ณ  ์›น์‚ฌ์ดํŠธ ์ฃผ์†Œ๋„ ์žˆ๊ธธ๋ž˜ ๊ฐ€๋ณด์•˜์Šต๋‹ˆ๋‹ค. 

 

 

2. ์‚ฌ์ดํŠธ ์ด๋™ (์Šคํ‚ต๊ฐ€๋Šฅ)

 

์ž๋ž‘์Šค๋Ÿฌ์šด ํ•œ๊ตญ์ธ๋‹ต๊ฒŒ ์˜์–ด๋กœ ๊ฐ€๋“์ฐจ์žˆ๋Š” ์›น์‚ฌ์ดํŠธ๋ฅผ ๋ณด๋‹ˆ ํฌ๊ธฐํ•˜๊ณ ์‹ถ์€ ๋งˆ์Œ์ด ์†“๊ตฌ์ณค์ง€๋งŒ..

์˜์–ด๊ณต๋ถ€๋ผ ์ƒ๊ฐํ•˜๊ณ  ์ธ๋‚ด์‹ฌ์„ ๊ฐ€์ง€๊ณ  ํ•ด์„ํ•ด๋ณด์•˜์Šต๋‹ˆ๋‹ค.

ํ•ด์„: ๋Œ€์ถฉ ์œˆ๋„์šฐ๋Š” ํ™œ์„ฑํ™”์— ๋ฏผ๊ฐํ•˜๋‹ˆ ๋ธ”๋ผ๋ธ”๋ผ... ์ œ๋Œ€๋กœ ํ™˜๊ฒฝ๋“ค์ด ์ž‘๋™ํ•˜์ง€์•Š์œผ๋ฉด

HTTP ๋˜๋Š” SSL์—๋Ÿฌ๋“ค์ด ๋ฐœ์ƒํ•˜๊ณ  ๋‹ค๋ฅธ ๋งŽ์€ ์—๋Ÿฌ๋“ค๋„ ์žก์•„๋‚ด์ง€๋ชปํ• ๊ฑฐ๋ผ๊ณ  ํ•จ. ( ๋„ต. ๊ทธ๋ ‡๋‹ค๊ณ ํ•˜๋„ค์š” )

๊ทธ๋ž˜๋„ ์นœ์ ˆํ•˜๊ฒŒ ๋‘๊ด„์‹์œผ๋กœ ํ•ด๊ฒฐ๋ฐฉ๋ฒ•๋ถ€ํ„ฐ ์ €๋ ‡๊ฒŒ RUNํ•˜๋ผ๊ณ  ์„ค๋ช…ํ•ด์ฃผ๊ณ ์žˆ์Šต๋‹ˆ๋‹ค. 

 

3. ํ•ด๊ฒฐ๋ฐฉ์•ˆ

 

C:\Anaconda3\Scripts\activate base

์œ„์ฝ”๋“œ๋ฅผ ๋ณต์‚ฌํ•˜์—ฌ Anaconda Prompt ๋˜๋Š” ๋ช…๋ นํ”„๋กœํผํŠธ์—์„œ ์‹คํ–‰ํ•˜๊ณ  python์„ ๋‹ค์‹œ์ณ๋ณด๋ฉด

์ด์ „ ์˜ค๋ฅ˜์—†์ด ํŒŒ์ด์ฌ์„ ์ž˜ ์ž‘๋™ํ•˜๋Š” ๊ฒƒ์„ ์•Œ ์ˆ˜์žˆ์Šต๋‹ˆ๋‹ค. 

๋ฐ˜์‘ํ˜•