๋ณธ๋ฌธ ๋ฐ”๋กœ๊ฐ€๊ธฐ
IT-Engineering/TroubleShooting

No module named 'win32com' ํ•ด๊ฒฐ ๋ฐฉ๋ฒ•

by ๐Ÿงž‍โ™‚๏ธ 2020. 12. 11.
๋ฐ˜์‘ํ˜•
import win32com.client

์ˆ˜ํ–‰์‹œ No module named 'win32com'์ด ๋ฐœ์ƒํ•˜๋Š” ๊ฒฝ์šฐ ํ•ด๊ฒฐ ๋ฐฉ๋ฒ•์— ๋Œ€ํ•ด ์†Œ๊ฐœํ•œ๋‹ค. ํ•„์ž์˜ ๊ฒฝ์šฐ ์—๋Ÿฌ๋ฉ”์‹œ์ง€๋Š” ๋‹ค์Œ๊ณผ ๊ฐ™์•˜๋‹ค.

Traceback (most recent call last):
  File "d:\00_Programming\Trading\sarktrader\dashin\dashin_get_item_list.py", line 1, in <module>
    import win32com.client
ModuleNotFoundError: No module named 'win32com'

์ด ๊ฒฝ์šฐ๋Š” ์ฝ˜์†”(Console) ์ฐฝ์—์„œ ํ˜น์€ Anaconda Promprt ๋“ฑ์—์„œ ์•„๋ž˜์˜ ๋ช…๋ น์–ด๋ฅผ ์ž…๋ ฅํ•˜์ž.

pip install pywin32

ํ•ด๊ฒฐ์ด ๋˜์—ˆ์„ ๊ฒƒ์ด๋‹ค. ๊ทธ๋Ÿผ 20000.

๋ฐ˜์‘ํ˜•

๋Œ“๊ธ€