Bottom Page

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Problems using Wxpython
#1
Hi,
I'm using an old aplication that's was build use Python 2.7.9, and wxpython 2.8.12.1.

Then, my problem is in Windows 10 Pro Wall , when execute, this error appears:

Traceback (most recent call last):
File "DBM_tool.py", line 2, in <module>
File "wx\__init__.pyo", line 45, in <module>
File "wx\_core.pyo", line 4, in <module>
File "wx\_core_.pyo", line 12, in <module>
File "wx\_core_.pyo", line 10, in __load
ImportError: DLL load failed: El sistema operativo no puede ejecutar %1.

I understand that, python doesn't find wx libraries.

Then,
I've installed this python version(2.7.9). I've installed wxpython 2.8.12.1 with exe package (downloaded of SourceForge.net web). I've put python path folder in System Path variable(\Python27, \Python27\lib, \Python27\scripts).
But if I execute "pip list", no reference to the wx library appears.

If I try to install wxpython with pip, "pip install wxpython", last version of wxpython is donloaded, but if I try to donwload and install 2.8.12 version "pip install wxpython==2.8.12.1" says that is not available on server.

Then, my question is, It is possible install wxpython 2.8.12.1 version with pip¿?
Any other idea of ​​what the problem might be?

It's my first time using Python, and I'm not familiar with it. Blush
All help is welcome!

Thanks in advance.
Carles.
Quote
#2
Here's what I would do:
  • Convert 2.7 program to python 3.6 (wxpython may work fine with newer versions, but it's not stated in the docs)
  • The version of wxpython that runs in 2.7 is nothing compared to phoenix which only runs in python 3
  • Install wxpython with
    pip install wxpython 
Python 2.7 is almost dead and will be next year.
Quote

Top Page

Possibly Related Threads...
Thread Author Replies Views Last Post
  [WxPython] Adding a Window to a Button wxPython ShashankDS 4 332 Apr-23-2019, 06:53 PM
Last Post: Yoriz
  WxPython in web with a cgi server jttolleson 11 734 Mar-08-2019, 05:54 PM
Last Post: Weave
  [WxPython] Using thread in the wxPython hildogjr 8 1,614 Aug-11-2018, 02:59 AM
Last Post: hildogjr
  Using 2 screens in wxpython Barrowman 1 768 Jun-27-2018, 07:43 PM
Last Post: Barrowman
  Trying to use code from WxPython GUI Toolkit Barrowman 3 964 Jun-26-2018, 05:43 PM
Last Post: nilamo
  A little idea to remember wxPython classes Sebastian_Adil 0 786 Mar-26-2018, 10:23 PM
Last Post: Sebastian_Adil
  how to draw simple line in wxPython? Sebastian_Adil 6 1,652 Mar-22-2018, 08:34 PM
Last Post: Larz60+
  installing wxPython predirt 12 3,467 Mar-16-2018, 09:45 PM
Last Post: Barrowman
  [WxPython] wxpython and python 3.6 on linux Barrowman 3 2,578 Mar-15-2018, 06:57 PM
Last Post: Larz60+
  WxPython Line Number QueenSvetlana 0 813 Dec-14-2017, 03:42 AM
Last Post: QueenSvetlana

Forum Jump:


Users browsing this thread: 1 Guest(s)