Skip to content

Packages versions #133

@Bielecki

Description

@Bielecki

I successfully ran python MP3ToVec.py Pickles mp3tovec --scan and after it finished I tried to run python Deej-A.I.py Pickles mp3tovec --demo 5 and I got:

(DeejAI) PS C:\Users\Bielecki\Desktop\Deej-AI> python Deej-A.I.py Pickles mp3tovec --demo 5
Traceback (most recent call last):
  File "C:\Users\Bielecki\Desktop\Deej-AI\Deej-A.I.py", line 4, in <module>
    import dash
  File "C:\Users\Bielecki\.conda\envs\DeejAI\lib\site-packages\dash\__init__.py", line 46, in <module>
    from ._hooks import hooks  # noqa: F401,E402
  File "C:\Users\Bielecki\.conda\envs\DeejAI\lib\site-packages\dash\_hooks.py", line 28, in <module>
    class _Hook(_tx.Generic[HookDataType]):
AttributeError: module 'typing_extensions' has no attribute 'Generic'

According to https://typing-extensions.readthedocs.io/en/latest/index.html#typing_extensions.Generic that class was added in version 4.7.0.
So I tried:

(DeejAI) PS C:\Users\Bielecki\Desktop\Deej-AI> pip3 install typing_extensions==4.7.0
Collecting typing_extensions==4.7.0
  Using cached typing_extensions-4.7.0-py3-none-any.whl.metadata (3.1 kB)
Using cached typing_extensions-4.7.0-py3-none-any.whl (33 kB)
Installing collected packages: typing_extensions
  Attempting uninstall: typing_extensions
    Found existing installation: typing_extensions 4.5.0
    Uninstalling typing_extensions-4.5.0:
      Successfully uninstalled typing_extensions-4.5.0
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
tensorflow-intel 2.13.0 requires typing-extensions<4.6.0,>=3.6.6, but you have typing-extensions 4.7.0 which is incompatible.
Successfully installed typing_extensions-4.7.0
(DeejAI) PS C:\Users\Bielecki\Desktop\Deej-AI> python Deej-A.I.py Pickles mp3tovec --demo 5
Traceback (most recent call last):
  File "C:\Users\Bielecki\Desktop\Deej-AI\Deej-A.I.py", line 6, in <module>
    import dash_daq as daq
  File "C:\Users\Bielecki\.conda\envs\DeejAI\lib\site-packages\dash_daq\__init__.py", line 8, in <module>
    _components = _dash.development.component_loader.load_components(
AttributeError: module 'dash.development' has no attribute 'component_loader'

I found this topic: https://community.plotly.com/t/dashtools-does-not-run-because-of-no-component-loader-in-dash-development/92213
Where guy recommends downgrading dash to version 2.18.2 and well, it worked

(DeejAI) PS C:\Users\Bielecki\Desktop\Deej-AI> python Deej-A.I.py Pickles mp3tovec --demo 5
C:\Users\Bielecki\Desktop\Deej-AI\Deej-A.I.py:7: UserWarning:
The dash_core_components package is deprecated. Please replace
`import dash_core_components as dcc` with `from dash import dcc`
import dash_core_components as dcc
C:\Users\Bielecki\Desktop\Deej-AI\Deej-A.I.py:8: UserWarning:
The dash_html_components package is deprecated. Please replace
`import dash_html_components as html` with `from dash import html`
import dash_html_components as html
7375 MP3s 
Dash is running on http://127.0.0.1:8050/                                                                                                                                                                                                      * Serving Flask app 'Deej-A.I'
* Debug mode: off
* WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
* * Running on http://127.0.0.1:8050
* * Press CTRL+C to quit

You may want to verify package versions.
Unfortunately I cannot get that demo to work, at best it plays single track and stops.

Also I'd like to ask if is there a way to run scans on Nvidia GPU?

I finally managed to run playlist generation, but app and music library had to be on the same drive

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