加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 编程开发 > Python > 正文

python – 尝试安装qrcode-0.2.1时出现“无法找到vcvarsall.bat

发布时间:2020-12-20 13:00:43 所属栏目:Python 来源:网络整理
导读:请帮我解决这个错误 C:Python26Libsite-packagespyqrcodeencoderpython setup.py installrunning installrunning bdist_eggrunning egg_infowriting qrcode.egg-infoPKG-INFOwriting top-level names to qrcode.egg-infotop_level.txtwriting depende
请帮我解决这个错误

C:Python26Libsite-packagespyqrcodeencoder>python setup.py install
running install
running bdist_egg
running egg_info
writing qrcode.egg-infoPKG-INFO
writing top-level names to qrcode.egg-infotop_level.txt
writing dependency_links to qrcode.egg-infodependency_links.txt
package init file 'qrcode__init__.py' not found (or not a regular file)
writing manifest file 'qrcode.egg-infoSOURCES.txt'
installing library code to buildbdist.win32egg
running install_lib
running build_py
running build_ext
building 'qrcode.Encoder' extension
error: Unable to find vcvarsall.bat

谢谢,

马努

解决方法

Distutils与MS Compiler工具链不兼容.

此文件是设置环境所必需的,这将有助于distutils使用MS编译器工具链.

有很多方法可以使其发挥作用.

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

> Compile Python 2.7 Packages With Visual Studio 2010 Express?

?链接进入archive.org,因为original page离开了.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读