sc-controller icon indicating copy to clipboard operation
sc-controller copied to clipboard

ModuleNotFoundError: No module named 'scc.tools'

Open amoldybuffalo opened this issue 2 years ago • 4 comments

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.

amoldybuffalo avatar Dec 18 '21 18:12 amoldybuffalo

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.

kozec avatar Dec 20 '21 10:12 kozec

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: @.***>

amoldybuffalo avatar Dec 20 '21 14:12 amoldybuffalo

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: @.***>

amoldybuffalo avatar Dec 20 '21 16:12 amoldybuffalo

I'm sorry but this really seems like packaging problem. I'm not sure there's anything I can do about it from here.

kozec avatar Dec 22 '21 20:12 kozec