我试图安装Python包dulwich:
pip install dulwich
Run Code Online (Sandbox Code Playgroud)
但我得到一个神秘的错误信息:
error: Unable to find vcvarsall.bat
Run Code Online (Sandbox Code Playgroud)
如果我尝试手动安装包,也会发生同样的情况:
> python setup.py install
running build_ext
building 'dulwich._objects' extension
error: Unable to find vcvarsall.bat
Run Code Online (Sandbox Code Playgroud) 我在我的Windows机器上安装Python软件包(特别是JPype1 0.5.7)时遇到了麻烦,并希望用Christoph Gohlke的Window二进制文件安装它.(根据我的经验,这可以减轻很多其他软件包安装的麻烦.)
然而,虽然Christoph过去常常提供.exe文件,但最近似乎他正在上传.whl文件.
http://www.lfd.uci.edu/~gohlke/pythonlibs/#jpype
但是如何安装.whl文件?
笔记:
我正在尝试在Windows 64位机器上为Python 2.7构建lxml.我找不到Python 2.7版本的lxml egg.所以我从源头编译它.我正在按照本网站上的说明操作
在静态链接部分下.我收到了错误
C:\Documents and Settings\Administrator\Desktop\lxmlpackage\lxml-2.2.6\lxml-2.2.
6>python setup.py bdist_wininst --static
Building lxml version 2.2.6.
NOTE: Trying to build without Cython, pre-generated 'src/lxml/lxml.etree.c' need
s to be available.
ERROR: 'xslt-config' is not recognized as an internal or external command,
operable program or batch file.
** make sure the development packages of libxml2 and libxslt are installed **
Using build configuration of libxslt
Building against libxml2/libxslt in one of the following directories:
..\libxml2-2.7.6--win32--w2k--x64\lib
..\libxslt-1.1.26--win32--w2k--x64--0002\lib
..\zlib-1.2.4--win32--w2k--x64
..\iconv-1.9.1--win32--w2k--x64-0001\lib
running bdist_wininst …Run Code Online (Sandbox Code Playgroud) I am trying to install the cryptography module for python yet I keep getting errors and so far I have been able to solve each one as they come including:
However I have ran into an error that no matter how hard …