pip install 提示:Could not install packages due to an EnvironmentError

错误原因:pip install cffi==1.14.3

由于环境错误,无法安装包
pip install 提示:Could not install packages due to an EnvironmentError

解决方案:

  • 检查环境解释器没有问题
  • 重启,对,你没听错,重启电脑
  • pip install --user 你的包名
  • 用管理员账户运行cmd安装