๋ณธ๋ฌธ ๋ฐ”๋กœ๊ฐ€๊ธฐ
IT-Engineering/A.I.

pip ํŠน์ • ๋ฒ„์ „ ํŒจํ‚ค์ง€ ์„ค์น˜ ๋ฐ ์—…๋ฐ์ดํŠธ(์—…๊ทธ๋ ˆ์ด๋“œ) ๋ฐฉ๋ฒ•

by ๐Ÿงž‍โ™‚๏ธ 2020. 3. 4.
๋ฐ˜์‘ํ˜•

pip๋ฅผ ์ด์šฉํ•œ ํŠน์ • ๋ฒ„์ „ ํŒจํ‚ค์ง€ ์„ค์น˜ ๋ช…๋ น์–ด๋Š” ์•„๋ž˜์™€ ๊ฐ™๋‹ค.

pip install [package_name]==[package version]

ํŠน์ • ํŒจํ‚ค์ง€๋ฅผ ์—…๋ฐ์ดํŠธ ํ•˜๋Š” ๊ฒฝ์šฐ์˜ ๋ช…๋ น์–ด๋Š” ์•„๋ž˜์™€ ๊ฐ™๋‹ค.

pip install --upgrade [package_name]

ํŠน์ • ํŒจํ‚ค์ง€๋ฅผ ํŠน์ • ๋ฒ„์ „์œผ๋กœ ์—…๋ฐ์ดํŠธ ํ•˜๋Š” ๊ฒฝ์šฐ๋Š” ์•„๋ž˜์™€ ๊ฐ™๋‹ค.

pip install --upgrade [package_name]==[package version]

์˜ˆ์‹œ

pip install --upgrade scikit-learn==0.22.1

ํŠน์ • ๋ฒ„์ „ ์—…๋ฐ์ดํŠธ๋ฅผ ํ•˜๋Š” ๊ฒฝ์šฐ๋Š” ๊ตณ์ด --upgrade์—†์ด ์•„๋ž˜์™€ ๊ฐ™์ด ์‚ฌ์šฉํ•ด๋„ ๋œ๋‹ค.

์˜ˆ์‹œ

pip install scikit-learn==0.22.1

๋ฐ˜์‘ํ˜•

๋Œ“๊ธ€