推荐学习书目
› Learn Python the Hard Way
Python Sites
› PyPI - Python Package Index
› http://diveintopython.org/toc/index.html
› Pocoo
值得关注的项目
› PyPy
› Celery
› Jinja2
› Read the Docs
› gevent
› pyenv
› virtualenv
› Stackless Python
› Beautiful Soup
› 结巴中文分词
› Green Unicorn
› Sentry
› Shovel
› Pyflakes
› pytest
Python 编程
› pep8 Checker
Styles
› PEP 8
› Google Python Style Guide
› Code Style from The Hitchhiker's Guide
mingyun
V2EX  ›  Python

python pip install mitmproxy 错误 error: Unable to find vcvarsall.bat

  •  
  •   mingyun · Nov 26, 2016 · 1121 views
    This topic created in 3590 days ago, the information mentioned may be changed or developed.

    看到这篇文章,然后安装 mitmproxy

        copying src\lxml\isoschematron\resources\xsl\iso-schematron-xslt1\readme.txt
     -> build\lib.win32-3.5\lxml\isoschematron\resources\xsl\iso-schematron-xslt1
        running build_ext
        building 'lxml.etree' extension
        error: Unable to find vcvarsall.bat
    
        ----------------------------------------
      Rolling back uninstall of lxml
    Command "d:\python3\python.exe -u -c "import setuptools, tokenize;__file__='C:\\
    Users\\ADMINI~1\\AppData\\Local\\Temp\\pip-build-mbtvp5w8\\lxml\\setup.py';exec(
    compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'),
    __file__, 'exec'))" install --record C:\Users\ADMINI~1\AppData\Local\Temp\pip-is
    1gcf25-record\install-record.txt --single-version-externally-managed --compile"
    failed with error code 1 in C:\Users\ADMINI~1\AppData\Local\Temp\pip-build-mbtvp
    5w8\lxml\
    

    环境: windows python 3 已翻墙

    stamaimer
        1
    stamaimer  
       Nov 26, 2016 via iPhone
    你先看下 lxml 的文档怎么在 windows 下安装 lxml 。然后再装你这个包。然后劝你装个虚拟机,在 Linux 下搞。
    mingyun
        2
    mingyun  
    OP
       Nov 26, 2016
    @stamaimer lxml 已经安装好了,但是 3.6 版本的,不是 3.5
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1262 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 39ms · UTC 16:59 · PVG 00:59 · LAX 09:59 · JFK 12:59
    ♥ Do have faith in what you're doing.