安装了多个python版本指定pip安装目录
#检查库安装的目录
import os import numpy as np import pandas as pd print(os.path.dirname(np.__file__)) print(os.path.dirname(pd.__file__)) #pip指定安装目录 #pip install numpy --target D:\python3.7\lib\site-packages\
安装了多个python版本指定pip安装目录#检查库安装的目录
|