“无法找到vcvarsall.bat"尝试安装qrcode-0.2.1时出现错误 [英] "Unable to find vcvarsall.bat" error when trying to install qrcode-0.2.1

查看:90
本文介绍了“无法找到vcvarsall.bat"尝试安装qrcode-0.2.1时出现错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

请帮助我解决此错误

C:\Python26\Lib\site-packages\pyqrcode\encoder>python setup.py install
running install
running bdist_egg
running egg_info
writing qrcode.egg-info\PKG-INFO
writing top-level names to qrcode.egg-info\top_level.txt
writing dependency_links to qrcode.egg-info\dependency_links.txt
package init file 'qrcode\__init__.py' not found (or not a regular file)
writing manifest file 'qrcode.egg-info\SOURCES.txt'
installing library code to build\bdist.win32\egg
running install_lib
running build_py
running build_ext
building 'qrcode.Encoder' extension
error: Unable to find vcvarsall.bat

谢谢

手册

推荐答案

Distutils在MS Compiler工具链中无法很好地发挥作用.

Distutils does not play well with MS Compiler tool chain.

需要此文件来设置环境,这将帮助distutils使用MS编译器工具链.

This file is required to setup the environment which will help distutils to use MS compiler tool chains.

有很多种方法可以使它起作用.

There are quite a few ways in which this has been made to work.

请查看以下可能对您有帮助的帖子.

Please look at the following post which may help you.

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆