[Python] WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.

๊น€๋ฏผ์ˆ˜ยท2023๋…„ 7์›” 21์ผ
0

์˜ค๋ฅ˜

๋ชฉ๋ก ๋ณด๊ธฐ
3/4

๐Ÿ“Œ Python pip ์„ค์น˜์‹œ SSL ๋ชจ๋“ˆ์˜ ๋ฌธ์ œ

xlrd์™€ openpyxl์„ ์„ค์น˜ํ•˜๋ ค๋Š”๋ฐ ์˜ค๋ฅ˜ ๋ฐœ์ƒ

1) ์—๋Ÿฌ ๋กœ๊ทธ

2) ํŒŒ์ด์ฌ ๊ฐœ๋ฐœํ™˜๊ฒฝ ํ™•์ธ

3) VS code์—์„œ python3 ์‚ฌ์šฉํ•˜๊ธฐ

4) VS code์—์„œ python interpreter ๋ณ€๊ฒฝ

mac์—์„œ๋Š” command + Shift + p(Windows๋Š” Ctrl + Shift + p)๋ฅผ ๋ˆ„๋ฅด๋ฉด ์•„๋ž˜ ์‚ฌ์ง„์ฒ˜๋Ÿผ ๋‚˜์˜ด.

  • "Python: Select Interperter" ํด๋ฆญ
  • ์‚ฌ์šฉํ•  ๋ฒ„์ „์„ ํด๋ฆญ(Python 3.9.6๋กœ ์„ ํƒํ•จ)

5) Settings ์„ค์ •

mac์—์„œ๋Š” command + ,(Windows๋Š” Ctrl + ,)๋ฅผ ๋ˆ„๋ฅด๋ฉด Settings๊ฐ€ ๋‚˜์˜ค๋Š”๋ฐ pythonpath๋ฅผ ๊ฒ€์ƒ‰

  • "Python: Default Interpreter Path"์— ํ•ด๋‹น ์„ ํƒํ•œ python interpreter ๊ฒฝ๋กœ๋ฅผ ์ž…๋ ฅ

6) ์˜ค๋ฅ˜ ํ•ด๊ฒฐ

์ฐธ๊ณ ๋ธ”๋กœ๊ทธ
https://earth-95.tistory.com/85

0๊ฐœ์˜ ๋Œ“๊ธ€