Phoenix on Windows: ImportError: DLL load failed

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Phoenix on Windows: ImportError: DLL load failed

wxPython-users mailing list-2
I recently installed Python 3.6 + wxPython/Phoenix on one of my Windows 7 computers. And it works fine.
However, when I came to do exactly the same install on a different machine, it said it had installed okay, but when I try to use it, it fails.
Can anyone advise?


C:\tmp>py -V
Python 3.6.0

C:\tmp>py -m pip list
DEPRECATION: The default format will switch to columns in the future. You can use --format=(legacy|columns) (or de
fine a format=(legacy|columns) in your pip.conf under the [list] section) to disable this warning.
apsw (3.17.0.post1)
cx-Freeze (5.0.1)
flake8 (3.3.0)
mccabe (0.6.1)
pip (9.0.1)
pycodestyle (2.3.1)
pyflakes (1.5.0)
pywin32 (220)
roman (2.0.0)
setuptools (28.8.0)
six (1.10.0)
WMI (1.4.9)
wxPython-Phoenix (3.0.3.dev2864+4fc5f9e)

C:\tmp>py
Python 3.6.0 (v3.6.0:41df79263a11, Dec 23 2016, 08:06:12) [MSC v.1900 64 bit (AMD64)] 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:\Python36\lib\site-packages\wx\__init__.py", line 17, in <module>
    from wx.core import *
  File "C:\Python36\lib\site-packages\wx\core.py", line 12, in <module>
    from ._core import *
ImportError: DLL load failed: The specified module could not be found.
>>>

--
You received this message because you are subscribed to the Google Groups "wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Phoenix on Windows: ImportError: DLL load failed

Dietmar Schwertberger-2
On 20.03.2017 10:44, 'Mark Summerfield' via wxPython-users wrote:
I recently installed Python 3.6 + wxPython/Phoenix on one of my Windows 7 computers. And it works fine.
However, when I came to do exactly the same install on a different machine, it said it had installed okay, but when I try to use it, it fails.
Can anyone advise?

  File "C:\Python36\lib\site-packages\wx\core.py", line 12, in <module>
    from ._core import *
ImportError: DLL load failed: The specified module could not be found.
Please check whether you have MSVCP140.DLL.
When you have Visual Studio or the redistributable package installed, this DLL is sitting in the system32 folder.
You probably can take the files from a .whl file for Python 3.5. These include  msvcp140.dll and vcruntime140.dll.
(Just open the .whl file in e.g. 7-zip.)

Regards,

Dietmar

--
You received this message because you are subscribed to the Google Groups "wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Phoenix on Windows: ImportError: DLL load failed

Dietmar Schwertberger-2
On 20.03.2017 19:39, Dietmar Schwertberger wrote:
> Please check whether you have MSVCP140.DLL.
> When you have Visual Studio or the redistributable package installed,
> this DLL is sitting in the system32 folder.
> You probably can take the files from a .whl file for Python 3.5. These
> include  msvcp140.dll and vcruntime140.dll.
> (Just open the .whl file in e.g. 7-zip.)
Robin has committed the changes. Today's snapshot has the DLL already.

Regards,

Dietmar

--
You received this message because you are subscribed to the Google Groups "wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Loading...