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

Should this be a version bug of pandas? #178

Open
bukeshui0926 opened this issue Nov 11, 2022 · 6 comments
Open

Should this be a version bug of pandas? #178

bukeshui0926 opened this issue Nov 11, 2022 · 6 comments

Comments

@bukeshui0926
Copy link

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
Copy link

girlyoulookthebest commented Nov 15, 2022

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
Copy link
Owner

boy1dr commented Nov 15, 2022

@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
Copy link

@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
Copy link
Owner

boy1dr commented Nov 15, 2022

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

@nightblure
Copy link

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
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants