Skip to content

script fails to run, colorifix problem #2

@Skaramuche

Description

@Skaramuche

hi! hope this tool is still being maintained. it seems super useful, but it doesn't want to run for me, and i don't understand enough about python packages to understand why not. when i run it, i get:

C:\WINDOWS\system32>saberio
Traceback (most recent call last):
File "C:\Users\Gideon\AppData\Local\Programs\Python\Python39\Scripts\saberio-script.py", line 33, in sys.exit(load_entry_point('saberio==0.2.1', 'console_scripts', 'saberio')())
File "C:\Users\Gideon\AppData\Local\Programs\Python\Python39\Scripts\saberio-script.py", line 25, in importlib_load_entry_point return next(matches).load()
File "C:\Users\Gideon\AppData\Local\Programs\Python\Python39\lib\importlib\metadata.py", line 77, in load module = import_module(match.group('module'))
File "C:\Users\Gideon\AppData\Local\Programs\Python\Python39\lib\importlib_init_.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1030, in _gcd_import
File "", line 1007, in _find_and_load
File "", line 986, in _find_and_load_unlocked
File "", line 680, in _load_unlocked
File "", line 850, in exec_module
File "", line 228, in _call_with_frames_removed
File "C:\Users\Gideon\AppData\Local\Programs\Python\Python39\lib\site-packages\pysaber\saberio.py", line 8, in from colorifix.colorifix import Color, Style, paint
ImportError: cannot import name 'Color' from 'colorifix.colorifix' (C:\Users\Gideon\AppData\Local\Programs\Python\Python39\lib\site-packages\colorifix\colorifix.py)

colorifix is definitely installed and present in the folder it's looking for, so IDK what's missing or why this doesn't work. maybe colorifix has been updated since saberio was written?...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions