windows 에서 python 3.9 Numpy scipy 와 matlaab plot 의 설치 튜 토리 얼 에 대한 상세 한 설명
3567 단어 python3.9Numpyscipymatlabplot
1 먼저 cmd 열기
win+r
2 pip 설치
pip3 install --user numpy scipy matplotlib
Cuser 옵션 은 시스템 디 렉 터 리 에 쓰기 보 다 는 현재 사용자 아래 에 만 설치 할 수 있 습 니 다.기본 적 인 상황 은 외국 노선 을 사용 하고 외국 이 너무 느 려 서 우 리 는 칭 화대 의 미 러 를 사용 하면 된다.
pip3 install numpy scipy matplotlib -i https://pypi.tuna.tsinghua.edu.cn/simple
어떻게 네트워크 가 좋 지 않 은 지,우 리 는 각각 따로 설치 할 수 있다.
pip3 install numpy s -i https://pypi.tuna.tsinghua.edu.cn/simple
pip3 install scipy -i https://pypi.tuna.tsinghua.edu.cn/simple
pip3 install matplotlib -i https://pypi.tuna.tsinghua.edu.cn/simple
3 matlab plot 를 설치 하 는 중 오류 가 발생 했 습 니 다:Using legacy 'setup.py install' for matplotlib, since package 'wheel' is not installed.
Installing collected packages: matplotlib
Running setup.py install for matplotlib ... error
ERROR: Command errored out with exit status 1:

자신의 python 버 전 보기:
Python 3.9.0 (tags/v3.9.0:9cf6752, Oct 5 2020, 15:34:40) [MSC v.1927 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license()" for more information.

제 python 은 3.9 AMD 64 입 니 다.
...에 있다https://www.lfd.uci.edu/~gohlke/pythonlibs/사이트 에서 World could 찾기

자신 에 게 해당 하 는.whl 다운 로드 를 선택 하 세 요.나의 선택:
wordcloud-1.8.0-cp39-cp39-win_amd64.whl
그리고 cmd 로 돌아 갑 니 다.
설치
pip install wordcloud-1.8.0-cp39-cp39-win_amd64.whl

5 다시 오류 발생
Using legacy 'setup.py install' for matplotlib, since package 'wheel' is not installed.
직접 설치 wheel
pip install wheel
6 matlab plot 다시 설치
pip3 install matplotlib -i https://pypi.tuna.tsinghua.edu.cn/simple
성공 하지 못 하 다
있다https://www.lfd.uci.edu/~gohlke/pythonlibs/matlab plot 찾기

다운로드 후 설치,
pip3 install matplotlib-3.3.2-cp39-cp39-win_amd64.whl

설치 성공 을 표시 합 니 다.빨리 프로그램 을 찾 아 보 세 요.
import numpy as np
from matplotlib import pyplot as plt
x = np.arange(1,11)
y = 2 * x + 5
plt.title("Matplotlib demo")
plt.xlabel("x axis caption")
plt.ylabel("y axis caption")
plt.plot(x,y)
plt.show()

설치 성공,1 라운드 50%할인
windows 아래 python 3.9 Numpy scipy 와 matlaab plot 의 설치 튜 토리 얼 에 대한 자세 한 설명 은 여기까지 입 니 다.python 3.9 Numpy scipy 와 matlaab plot 의 설치 내용 에 대해 서 는 이전 글 을 검색 하거나 아래 의 관련 글 을 계속 찾 아 보 세 요.앞으로 도 많은 응원 부탁드립니다!
이 내용에 흥미가 있습니까?
현재 기사가 여러분의 문제를 해결하지 못하는 경우 AI 엔진은 머신러닝 분석(스마트 모델이 방금 만들어져 부정확한 경우가 있을 수 있음)을 통해 가장 유사한 기사를 추천합니다:
로마 숫자를 정수로 또는 그 반대로 변환그 중 하나는 로마 숫자를 정수로 변환하는 함수를 만드는 것이었고 두 번째는 그 반대를 수행하는 함수를 만드는 것이었습니다. 문자만 포함합니다'I', 'V', 'X', 'L', 'C', 'D', 'M' ; 문자열이 ...
텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
CC BY-SA 2.5, CC BY-SA 3.0 및 CC BY-SA 4.0에 따라 라이센스가 부여됩니다.