Open g-vidal opened 3 years ago
Hi, I have followed step by step the following page except that I have used pipenv instead of env+pip. https://wxpython.org/blog/2017-08-17-builds-for-linux-with-pip/
I get the error just after the declaration of the provider, The installation seems to work properly...
Operating system: Linux ***** 5.10.0-7-amd64 #1 SMP Debian 5.10.40-1 (2021-05-28) x86_64 GNU/Linux wxPython version & source: pip download wxPython -> wxPython-4.1.1.tar.gz Python version & source: Python 3.9.2 debian package (apt install python3) ii python3 3.9.2-3 amd64 interactive high-level object-oriented language (default python3 version)
Description of the problem: AttributeError: module 'wx' has no attribute 'HelpProvider_Set'
Thanks
Should be wx.HelpProvider.Set(provider) - note dot instead of underscore.
wx.HelpProvider.Set(provider)
See: https://docs.wxpython.org/wx.HelpProvider.html?highlight=helpprovider#wx.HelpProvider
Hi, I have followed step by step the following page except that I have used pipenv instead of env+pip. https://wxpython.org/blog/2017-08-17-builds-for-linux-with-pip/
I get the error just after the declaration of the provider, The installation seems to work properly...
Operating system: Linux ***** 5.10.0-7-amd64 #1 SMP Debian 5.10.40-1 (2021-05-28) x86_64 GNU/Linux wxPython version & source: pip download wxPython -> wxPython-4.1.1.tar.gz Python version & source: Python 3.9.2 debian package (apt install python3) ii python3 3.9.2-3 amd64 interactive high-level object-oriented language (default python3 version)
Description of the problem: AttributeError: module 'wx' has no attribute 'HelpProvider_Set'
Code Example (click to expand)
```python import wx import wx.html import wx.lib.colourselect as csel import wx.lib.sized_controls as sc import wx.lib.filebrowsebutton as filebrowse import locale from functions import DoConf, exec_rcode, translation_languages import os from shutil import copyfile from PrintRScript import barplot, ChronoChi2Script, ChronoPropScript, ChronoggScript import tempfile import sys from KeyFrame import AlcOptFrame import wx.lib.agw.hyperlink as hl #--------------------------------------------------------------------------- provider = wx.SimpleHelpProvider() wx.HelpProvider_Set(provider) ```Thanks