首先要进入对应的虚拟环境
然后安装包
安装numpy包
pip install numpy -i https://pypi.douban.com/simple
安装scipy
pip install scipy -i https://pypi.douban.com/simple
安装scikit-learn
pip install scikit-learn -i https://pypi.douban.com/simple
安装matplotlib
pip install matplotlib -i https://pypi.douban.com/simple
检查安装包是否成功
python
import numpy as np
import scipy as sp
import matplotlib as mp
查看pip安装的东西
pip list
时间: 2024-10-15 14:15:06