Page 1 of 1

impossible to launch FAHControl under fedora 32

Posted: Mon Aug 24, 2020 2:41 pm
by boistordu
Hi,

Code: Select all

  File "/usr/bin/FAHControl", line 25, in <module>
    from fah import FAHControl, load_fahcontrol_db
ModuleNotFoundError: No module named 'fah'
Last version of FAHControl 7.6.13
under fedora 32

Is it because fedora 32 has replaced python2.6 by 3.8?

thanks in advance

Re: impossible to launch FAHControl under fedora 32

Posted: Mon Aug 24, 2020 3:03 pm
by bikeaddict
The /usr/bin/python symlink points to python3. I had to edit /usr/bin/FAHControl and change the first line from #!/usr/bin/python to #!/usr/bin/python2 so the script loads Python 2.7 instead of 3.8.

Re: impossible to launch FAHControl under fedora 32

Posted: Mon Aug 24, 2020 3:08 pm
by boistordu
thanks a lot :)

Re: impossible to launch FAHControl under fedora 32

Posted: Tue Aug 25, 2020 4:27 am
by PantherX
Welcome to the F@H Forum boistordu,

Apologies for the issue that you encountered :( I am glad that you managed to find a solution that worked for you :)

Please note that there is work underway to move from Python 2 to Python 3 but there's no ETA.