Python NumPy 업그레이드
Muhammad Maisam Abbas
2021년7월8일
NumPy

이 기사에서는 Python에서 NumPy 패키지를 업그레이드하는 방법을 소개합니다.
Python NumPy 업그레이드
Python 2 및 Python 3에 대해 각각pip
및pip3
패키지 관리자를 사용하여 NumPy 패키지를 최신 버전으로 업그레이드 할 수 있습니다. NumPy 패키지를 업그레이드하는 명령은 다음과 같습니다.
Python 2에서 NumPy 업데이트
pip install numpy --upgrade
Python 3에서 NumPy 업데이트
pip3 install numpy --upgrade
Python 버전에 따라 위의 명령 중 하나를 사용하면됩니다. 이 명령이 어떤 이유로 작동하지 않거나 NumPy 패키지가 이미 시스템에 설치되었지만 다른 경로에있는 경우 다음 명령을 사용할 수 있습니다.
Python 2 용
pip install numpy --upgrade --ignore-installed
Python 3 용
pip3 install numpy --upgrade --ignore-installed
위의 명령은 시스템에 이미 최신 버전이 설치되어 있어도 NumPy 패키지의 최신 버전을 강제로 설치합니다.
튜토리얼이 마음에 드시나요? DelftStack을 구독하세요 YouTube에서 저희가 더 많은 고품질 비디오 가이드를 제작할 수 있도록 지원해주세요. 구독하다
Maisam is a highly skilled and motivated Data Scientist. He has over 4 years of experience with Python programming language. He loves solving complex problems and sharing his results on the internet.
LinkedIn