ImportError: cannot import name SlotConfig

Moderators: Site Moderators, FAHC Science Team

Post Reply
Xzorandar
Posts: 1
Joined: Sun Mar 15, 2020 10:29 pm

ImportError: cannot import name SlotConfig

Post by Xzorandar »

Good day, Trying to get FAHControl up and running on Fedora 31. I installed python 2.7 and did the python 2 workaround and added the 2 to the shebang in the FAHControl file.
I am now getting this error. Any recommendations?

Code: Select all

Traceback (most recent call last):
  File "./FAHControl", line 25, in <module>
    from fah import FAHControl, load_fahcontrol_db
  File "/usr/lib/python2.7/site-packages/fah/__init__.py", line 26, in <module>
    from SlotConfig import *
  File "/usr/lib/python2.7/site-packages/fah/SlotConfig.py", line 23, in <module>
    from fah.util import parse_bool
  File "/usr/lib/python2.7/site-packages/fah/fah/__init__.py", line 27, in <module>
    from ClientConfig import *
  File "/usr/lib/python2.7/site-packages/fah/fah/ClientConfig.py", line 29, in <module>
    from fah import SlotConfig
ImportError: cannot import name SlotConfig
foldy
Posts: 2061
Joined: Sat Dec 01, 2012 3:43 pm
Hardware configuration: Folding@Home Client 7.6.13 (1 GPU slots)
Windows 7 64bit
Intel Core i5 2500k@4Ghz
Nvidia gtx 1080ti driver 441

Re: ImportError: cannot import name SlotConfig

Post by foldy »

I don't know this error but you can run FAHclient without FAHcontrol
Post Reply