[python-ldap] wx in Python 3.5

Akshay Mohit akshaymohit2001 at gmail.com
Mon Feb 29 11:27:17 EST 2016


Hi,

I wanted to install wx in Python 3.5.0
Python 3.5.0 (v3.5.0:374f501f4567, Sep 13 2015, 02:16:59) [MSC v.1900 32
bit (Intel)] on win32

I am getting the following error:-

C:\Users\makshay\AppData\Local\Programs\Python\Python35-32\Scripts>pip.exe
install --upgrade --trusted-host wxpython.org --pre -f
http://wxpython.org/Phoenix/snapshot-builds/ wxPython_Phoenix
Collecting wxPython-Phoenix
  Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after
connection broken by
'ConnectTimeoutError(<pip._vendor.requests.packages.urllib3.connection.HTTPConnection
object at 0x037E3F10>, 'Connection to wxpython.org timed out. (connect
timeout=15)')': /Phoenix/snapshot-builds/
  Downloading
http://wxpython.org/Phoenix/snapshot-builds/wxPython_Phoenix-3.0.3.dev1927+e07098d.tar.gz
(41.1MB)
    100% |################################| 41.1MB 188kB/s
Installing collected packages: wxPython-Phoenix
  Running setup.py install for wxPython-Phoenix ... error
    Complete output from command
c:\users\makshay\appdata\local\programs\python\python35-32\python.exe -u -c
"import setuptools,
tokenize;__file__='C:\\Users\\makshay\\AppData\\Local\\Temp\\pip-build-yt8mmtg8\\wxPython-Phoenix\\setup.py';exec(compile(getattr(tokenize,
'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))"
install --record
C:\Users\makshay\AppData\Local\Temp\pip-qi7hs2w7-record\install-record.txt
--single-version-externally-managed --compile:
    running install
    running build
    WARNING: Building this way assumes that all generated files have been
    generated already.  If that is not the case then use build.py directly
    to generate the source and perform the build stage.  You can use
    --skip-build with the bdist_* or install commands to avoid this
    message and the wxWidgets and Phoenix build steps in the future.

    c:\users\makshay\appdata\local\programs\python\python35-32\python.exe
-u build.py build
    Build using:
"c:\users\makshay\appdata\local\programs\python\python35-32\python.exe"
    3.5.0 (v3.5.0:374f501f4567, Sep 13 2015, 02:16:59) [MSC v.1900 32 bit
(Intel)]
    Python's architecture is 32bit
    cfg.VERSION: 3.0.3.dev1927+e07098d

    Running command: build
    Running command: build_wx
    Command
'"c:\users\makshay\appdata\local\programs\python\python35-32\python.exe" -c
"import distutils.msvc9compiler as msvc; mc = msvc.MSVCCompiler();
mc.initialize(); print(mc.cc)"' failed with exit code 1.
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File
"c:\users\makshay\appdata\local\programs\python\python35-32\lib\distutils\msvc9compiler.py",
line 374, in initialize
        vc_env = query_vcvarsall(VERSION, plat_spec)
      File
"c:\users\makshay\appdata\local\programs\python\python35-32\lib\distutils\msvc9compiler.py",
line 262, in query_vcvarsall
        raise DistutilsPlatformError("Unable to find vcvarsall.bat")
    distutils.errors.DistutilsPlatformError: Unable to find vcvarsall.bat
    Finished command: build_wx (0.152s)
    Finished command: build (0.152s)
    Command
'c:\users\makshay\appdata\local\programs\python\python35-32\python.exe -u
build.py build' failed with exit code 1.

    ----------------------------------------
Command
"c:\users\makshay\appdata\local\programs\python\python35-32\python.exe -u
-c "import setuptools,
tokenize;__file__='C:\\Users\\makshay\\AppData\\Local\\Temp\\pip-build-yt8mmtg8\\wxPython-Phoenix\\setup.py';exec(compile(getattr(tokenize,
'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))"
install --record
C:\Users\makshay\AppData\Local\Temp\pip-qi7hs2w7-record\install-record.txt
--single-version-externally-managed --compile" failed with error code 1 in
C:\Users\makshay\AppData\Local\Temp\pip-build-yt8mmtg8\wxPython-Phoenix

C:\Users\makshay\AppData\Local\Programs\Python\Python35-32\Scripts>

C:\Users\makshay\AppData\Local\Programs\Python\Python35-32\Scripts>pip
install -U --pre -f http://wxpython.org/Phoenix/snapshot-builds/
wxPython_Phoenix
Collecting wxPython-Phoenix
  The repository located at wxpython.org is not a trusted or secure host
and is being ignored. If this repository is available via HTTPS it is
recommended to use HTTPS instead, otherwise you may silence this warning
and allow it anyways with '--trusted-host wxpython.org'.
  Could not find a version that satisfies the requirement wxPython-Phoenix
(from versions: )
No matching distribution found for wxPython-Phoenix

Any help would be appreciated.

Thanks,
Akshay
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ldap/attachments/20160229/bb52eb89/attachment.html>


More information about the python-ldap mailing list