pip安装在conda环境中失败但在base中工作

时间:2018-05-25 19:44:32

标签: python pip anaconda conda

(运行Windows 10 Home)

重现问题的步骤:

  • 安装miniconda
  • 使用Windows 8.1和10 SDK安装MS Visual Studio 2017 C ++构建工具
  • conda create -n myenv python=3.5
  • activate myenv
  • pip install spectrum

失败,错误

error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual 
C++ Build Tools": http://landinghub.visualstudio.com/visual-cpp-build-tools
  • deactivate
  • pip install spectrum

构建成功。发生了什么事?

0 个答案:

没有答案