On 15/09/2018 09:09,
itsay...@gmail.com wrote:
> Hi,
>
> I've seen this reported in years past as a missing DLL in the wxpython
> distribution, but before I reported it as an issue, I thought I'd ask a
> question here first.
>
> On Windows 10, with python 3.7, installing wxPython 4.0.3 (latest) from
> pip3 into a virtualenv, I get the following error when I try to import wx:
> |
> Python3.7.0(v3.7.0:1bf9cc5093,Jun272018,04:06:47)[MSC v.191432bit
> (Intel)]on win32
> Type"help","copyright","credits"or"license"formore information.
>>>>importwx
> Traceback(most recent call last):
> File"<stdin>",line 1,in<module>
> File"C:\Users\mclapp\git\marcam\virt\lib\site-packages\wx\__init__.py",line
> 17,in<module>
> fromwx.core import*
> File"C:\Users\mclapp\git\marcam\virt\lib\site-packages\wx\core.py",line 12,
> in<module>
> from._core import*
> ImportError:DLL load failed:Thespecified modulecould notbe found.
>>>>
> |
>
> Is this my own user error, or is this a missing DLL in the
> pip-distributed wxPython for python 3.7.0? (It seemed to work fine for
> python 3.6.6)
>
> thanks,
> Matt
>
> --
> 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
wxpython-user...@googlegroups.com
> <mailto:
wxpython-user...@googlegroups.com>.
> For more options, visit
https://groups.google.com/d/optout.
Matt,
I just tried, (on windows 10):
> py -0
Installed Pythons found by py Launcher for Windows
-3.7-64 *
-3.6-64
-2.7-32
Gadget@GADGETLAPTOP C:\Users\Gadget
> py -mvenv test_wx
Gadget@GADGETLAPTOP C:\Users\Gadget
> test_wx\Scripts\activate
(test_wx) Gadget@GADGETLAPTOP C:\Users\Gadget
> py -mpip install wxPython
Collecting wxPython
Using cached
https://files.pythonhosted.org/packages/34/41/e0e109a72966f596a5b93123d94eaabd53509ef6766fa3321b4bfadbbb14/wxPython-4.0.3-cp37-cp37m-win_amd64.whl
Collecting PyPubSub (from wxPython)
Using cached
https://files.pythonhosted.org/packages/ab/9e/3b50915d3346971aaa49074425788598ee4907e67c097e013f1a862bd45c/Pypubsub-4.0.0-py3-none-any.whl
Collecting six (from wxPython)
Using cached
https://files.pythonhosted.org/packages/67/4b/141a581104b1f6397bfa78ac9d43d8ad29a7ca43ea90a2d863fe3056e86a/six-1.11.0-py2.py3-none-any.whl
Installing collected packages: PyPubSub, six, wxPython
Successfully installed PyPubSub-4.0.0 six-1.11.0 wxPython-4.0.3
You are using pip version 10.0.1, however version 18.0 is available.
You should consider upgrading via the 'python -m pip install --upgrade
pip' command.
(test_wx) Gadget@GADGETLAPTOP C:\Users\Gadget
> python
Python 3.7.0 (v3.7.0:1bf9cc5093, Jun 27 2018, 04:59:51) [MSC v.1914 64
bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import wx
>>> wx.version()
'4.0.3 msw (phoenix) wxWidgets 3.0.5'
>>>
--
Steve (Gadget) Barnes
Any opinions in this message are my personal opinions and do not reflect
those of my employer.
---
This email has been checked for viruses by AVG.
https://www.avg.com