impossible to launch FAHControl under fedora 32

Moderators: Site Moderators, FAHC Science Team

Post Reply
boistordu
Posts: 2
Joined: Mon Aug 24, 2020 1:41 pm

impossible to launch FAHControl under fedora 32

Post 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
bikeaddict
Posts: 210
Joined: Sun May 03, 2020 1:20 am

Re: impossible to launch FAHControl under fedora 32

Post 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.
boistordu
Posts: 2
Joined: Mon Aug 24, 2020 1:41 pm

Re: impossible to launch FAHControl under fedora 32

Post by boistordu »

thanks a lot :)
PantherX
Site Moderator
Posts: 6986
Joined: Wed Dec 23, 2009 9:33 am
Hardware configuration: V7.6.21 -> Multi-purpose 24/7
Windows 10 64-bit
CPU:2/3/4/6 -> Intel i7-6700K
GPU:1 -> Nvidia GTX 1080 Ti
§
Retired:
2x Nvidia GTX 1070
Nvidia GTX 675M
Nvidia GTX 660 Ti
Nvidia GTX 650 SC
Nvidia GTX 260 896 MB SOC
Nvidia 9600GT 1 GB OC
Nvidia 9500M GS
Nvidia 8800GTS 320 MB

Intel Core i7-860
Intel Core i7-3840QM
Intel i3-3240
Intel Core 2 Duo E8200
Intel Core 2 Duo E6550
Intel Core 2 Duo T8300
Intel Pentium E5500
Intel Pentium E5400
Location: Land Of The Long White Cloud
Contact:

Re: impossible to launch FAHControl under fedora 32

Post 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.
ETA:
Now ↞ Very Soon ↔ Soon ↔ Soon-ish ↔ Not Soon ↠ End Of Time

Welcome To The F@H Support Forum Ӂ Troubleshooting Bad WUs Ӂ Troubleshooting Server Connectivity Issues
Post Reply