本文介绍了尝试在Windows 8上安装numpy时出现值错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在运行Windows 8.1的计算机上设置python环境.我已经成功安装了Python 3.4,但是当我尝试使用pip安装numpy时,遇到以下错误:

I am trying to set up a python enviorenment on a computer running Windows 8.1. I have installed Python 3.4 successfully, but when I try to install numpy with pip I run in to the following error:

raise ValueError<str<list<result.keys<>>>>
ValueError: ['path']

在寻找类似问题时,我找到并尝试了以下解决方案: https://stackoverflow.com/a/10558328/2362877 考虑到我已经安装了Visual Studio 2010.

In looking around for similar problems I have found and tried this solution: https://stackoverflow.com/a/10558328/2362877Taking in to account that I have Visual Studio 2010 installed.

我还尝试了vcvarsal.bat的运行,但无济于事.

I have also tried running vcvarsal.bat to no avail.

对于此问题的任何帮助,我们将不胜感激,如果需要更多信息,请告诉我.

I would appreciate any assistance with this issue, and if more information is required just let me know.

推荐答案

对于Windows,使用下载numpy 的二进制安装程序;尤其是如果您从官方.msi安装程序安装了Python.

For Windows, it is easier to download the binary installer for numpy; especially if you have installed Python from the official .msi installer.

这篇关于尝试在Windows 8上安装numpy时出现值错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-18 21:12