我已经安装了MSVC ++ 2010 Express,并且我的vcvarsall.bat文件位于C:\Program Files\Microsoft Visual Studio 10.0\VC,该文件位于系统PATH中。当我运行时easy_install,找不到vcvarsall.bat。我需要在distutils.cfg文件中进行设置以将其指向MSVC ++安装吗?G:\>easy_install hg-gitinstall_dir C:\Python26\Lib\site-packages\Searching for hg-gitBest match: hg-git 0.2.6Processing hg_git-0.2.6-py2.6.egghg-git 0.2.6 is already the active version in easy-install.pthUsing c:\python26\lib\site-packages\hg_git-0.2.6-py2.6.eggProcessing dependencies for hg-gitSearching for dulwich>=0.6.0Reading http://pypi.python.org/simple/dulwich/Reading http://samba.org/~jelmer/dulwichReading http://launchpad.net/dulwichBest match: dulwich 0.7.1Downloading http://www.samba.org/~jelmer/dulwich/dulwich-0.7.1.tar.gzProcessing dulwich-0.7.1.tar.gzRunning dulwich-0.7.1\setup.py -q bdist_egg --dist-dir c:\docume~1\mlin\locals~1\temp\easy_install-fhraep\dulwich-0.7.1\egg-dist-tmp-qozilyerror: Setup script exited with error: Unable to find vcvarsall.bat
添加回答
举报
0/150
提交
取消