boy1dr / SpleeterGui

Windows desktop front end for Spleeter - AI source separation
Apache License 2.0
2.29k stars 250 forks source link

Should this be a version bug of pandas? #178

Open bukeshui0926 opened 1 year ago

bukeshui0926 commented 1 year ago

from pandas._typing import ( ImportError: cannot import name 'DtypeArg' from 'pandas._typing' (C:\Users\bu_keshui\AppData\Roaming\SpleeterGUI\python\Lib\site-packages\pandas_typing.py)

girlyoulookthebest commented 1 year ago

from pandas._typing import ( ImportError: cannot import name 'DtypeArg' from 'pandas._typing' (C:\Users\bu_keshui\AppData\Roaming\SpleeterGUI\python\Lib\site-packages\pandas_typing.py)

Hello,

This is a known bug in pandas 1.3.1, which comes bundled with SpleeterGUI.

I solved this same error by downgrading pandas to 1.3.0:

python -m pip install pandas==1.3.0

Let me know if this helps you.

boy1dr commented 1 year ago

@bukeshui0926 @girlyoulookthebest SpleeterGUI should work right out of the box, but if you do a Spleeter core update you will run in to this issue. I will look into the version numbers you mention but i believe it will update pandas whenever the core update is run.

girlyoulookthebest commented 1 year ago

@bukeshui0926 @girlyoulookthebest SpleeterGUI should work right out of the box, but if you do a Spleeter core update you will run in to this issue. I will look into the version numbers you mention but i believe it will update pandas whenever the core update is run.

Funny enough - I had Spleeter 2.9.0 installed, tried to do a core update (not knowing that update functionality wasn't working properly at that time), and of course it didn't work. So I uninstalled Spletter in windows, installed it again, and ran into that issue on first startup of 2.9.2 .

I may look into developing a way to clear the cache during install to avoid this in the future.

boy1dr commented 1 year ago

@girlyoulookthebest I'm not a python guru, i'm open to suggestions on how to package it better :)

nightblure commented 1 year ago

from pandas._typing import ( ImportError: cannot import name 'DtypeArg' from 'pandas._typing' (C:\Users\bu_keshui\AppData\Roaming\SpleeterGUI\python\Lib\site-packages\pandas_typing.py)

Hello,

This is a known bug in pandas 1.3.1, which comes bundled with SpleeterGUI.

I solved this same error by downgrading pandas to 1.3.0:

python -m pip install pandas==1.3.0

Let me know if this helps you.

from pandas._typing import ( ImportError: cannot import name 'DtypeArg' from 'pandas._typing' (C:\Users\bu_keshui\AppData\Roaming\SpleeterGUI\python\Lib\site-packages\pandas_typing.py)

Hello,

This is a known bug in pandas 1.3.1, which comes bundled with SpleeterGUI.

I solved this same error by downgrading pandas to 1.3.0:

python -m pip install pandas==1.3.0

Let me know if this helps you.

how i can do this? how to access the spleeter environment that has all the dependencies installed?

girlyoulookthebest commented 1 year ago

from pandas._typing import ( ImportError: cannot import name 'DtypeArg' from 'pandas._typing' (C:\Users\bu_keshui\AppData\Roaming\SpleeterGUI\python\Lib\site-packages\pandas_typing.py)

Hello, This is a known bug in pandas 1.3.1, which comes bundled with SpleeterGUI. I solved this same error by downgrading pandas to 1.3.0: python -m pip install pandas==1.3.0 Let me know if this helps you.

from pandas._typing import ( ImportError: cannot import name 'DtypeArg' from 'pandas._typing' (C:\Users\bu_keshui\AppData\Roaming\SpleeterGUI\python\Lib\site-packages\pandas_typing.py)

Hello, This is a known bug in pandas 1.3.1, which comes bundled with SpleeterGUI. I solved this same error by downgrading pandas to 1.3.0: python -m pip install pandas==1.3.0 Let me know if this helps you.

how i can do this? how to access the spleeter environment that has all the dependencies installed?

All you need to do set your Python executable in your Windows PATH (which is in your SpleeterGUI install path), and then run the python command I sent to you in my first comment in Powershell.

Once your PATH is set, Python knows all of the addons that are installed.