Hi all,
I've recently decided to port my current project to Python 3, and
installed Python 3.5 (32-bit) over the weekend on Windows 7 (64-bit).
I downloaded the following Python wheel:
And attempted to install it using pip, at which point I received an
error stating that this wheel was not supported on my platform. I
renamed it to wxPython_Phoenix-3.0.3.dev1830+0b5f910-cp35-none-win32.whl
as a workaround, and pip claimed the installation was successful.
However the following ImportError is raised when I try to actually use it:
C:\Users\jscholes>python
Python 3.5.0 (v3.5.0:374f501f4567, Sep 13 2015, 02:16:59) [MSC v.1900 32
bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
import wx
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\Python35\lib\site-packages\wx\__init__.py", line 17, in <module>
from wx.core import *
File "C:\Python35\lib\site-packages\wx\core.py", line 6, in <module>
from ._core import *
ImportError: DLL load failed: The specified module could not be found.
As you can see, there's no information about which DLL failed to load.
I tried installing the latest versions of the Microsoft Visual C++
Redistributable package (2013 and 2015, both X86 variants) without success.
As an aside, I have recently used Phoenix with Python 3.4 on the very
same computer, so I'm not sure why updating to the latest and greatest
is causing a problem.
Many thanks for any suggestions anybody has.
···
--
James Scholes
http://twitter.com/JamesScholes