Error with HTML2

Hi,

Im using wxPython 4.0.5 under Ubuntu 18.04 and Python 3.6.7 and I get this error just after I update the package using pip

mario@pc:~$ python3
Python 3.6.7 (default, Oct 22 2018, 11:32:17)
[GCC 8.2.0] on linux
Type “help”, “copyright”, “credits” or “license” for more information.

import wx
import wx.html2
Violación de segmento (`core’ generado)

and crash, any ideas?

···

Saludos / Best regards

Mario Lacunza
Email:: mlacunza@gmail.com
Personal Website:: http://www.lacunza.biz/
Hosting:: http://mlv-host.com/
Skype: mlacunzav

Lima - Peru

Did your pip command do a build, or did you point it to the extras.wxpython.org server to get the pre-built wheels?

If it did a build and you don’t have the libwebkit development packages installed then a crash could indicate a problem with my empty stubs that are used when the lib isn’t available.

···

On Tuesday, May 21, 2019 at 11:01:08 AM UTC-7, Mario Lacunza wrote:

Hi,

Im using wxPython 4.0.5 under Ubuntu 18.04 and Python 3.6.7 and I get this error just after I update the package using pip

mario@pc:~$ python3
Python 3.6.7 (default, Oct 22 2018, 11:32:17)
[GCC 8.2.0] on linux
Type “help”, “copyright”, “credits” or “license” for more information.

import wx
import wx.html2
Violación de segmento (`core’ generado)

and crash, any ideas?

Robin

Hi,

thanks for the answer, I need the package for a bigger software Im making.

Pip make a build, after some errors (missing some libs) the build pass, at that point I dont see any errors about the libwebkit lib, can I rebuild it? whats the best option?

  1. rebuild using something like this?:
pip install --user --force-reinstall --ignore-installed --no-binary :all: PackageName
  1. or Uninstall and reinstall wxpython using pip?
···

Saludos / Best regards

Mario Lacunza
Email:: mlacunza@gmail.com
Personal Website:: http://www.lacunza.biz/
Hosting:: http://mlv-host.com/
Skype: mlacunzav

Lima - Peru

Well I can fix the issue, using method one from my previous email, second one dont work and I need to install all the dev packages I found associated with wxpython in Ubuntu.

Thanks!

···

Saludos / Best regards

Mario Lacunza
Email:: mlacunza@gmail.com
Personal Website:: http://www.lacunza.biz/
Hosting:: http://mlv-host.com/
Skype: mlacunzav

Lima - Peru