Issue installing mitimproxy on windows
See original GitHub issueerror log is here
i am using python 2.7
PS C:\envs> pip install c:\envs\setuptools-5.7.zip Unpacking c:\envs\setuptools-5.7.zip Running setup.py (path:c:\users\santosh\appdata\local\temp\pip-ix2ytq-build\setup.py) egg_info for package from file:/ //c:/envs/setuptools-5.7.zip
warning: no files found matching 'entries*' under directory 'setuptools\tests'
warning: no files found matching 'Makefile' under directory 'docs'
warning: no files found matching 'indexsidebar.html' under directory 'docs'
Installing collected packages: setuptools Found existing installation: setuptools 0.6c11 Uninstalling setuptools: Successfully uninstalled setuptools Running setup.py install for setuptools
warning: no files found matching 'entries*' under directory 'setuptools\tests'
warning: no files found matching 'Makefile' under directory 'docs'
warning: no files found matching 'indexsidebar.html' under directory 'docs'
Installing easy_install-script.py script to C:\Python27\Scripts
Installing easy_install.exe script to C:\Python27\Scripts
Installing easy_install.exe.manifest script to C:\Python27\Scripts
Installing easy_install-2.7-script.py script to C:\Python27\Scripts
Installing easy_install-2.7.exe script to C:\Python27\Scripts
Installing easy_install-2.7.exe.manifest script to C:\Python27\Scripts
Successfully installed setuptools Cleaning up… PS C:\envs> pip install c:\envs\mitmproxy-0.10.1.tar.gz Unpacking c:\envs\mitmproxy-0.10.1.tar.gz Running setup.py (path:c:\users\santosh\appdata\local\temp\pip-p9dykh-build\setup.py) egg_info for package from file:/ //c:/envs/mitmproxy-0.10.1.tar.gz
Downloading/unpacking netlib>=0 (from mitmproxy==0.10.1) Running setup.py (path:c:\users\santosh\appdata\local\temp\pip_build_SANTOSH\netlib\setup.py) egg_info for package net lib
Downloading/unpacking urwid>=1.1 (from mitmproxy==0.10.1) Running setup.py (path:c:\users\santosh\appdata\local\temp\pip_build_SANTOSH\urwid\setup.py) egg_info for package urwi d
warning: no files found matching 'Makefile' under directory 'docs'
warning: no files found matching 'CHANGELOG'
Downloading/unpacking pyasn1>0.1.2 (from mitmproxy==0.10.1) Running setup.py (path:c:\users\santosh\appdata\local\temp\pip_build_SANTOSH\pyasn1\setup.py) egg_info for package pya sn1
Downloading/unpacking pyopenssl>=0.13 (from mitmproxy==0.10.1) Running setup.py (path:c:\users\santosh\appdata\local\temp\pip_build_SANTOSH\pyopenssl\setup.py) egg_info for package pyopenssl
warning: no previously-included files matching '*.pyc' found anywhere in distribution
no previously-included directories found matching 'doc\_build'
Downloading/unpacking Pillow>=2.3.0,<2.4 (from mitmproxy==0.10.1) Running setup.py (path:c:\users\santosh\appdata\local\temp\pip_build_SANTOSH\Pillow\setup.py) egg_info for package Pil low
warning: no files found matching 'CHANGES' under directory 'Sane'
warning: no files found matching 'README' under directory 'Sane'
warning: no files found matching 'README' under directory 'Scripts'
warning: no files found matching 'Guardfile' under directory 'docs'
warning: no files found matching 'Makefile' under directory 'docs'
warning: no files found matching 'BUILDME' under directory 'docs'
warning: no files found matching 'COPYING' under directory 'docs'
warning: no files found matching 'LICENSE' under directory 'docs'
Downloading/unpacking lxml (from mitmproxy==0.10.1) Running setup.py (path:c:\users\santosh\appdata\local\temp\pip_build_SANTOSH\lxml\setup.py) egg_info for package lxml Building lxml version 3.4.0. Building without Cython. 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
C:\Python27\lib\distutils\dist.py:267: UserWarning: Unknown distribution option: 'bugtrack_url'
warnings.warn(msg)
warning: no files found matching 'lxml.etree.c' under directory 'src\lxml'
warning: no files found matching 'lxml.objectify.c' under directory 'src\lxml'
warning: no files found matching 'lxml.etree.h' under directory 'src\lxml'
warning: no files found matching 'lxml.etree_api.h' under directory 'src\lxml'
warning: no files found matching 'etree_defs.h' under directory 'src\lxml'
warning: no files found matching 'lxml_endian.h' under directory 'src\lxml'
warning: no files found matching 'pubkey.asc' under directory 'doc'
warning: no files found matching 'tagpython*.png' under directory 'doc'
warning: no files found matching 'Makefile' under directory 'doc'
Downloading/unpacking flask (from mitmproxy==0.10.1) Running setup.py (path:c:\users\santosh\appdata\local\temp\pip_build_SANTOSH\flask\setup.py) egg_info for package flas k
warning: no files found matching '*' under directory 'tests'
warning: no previously-included files matching '*.pyc' found under directory 'docs'
warning: no previously-included files matching '*.pyo' found under directory 'docs'
warning: no previously-included files matching '*.pyc' found under directory 'tests'
warning: no previously-included files matching '*.pyo' found under directory 'tests'
warning: no previously-included files matching '*.pyc' found under directory 'examples'
warning: no previously-included files matching '*.pyo' found under directory 'examples'
no previously-included directories found matching 'docs\_build'
Downloading/unpacking cryptography>=0.2.1 (from pyopenssl>=0.13->mitmproxy==0.10.1) Downloading/unpacking six>=1.5.2 (from pyopenssl>=0.13->mitmproxy==0.10.1) Downloading six-1.7.3-py2.py3-none-any.whl Downloading/unpacking Werkzeug>=0.7 (from flask->mitmproxy==0.10.1) Running setup.py (path:c:\users\santosh\appdata\local\temp\pip_build_SANTOSH\Werkzeug\setup.py) egg_info for package W erkzeug
warning: no files found matching '*' under directory 'werkzeug\debug\templates'
warning: no files found matching '*' under directory 'tests'
warning: no previously-included files matching '*.pyc' found under directory 'docs'
warning: no previously-included files matching '*.pyo' found under directory 'docs'
warning: no previously-included files matching '*.pyc' found under directory 'tests'
warning: no previously-included files matching '*.pyo' found under directory 'tests'
warning: no previously-included files matching '*.pyc' found under directory 'examples'
warning: no previously-included files matching '*.pyo' found under directory 'examples'
no previously-included directories found matching 'docs\_build'
Downloading/unpacking Jinja2>=2.4 (from flask->mitmproxy==0.10.1) Running setup.py (path:c:\users\santosh\appdata\local\temp\pip_build_SANTOSH\Jinja2\setup.py) egg_info for package Jin ja2
warning: no files found matching '*' under directory 'custom_fixers'
warning: no previously-included files matching '*' found under directory 'docs\_build'
warning: no previously-included files matching '*.pyc' found under directory 'jinja2'
warning: no previously-included files matching '*.pyc' found under directory 'docs'
warning: no previously-included files matching '*.pyo' found under directory 'jinja2'
warning: no previously-included files matching '*.pyo' found under directory 'docs'
Downloading/unpacking itsdangerous>=0.21 (from flask->mitmproxy==0.10.1) Running setup.py (path:c:\users\santosh\appdata\local\temp\pip_build_SANTOSH\itsdangerous\setup.py) egg_info for packa ge itsdangerous
warning: no previously-included files matching '*' found under directory 'docs\_build'
Downloading/unpacking cffi>=0.8 (from cryptography>=0.2.1->pyopenssl>=0.13->mitmproxy==0.10.1) Downloading/unpacking markupsafe (from Jinja2>=2.4->flask->mitmproxy==0.10.1) Downloading MarkupSafe-0.23.tar.gz Running setup.py (path:c:\users\santosh\appdata\local\temp\pip_build_SANTOSH\markupsafe\setup.py) egg_info for package markupsafe
Downloading/unpacking pycparser (from cffi>=0.8->cryptography>=0.2.1->pyopenssl>=0.13->mitmproxy==0.10.1) Running setup.py (path:c:\users\santosh\appdata\local\temp\pip_build_SANTOSH\pycparser\setup.py) egg_info for package pycparser
Installing collected packages: netlib, urwid, pyasn1, pyopenssl, Pillow, lxml, flask, mitmproxy, cryptography, six, Werk zeug, Jinja2, itsdangerous, cffi, markupsafe, pycparser Running setup.py install for netlib
Running setup.py install for urwid building ‘urwid.str_util’ extension Couldn’t build the extension module, trying without it… Traceback (most recent call last): File “c:\users\santosh\appdata\local\temp\pip_build_SANTOSH\urwid\setup.py”, line 85, in <module> setup(**setup_d) File “C:\Python27\lib\distutils\core.py”, line 169, in setup raise SystemExit, "error: " + str(msg) SystemExit: error: Unable to find vcvarsall.bat
warning: no files found matching 'Makefile' under directory 'docs'
warning: no files found matching 'CHANGELOG'
Running setup.py install for pyasn1
Running setup.py install for pyopenssl
warning: no previously-included files matching '*.pyc' found anywhere in distribution
no previously-included directories found matching 'doc\_build'
Running setup.py install for Pillow
warning: no files found matching 'CHANGES' under directory 'Sane'
warning: no files found matching 'README' under directory 'Sane'
warning: no files found matching 'README' under directory 'Scripts'
warning: no files found matching 'Guardfile' under directory 'docs'
warning: no files found matching 'Makefile' under directory 'docs'
warning: no files found matching 'BUILDME' under directory 'docs'
warning: no files found matching 'COPYING' under directory 'docs'
warning: no files found matching 'LICENSE' under directory 'docs'
building 'PIL._imaging' extension
error: Unable to find vcvarsall.bat
Complete output from command C:\Python27\python.exe -c "import setuptools, tokenize;__file__='c:\\users\\santosh\\ap
pdata\local\temp\pip_build_SANTOSH\Pillow\setup.py’;exec(compile(getattr(tokenize, ‘open’, open)(file).read().r eplace(‘\r\n’, ‘\n’), file, ‘exec’))" install --record c:\users\santosh\appdata\local\temp\pip-slxm1s-record\install -record.txt --single-version-externally-managed --compile: running install
running build
running build_py
creating build
creating build\lib.win32-2.7
creating build\lib.win32-2.7\PIL
copying PIL\ArgImagePlugin.py -> build\lib.win32-2.7\PIL
copying PIL\BdfFontFile.py -> build\lib.win32-2.7\PIL
copying PIL\BmpImagePlugin.py -> build\lib.win32-2.7\PIL
copying PIL\BufrStubImagePlugin.py -> build\lib.win32-2.7\PIL
copying PIL\ContainerIO.py -> build\lib.win32-2.7\PIL
copying PIL\CurImagePlugin.py -> build\lib.win32-2.7\PIL
copying PIL\DcxImagePlugin.py -> build\lib.win32-2.7\PIL
copying PIL\EpsImagePlugin.py -> build\lib.win32-2.7\PIL
copying PIL\ExifTags.py -> build\lib.win32-2.7\PIL
copying PIL\FitsStubImagePlugin.py -> build\lib.win32-2.7\PIL
copying PIL\FliImagePlugin.py -> build\lib.win32-2.7\PIL
copying PIL\FontFile.py -> build\lib.win32-2.7\PIL
copying PIL\FpxImagePlugin.py -> build\lib.win32-2.7\PIL
copying PIL\GbrImagePlugin.py -> build\lib.win32-2.7\PIL
copying PIL\GdImageFile.py -> build\lib.win32-2.7\PIL
copying PIL\GifImagePlugin.py -> build\lib.win32-2.7\PIL
copying PIL\GimpGradientFile.py -> build\lib.win32-2.7\PIL
copying PIL\GimpPaletteFile.py -> build\lib.win32-2.7\PIL
copying PIL\GribStubImagePlugin.py -> build\lib.win32-2.7\PIL
copying PIL\Hdf5StubImagePlugin.py -> build\lib.win32-2.7\PIL
copying PIL\IcnsImagePlugin.py -> build\lib.win32-2.7\PIL
copying PIL\IcoImagePlugin.py -> build\lib.win32-2.7\PIL
copying PIL\Image.py -> build\lib.win32-2.7\PIL
copying PIL\ImageChops.py -> build\lib.win32-2.7\PIL
copying PIL\ImageCms.py -> build\lib.win32-2.7\PIL
copying PIL\ImageColor.py -> build\lib.win32-2.7\PIL
copying PIL\ImageDraw.py -> build\lib.win32-2.7\PIL
copying PIL\ImageDraw2.py -> build\lib.win32-2.7\PIL
copying PIL\ImageEnhance.py -> build\lib.win32-2.7\PIL
copying PIL\ImageFile.py -> build\lib.win32-2.7\PIL
copying PIL\ImageFileIO.py -> build\lib.win32-2.7\PIL
copying PIL\ImageFilter.py -> build\lib.win32-2.7\PIL
copying PIL\ImageFont.py -> build\lib.win32-2.7\PIL
copying PIL\ImageGrab.py -> build\lib.win32-2.7\PIL
copying PIL\ImageMath.py -> build\lib.win32-2.7\PIL
copying PIL\ImageMode.py -> build\lib.win32-2.7\PIL
copying PIL\ImageOps.py -> build\lib.win32-2.7\PIL
copying PIL\ImagePalette.py -> build\lib.win32-2.7\PIL
copying PIL\ImagePath.py -> build\lib.win32-2.7\PIL
copying PIL\ImageQt.py -> build\lib.win32-2.7\PIL
copying PIL\ImageSequence.py -> build\lib.win32-2.7\PIL
copying PIL\ImageShow.py -> build\lib.win32-2.7\PIL
copying PIL\ImageStat.py -> build\lib.win32-2.7\PIL
copying PIL\ImageTk.py -> build\lib.win32-2.7\PIL
copying PIL\ImageTransform.py -> build\lib.win32-2.7\PIL
copying PIL\ImageWin.py -> build\lib.win32-2.7\PIL
copying PIL\ImImagePlugin.py -> build\lib.win32-2.7\PIL
copying PIL\ImtImagePlugin.py -> build\lib.win32-2.7\PIL
copying PIL\IptcImagePlugin.py -> build\lib.win32-2.7\PIL
copying PIL\JpegImagePlugin.py -> build\lib.win32-2.7\PIL
copying PIL\JpegPresets.py -> build\lib.win32-2.7\PIL
copying PIL\McIdasImagePlugin.py -> build\lib.win32-2.7\PIL
copying PIL\MicImagePlugin.py -> build\lib.win32-2.7\PIL
copying PIL\MpegImagePlugin.py -> build\lib.win32-2.7\PIL
copying PIL\MspImagePlugin.py -> build\lib.win32-2.7\PIL
copying PIL\OleFileIO.py -> build\lib.win32-2.7\PIL
copying PIL\PaletteFile.py -> build\lib.win32-2.7\PIL
copying PIL\PalmImagePlugin.py -> build\lib.win32-2.7\PIL
copying PIL\PcdImagePlugin.py -> build\lib.win32-2.7\PIL
copying PIL\PcfFontFile.py -> build\lib.win32-2.7\PIL
copying PIL\PcxImagePlugin.py -> build\lib.win32-2.7\PIL
copying PIL\PdfImagePlugin.py -> build\lib.win32-2.7\PIL
copying PIL\PixarImagePlugin.py -> build\lib.win32-2.7\PIL
copying PIL\PngImagePlugin.py -> build\lib.win32-2.7\PIL
copying PIL\PpmImagePlugin.py -> build\lib.win32-2.7\PIL
copying PIL\PsdImagePlugin.py -> build\lib.win32-2.7\PIL
copying PIL\PSDraw.py -> build\lib.win32-2.7\PIL
copying PIL\SgiImagePlugin.py -> build\lib.win32-2.7\PIL
copying PIL\SpiderImagePlugin.py -> build\lib.win32-2.7\PIL
copying PIL\SunImagePlugin.py -> build\lib.win32-2.7\PIL
copying PIL\TarIO.py -> build\lib.win32-2.7\PIL
copying PIL\tests.py -> build\lib.win32-2.7\PIL
copying PIL\TgaImagePlugin.py -> build\lib.win32-2.7\PIL
copying PIL\TiffImagePlugin.py -> build\lib.win32-2.7\PIL
copying PIL\TiffTags.py -> build\lib.win32-2.7\PIL
copying PIL\WalImageFile.py -> build\lib.win32-2.7\PIL
copying PIL\WebPImagePlugin.py -> build\lib.win32-2.7\PIL
copying PIL\WmfImagePlugin.py -> build\lib.win32-2.7\PIL
copying PIL\XbmImagePlugin.py -> build\lib.win32-2.7\PIL
copying PIL\XpmImagePlugin.py -> build\lib.win32-2.7\PIL
copying PIL\XVThumbImagePlugin.py -> build\lib.win32-2.7\PIL
copying PIL_binary.py -> build\lib.win32-2.7\PIL
copying PIL_util.py -> build\lib.win32-2.7\PIL
copying PIL__init__.py -> build\lib.win32-2.7\PIL
running egg_info
writing Pillow.egg-info\PKG-INFO
writing top-level names to Pillow.egg-info\top_level.txt
writing dependency_links to Pillow.egg-info\dependency_links.txt
warning: manifest_maker: standard file ‘-c’ not found
reading manifest file ‘Pillow.egg-info\SOURCES.txt’
reading manifest template ‘MANIFEST.in’
warning: no files found matching ‘CHANGES’ under directory ‘Sane’
warning: no files found matching ‘README’ under directory ‘Sane’
warning: no files found matching ‘README’ under directory ‘Scripts’
warning: no files found matching ‘Guardfile’ under directory ‘docs’
warning: no files found matching ‘Makefile’ under directory ‘docs’
warning: no files found matching ‘BUILDME’ under directory ‘docs’
warning: no files found matching ‘COPYING’ under directory ‘docs’
warning: no files found matching ‘LICENSE’ under directory ‘docs’
writing manifest file ‘Pillow.egg-info\SOURCES.txt’
running build_ext
building ‘PIL._imaging’ extension
error: Unable to find vcvarsall.bat
Cleaning up…
running build_ext
building ‘PIL._imaging’ extension
error: Unable to find vcvarsall.bat
Cleaning up… Command C:\Python27\python.exe -c “import setuptools, tokenize;file=‘c:\users\santosh\appdata\local\temp\pip_b uild_SANTOSH\Pillow\setup.py’;exec(compile(getattr(tokenize, ‘open’, open)(file).read().replace(‘\r\n’, ‘\n’), f ile, ‘exec’))” install --record c:\users\santosh\appdata\local\temp\pip-urwxan-record\install-record.txt --single-vers ion-externally-managed --compile failed with error code 1 in c:\users\santosh\appdata\local\temp\pip_build_SANTOSH\Pillo w Storing debug log for failure in C:\Users\SANTOSH\pip\pip.log
Issue Analytics
- State:
- Created 9 years ago
- Comments:11 (5 by maintainers)
Top GitHub Comments
Hi there,
due to its ncurses ui, mitmproxy does not support Windows at the moment. mitmdump would work, but you don’t have an UI then. Sorry for the confusion - we’ll be more clear about this on mitmproxy.org
Cheers, Max
hi mhils, i installed mitmproxy sucessfully… and i installed certificate on andrioid…but didnot get any taraffic on mitmproxy…both laptop and android device connected to same wifi…