sc-controller
sc-controller copied to clipboard
ModuleNotFoundError: No module named 'scc.tools'
I recently tried to start sc-controller, but it wouldn't launch, so I attempted to run it through the cli, and I got this error:
Traceback (most recent call last):
File "/usr/bin/sc-controller", line 16, in <module>
from scc.tools import init_logging
ModuleNotFoundError: No module named 'scc.tools'
I have scc installed.
I've tried reinstalling it, but no luck. If it's helpful, I am on arch linux, and installed it it from the AUR.
1st thing would be to check whether that module really exists. Try checking file with ls, you should get result similar to this:
$ ls -l /usr/lib/python2.7/site-packages/scc/tools.py
-rw-r--r-- 1 root root 11956 Feb 27 2018 /usr/lib/python2.7/site-packages/scc/tools.py
If it is ineed missing, it may be issue with how it is packaged.
In that site-packages scc is completely missing. perhaps I pip installed it for the wrong version.
On Mon, Dec 20, 2021 at 5:16 AM kozec @.***> wrote:
1st thing would be to check whether that module really exists. Try checking file with ls, you should get result similar to this:
$ ls -l /usr/lib/python2.7/site-packages/scc/tools.py -rw-r--r-- 1 root root 11956 Feb 27 2018 /usr/lib/python2.7/site-packages/scc/tools.py
If it is ineed missing, it may be issue with how it is packaged.
— Reply to this email directly, view it on GitHub https://github.com/kozec/sc-controller/issues/654#issuecomment-997786708, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARHMFQ7S7TZC7WKISFRXOZ3UR37AXANCNFSM5KK44FUA . You are receiving this because you modified the open/close state.Message ID: @.***>
I reinstalled it making sure of the correct version. scc is now present, however tools.py still does not exist.
On Mon, Dec 20, 2021 at 9:00 AM Gregory Powers @.***> wrote:
In that site-packages scc is completely missing. perhaps I pip installed it for the wrong version.
On Mon, Dec 20, 2021 at 5:16 AM kozec @.***> wrote:
1st thing would be to check whether that module really exists. Try checking file with ls, you should get result similar to this:
$ ls -l /usr/lib/python2.7/site-packages/scc/tools.py -rw-r--r-- 1 root root 11956 Feb 27 2018 /usr/lib/python2.7/site-packages/scc/tools.py
If it is ineed missing, it may be issue with how it is packaged.
— Reply to this email directly, view it on GitHub https://github.com/kozec/sc-controller/issues/654#issuecomment-997786708, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARHMFQ7S7TZC7WKISFRXOZ3UR37AXANCNFSM5KK44FUA . You are receiving this because you modified the open/close state.Message ID: @.***>
I'm sorry but this really seems like packaging problem. I'm not sure there's anything I can do about it from here.