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] Using thread in the wxPython hildogjr 8 965 Aug-11-2018, 02:59 AM
Last Post: hildogjr
  Using 2 screens in wxpython Barrowman 1 561 Jun-27-2018, 07:43 PM
Last Post: Barrowman
  Trying to use code from WxPython GUI Toolkit Barrowman 3 613 Jun-26-2018, 05:43 PM
Last Post: nilamo
  A little idea to remember wxPython classes Sebastian_Adil 0 614 Mar-26-2018, 10:23 PM
Last Post: Sebastian_Adil
  moving from tkinter to wxpython Barrowman 95 9,786 Mar-25-2018, 12:39 AM
Last Post: Larz60+
  how to draw simple line in wxPython? Sebastian_Adil 6 1,004 Mar-22-2018, 08:34 PM
Last Post: Larz60+
  installing wxPython predirt 12 2,166 Mar-16-2018, 09:45 PM
Last Post: Barrowman
  [WxPython] wxpython and python 3.6 on linux Barrowman 3 1,663 Mar-15-2018, 06:57 PM
Last Post: Larz60+
  WxPython Line Number QueenSvetlana 0 637 Dec-14-2017, 03:42 AM
Last Post: QueenSvetlana
  wxPython wxListBox Contains QueenSvetlana 1 678 Nov-11-2017, 04:12 PM
Last Post: snippsat

Forum Jump:


Users browsing this thread: 1 Guest(s)