Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error AttributeError: type object 'Color' has no attribute 'parse' #1277

Closed
DumbBoy10 opened this issue Apr 27, 2021 · 3 comments
Closed

Error AttributeError: type object 'Color' has no attribute 'parse' #1277

DumbBoy10 opened this issue Apr 27, 2021 · 3 comments
Labels
Bug Unexpected problem or unintended behavior that needs to be fixed

Comments

@DumbBoy10
Copy link

I installed ffmpeg and spotdl then when i tried to run it with command "spotdl" it gives me this error:
"AttributeError: type object 'Color' has no attribute 'parse'"

Environment

  • System OS: Windows

  • Python Version: 3.6

  • Install Source: pip install spotdl

  • Version OR Commit hash: pip 21.0.1


Any other information:

  • Full error: C:\WINDOWS\system32>spotdl
    Traceback (most recent call last):
    File "c:\users\majon\appdata\local\programs\python\python36\lib\runpy.py", line 193, in run_module_as_main
    "main", mod_spec)
    File "c:\users\majon\appdata\local\programs\python\python36\lib\runpy.py", line 85, in run_code
    exec(code, run_globals)
    File "C:\Users\majon\AppData\Local\Programs\Python\Python36\Scripts\spotdl.exe_main
    .py", line 4, in
    File "c:\users\majon\appdata\local\programs\python\python36\lib\site-packages\spotdl_init
    .py", line 1, in
    from .main import console_entry_point
    File "c:\users\majon\appdata\local\programs\python\python36\lib\site-packages\spotdl_main_.py", line 8, in
    from spotdl.download.downloader import DownloadManager
    File "c:\users\majon\appdata\local\programs\python\python36\lib\site-packages\spotdl\download\downloader.py", line 18, in
    from spotdl.download.progressHandlers import DisplayManager, DownloadTracker
    File "c:\users\majon\appdata\local\programs\python\python36\lib\site-packages\spotdl\download\progressHandlers.py", line 5, in
    from rich.console import Console
    File "c:\users\majon\appdata\local\programs\python\python36\lib\site-packages\rich\console.py", line 33, in
    from . import errors, themes
    File "c:\users\majon\appdata\local\programs\python\python36\lib\site-packages\rich\themes.py", line 1, in
    from .default_styles import DEFAULT_STYLES
    File "c:\users\majon\appdata\local\programs\python\python36\lib\site-packages\rich\default_styles.py", line 18, in
    strike=False,
    File "c:\users\majon\appdata\local\programs\python\python36\lib\site-packages\rich\style.py", line 119, in init
    self._color = None if color is None else _make_color(color)
    File "c:\users\majon\appdata\local\programs\python\python36\lib\site-packages\rich\style.py", line 117, in _make_color
    return color if isinstance(color, Color) else Color.parse(color)
    AttributeError: type object 'Color' has no attribute 'parse'

also ffmpeg is working

@DumbBoy10 DumbBoy10 added the Bug Unexpected problem or unintended behavior that needs to be fixed label Apr 27, 2021
@xnetcat
Copy link
Member

xnetcat commented Apr 27, 2021

Rich requires Python 3.6.1 or above.

@DumbBoy10
Copy link
Author

Rich requires Python 3.6.1 or above.

Oh ok thanks btw README.md is saying that 3.6 and above will work

@xnetcat
Copy link
Member

xnetcat commented Apr 29, 2021

Readme has been updated, closing

@xnetcat xnetcat closed this as completed Apr 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Unexpected problem or unintended behavior that needs to be fixed
Projects
None yet
Development

No branches or pull requests

2 participants