๋ณธ๋ฌธ ๋ฐ”๋กœ๊ฐ€๊ธฐ
Python/๊ธฐ์ดˆ

[Python] ํŒŒ์ด์ฌ pip install C++ ์—๋Ÿฌ ํ•ด๊ฒฐ :: ๋งˆ์ด์ž๋ชฝ

by ๐ŸŒปโ™š 2019. 1. 4.

Python C++ ์—๋Ÿฌ

ํŒŒ์ด์ฌ๊ฐœ๋ฐœ ํ•˜๋ฉด์„œ ํ•„์š”ํ•œ ๋ชจ๋“ˆ์„ pip๋กœ ์„ค์น˜ํ• ๋ ค๊ณ  ํ•˜๋Š”๋ฐ.... 

 

์•„๋ž˜์™€๊ฐ™์€ ์—๋Ÿฌ๊ฐ€ ๋ฐœ์ƒํ•œ๋‹ค.

error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": https://visualstudio.microsoft.com/downloads/

 

 

Python C++ ์—๋Ÿฌ ํ•ด๊ฒฐ

์—๋Ÿฌ์—์„œ ๋งํ•˜๋Š” ๊ทธ๋Œ€๋กœ Microsoft Visual C++ Build Tools๋ฅผ ์„ค์น˜ํ•ด์ฃผ๋ฉด๋œ๋‹ค.
์‚ด์ง์˜ ๋‹จ์ ์€ Visual Studio๋ฅผ ์„ค์น˜ํ•ด์ค˜์•ผํ•˜๋Š”๋ฐ ์šฉ๋Ÿ‰์„ ์ข€ ์ฐจ์ง€ํ•œ๋‹ค.
 
์•„๋ผ๋งํฌ๋กœ 

https://visualstudio.microsoft.com/ko/downloads/

 

์ปค๋ฎค๋‹ˆํ‹ฐ ๋ฒ„์ „์œผ๋กœ ์„ค์น˜ํ•ด์ค€๋‹ค.

 

 

 

 

์ธ์Šคํ†จ๋Ÿฌ๋ฅผ ์‹คํ–‰ํ•˜์—ฌ

Visual C++ ๋นŒ๋“œ ๋„๊ตฌ๋งŒ ์„ค์น˜ํ•ด์ค€๋‹ค. ๋ฌด๋ ค 4.6.๊ธฐ๊ฐ€์ •๋„ ์ฐจ์ง€

 

 

 

 

์„ค์น˜๊ฐ€ ๋๋‚œํ›„ ๋‹ค์‹œ pip install ํ•˜์—ฌ ์ •์ƒ์ ์œผ๋กœ ์ž‘๋™ํ•˜๋Š”์ง€ ํ™•์ธํ•œ๋‹ค.

 

 

 

 

 

 

์—๋””ํ„ฐ๋ฅผ ์ด์šฉํ•ด์„œ ๋‚ด๋ ค๋ฐ›์€ konlpy๋ชจ๋“ˆ์ด import๋˜๋Š”์ง€ ํ™•์ธํ•œ๋‹ค.

import konlpy

print(dir(konlpy))
 

 

 

 

 

์‹คํ–‰ ๊ฒฐ๊ณผ

 

 

์ด์ƒ์—†์ด ์ž‘๋™ํ•œ๋‹ค.

 

๋Œ“๊ธ€