pip 安装软件报 Requirement already satisfied

在高版本的 python 中安装软件 django-import-export 报错如下:

E:\python\Demo>pip install django-import-export
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
Requirement already satisfied: django-import-export in d:\python\lib\site-packages (1.2.0)
Requirement already satisfied: django>=1.8 in d:\python\lib\site-packages (from django-import-export) (2.2.6)
Requirement already satisfied: tablib in d:\python\lib\site-packages (from django-import-export) (0.14.0)
.....

pip 安装软件报 Requirement already satisfied_第1张图片

解决方法:在安装的时候通过 --target= 参数指定包的安装位置即可。
E:\python\Demo>pip install --target=d:\python\lib\site-packages django-import-export

pip 安装软件报 Requirement already satisfied_第2张图片

你可能感兴趣的:(python,pip安装包,Requirement,already,satisfied)