- android - RelativeLayout 背景可绘制重叠内容
- android - 如何链接 cpufeatures lib 以获取 native android 库?
- java - OnItemClickListener 不起作用,但 OnLongItemClickListener 在自定义 ListView 中起作用
- java - Android 文件转字符串
我需要在我的机器上安装 pyproj,它给出了上述错误。我猜其他使用 C++ 代码的 python 组件也是一样的:
我的情况:
Win 7 64 位运行。
已安装:
设置路径变量并设置
VS90COMNTOOLS值:C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\Tools
我尝试安装 pyproj:http://jswhit.github.io/pyproj/
但它返回相同的错误:
File "msvc9compiler.py", line 271, in query_vcvarsall raise DistutilsPlatformError("Unable to find vcvarsall.bat") distutils.errors.DistutilsPlatformError: Unable to find vcvarsall.bat
这样做的目的是让 pygrib 包运行:http://jswhit.github.io/pygrib/docs/index.html
有人知道如何解决这个问题吗?
最佳答案
您可以安装它而无需使用 precompiled Python wheel 编译它.您可以在 this page containing unofficial wheels 找到适用于 pyproj 的兼容轮.
您正在专门寻找 pyproj-1.9.4-cp27-none-win_amd64.whl
。下载 whl
文件后,您可以使用 pip 安装它
pip install pyproj-1.9.4-cp27-none-win_amd64.whl
这将为您安装它,跳过编译过程。
关于c++ - 在 win7 64 上使用 Python 2.7.9 的 pyproj 给出 "Unable to find vcvarsall.bat",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27876226/
我已经尝试安装 Boost Libraries 5 个月了,是的,非常尴尬,目前这是我遇到的错误。 我在 Windows 7 64 位上运行它。 boost 1_59_0。 我使用 Visual St
这个问题已经有答案了: error: Unable to find vcvarsall.bat (42 个回答) 已关闭 9 年前。 我正在使用 python 2.7.3,并且正在尝试安装 Pytho
我知道还有一个问题here已经,但我无法理解答案。根据this answer ,我只需要添加一个变量。但是,我不知道变量在哪里创建以及它位于何处。通常,我只处理文件和文件夹,所以我不知道如何添加变量。
可能很多人遇到过这个错误,当使用setup.py安装python2.7图像处理模块PIL时,python默认会寻找电脑上以安装的vs2008.如果你没有安装vs2008,会出现Unable to f
我使用的是 Python 3.5.2 版。 我正在尝试编辑 MSWord 文档中的单词和段落。 在此之前,我需要安装 docx 模块。 在命令行中我将其指向路径: C:\Users\d\AppData
从上周开始,我试图解决这个问题,但无法修复这个错误。虽然,我尝试安装,但出现以下错误: C:\Users\#######>pip install pyproj Collecting pyproj
这个问题在这里已经有了答案: error: Unable to find vcvarsall.bat (42 个答案) 关闭 7 年前。 我正在尝试使用 pip 在我的计算机上安装 Scrapy。在
N久没有开始写博客了,总觉得要随便记点东西,岁月蹉跎,曾经搞得一些东西、技术、工具,说丢也就丢了,点点滴滴还是要记录一下吧。。。 在windows下使用pip安装一些python的第三方库,
我知道如何使用 Popen 运行一个 .bat 文件。在这种情况下,我需要首先运行 vcvarsall.bat 并初始化编译器工具,然后在同一环境中运行实际使用编译器工具的第三部分 .bat。最好的方
这个问题已经有答案了: error: Unable to find vcvarsall.bat (42 个回答) 已关闭 9 年前。 我使用 Windows 7 来开发 Django 1.3.7。现在
我尝试安装 Python 包 dulwich : pip install dulwich 但我收到一条神秘的错误消息: error: Unable to find vcvarsall.bat 如果我尝
尝试安装 mpi4py 并在运行时遇到问题 easy_install mpi4py 并得到: error: Setup script exited with error: Unable to find
我正在尝试用 Python 创建一个投资组合优化应用程序以供工作。所需模块之一是 CVXOPT。当我尝试安装该模块时,出现系统无法找到 vcvarsall.bat 的错误。我发现有几个人遇到了同样的问
我有 Python 2.7 并且我正在尝试使用 PyQuery,所以为了测试我只是输入了“import PyQuery”并且我得到了一个错误: Traceback (most recent call
这个问题在这里已经有了答案: Getting "error: Unable to find vcvarsall.bat" when running "pip install numpy" on wi
我在运行我的脚本时遇到了以下错误 Traceback (most recent call last): File "mysql.py", line 2, in import MySQLd
当我尝试构建一个包时: C:\Linter\intlib\PYTHON>python setup.py build 我收到此错误消息: running build running build_ext
我已经安装了 MSVC++ 2010 Express,我的 vcvarsall.bat 文件位于 C:\Program Files\Microsoft Visual Studio 10.0\VC,它位
我正在开发 Vista,并使用 Python 2.6.4。我正在使用一个使用 Python 脚本的软件,但遇到了消息: cannot find vcvarsall.bat 所以,我安装了 Visual
这个问题在这里已经有了答案: 关闭 9 年前。 Possible Duplicate: error: Unable to find vcvarsall.bat 我正在尝试为 python 安装 MyS
我是一名优秀的程序员,十分优秀!