Re: [Kicad-developers] Compile problem with Fedora 32
If you are using Fedora 32, then you shouldn't be using Python 2 (they deprecated it in this release with limited exceptions...), and it definitely doesn't have a Python2 version of wxPython. -Ian On Fri, May 15, 2020 at 11:27 AM Simon Richter wrote: > Hi, > > On 14.05.20 07:28, victor tejada wrote: > > > Hello, guys, I tried to compile kicad source code on fedora 32 but the > > error is > > "ImportError: No module named wx > > CMake Error at CMakeModules/FindwxPython.cmake:52 (message): > > wxPython/Phoenix does not appear to be installed on the system > > Call Stack (most recent call first): > > CMakeLists.txt:740 (find_package)" > > so wxPython 4.0.1 is installed on my pc. > > Check that it's using the Python version that wxPython was compiled > against. IIRC KiCad still selects Python 2 unless told to use Python 3, > so if you have wxPython for Python 3, it will not be usable. > > On any modern distro, you probably need to configure with > > -DKICAD_SCRIPTING_PYTHON3:BOOL=ON > -DKICAD_SCRIPTING_WXPYTHON:BOOL=ON > -DKICAD_SCRIPTING_WXPYTHON_PHOENIX:BOOL=ON > >Simon > > ___ > Mailing list: https://launchpad.net/~kicad-developers > Post to : kicad-developers@lists.launchpad.net > Unsubscribe : https://launchpad.net/~kicad-developers > More help : https://help.launchpad.net/ListHelp > ___ Mailing list: https://launchpad.net/~kicad-developers Post to : kicad-developers@lists.launchpad.net Unsubscribe : https://launchpad.net/~kicad-developers More help : https://help.launchpad.net/ListHelp
Re: [Kicad-developers] Compile problem with Fedora 32
Hi, On 14.05.20 07:28, victor tejada wrote: > Hello, guys, I tried to compile kicad source code on fedora 32 but the > error is > "ImportError: No module named wx > CMake Error at CMakeModules/FindwxPython.cmake:52 (message): > wxPython/Phoenix does not appear to be installed on the system > Call Stack (most recent call first): > CMakeLists.txt:740 (find_package)" > so wxPython 4.0.1 is installed on my pc. Check that it's using the Python version that wxPython was compiled against. IIRC KiCad still selects Python 2 unless told to use Python 3, so if you have wxPython for Python 3, it will not be usable. On any modern distro, you probably need to configure with -DKICAD_SCRIPTING_PYTHON3:BOOL=ON -DKICAD_SCRIPTING_WXPYTHON:BOOL=ON -DKICAD_SCRIPTING_WXPYTHON_PHOENIX:BOOL=ON Simon signature.asc Description: OpenPGP digital signature ___ Mailing list: https://launchpad.net/~kicad-developers Post to : kicad-developers@lists.launchpad.net Unsubscribe : https://launchpad.net/~kicad-developers More help : https://help.launchpad.net/ListHelp
Re: [Kicad-developers] Compile problem with Fedora 32
On 5/14/20 1:28 AM, victor tejada wrote: Hello, guys, I tried to compile kicad source code on fedora 32 but the error is "ImportError: No module named wx CMake Error at CMakeModules/FindwxPython.cmake:52 (message): wxPython/Phoenix does not appear to be installed on the system Call Stack (most recent call first): CMakeLists.txt:740 (find_package)" so wxPython 4.0.1 is installed on my pc. I don't understand what happened. I'm not sure which version of KiCad that you are trying to build. I've built 5.1.6 for F32, and you can install it from the testing repository. In 6 days it will be pushed to the stable repository. Here is a link to bohdi, which lists a command that you can use to install: https://bodhi.fedoraproject.org/updates/FEDORA-2020-6371942327 You can also download the source and binary packages directly here: https://koji.fedoraproject.org/koji/buildinfo?buildID=1506421 If you grab the source rpm file, you might try rebuilding it using mock. Mock will pull in all the dependencies while building. Steve ___ Mailing list: https://launchpad.net/~kicad-developers Post to : kicad-developers@lists.launchpad.net Unsubscribe : https://launchpad.net/~kicad-developers More help : https://help.launchpad.net/ListHelp
[Kicad-developers] Compile problem with Fedora 32
Hello, guys, I tried to compile kicad source code on fedora 32 but the error is "ImportError: No module named wx CMake Error at CMakeModules/FindwxPython.cmake:52 (message): wxPython/Phoenix does not appear to be installed on the system Call Stack (most recent call first): CMakeLists.txt:740 (find_package)" so wxPython 4.0.1 is installed on my pc. I don't understand what happened. cheers -- DIOS te Bendiga y Guarde ___ Mailing list: https://launchpad.net/~kicad-developers Post to : kicad-developers@lists.launchpad.net Unsubscribe : https://launchpad.net/~kicad-developers More help : https://help.launchpad.net/ListHelp