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

HELP!!! #91

Open
Peng2555 opened this issue Mar 28, 2024 · 6 comments
Open

HELP!!! #91

Peng2555 opened this issue Mar 28, 2024 · 6 comments

Comments

@Peng2555
Copy link

When I was running run. py for VIBRANT, I encountered ImportError: cannot import name 'DtypeObj'. How should this problem be solved? And using pip to download 'DtypeObj' did not find the corresponding import. Help

@KrisKieft
Copy link
Member

VIBRANT does not have any import called 'DtypeObj'. Can you please send the full error message?

@Peng2555
Copy link
Author

This is all the error messages: Traceback (most recent call last):
File "./VIBRANT_run.py", line 23, in
import pandas as pd
File "/home/data/pp2/.conda/envs/VIBRANT/lib/python3.6/site-packages/pandas/init.py", line 55, in
from pandas.core.api import (
File "/home/data/pp2/.conda/envs/VIBRANT/lib/python3.6/site-packages/pandas/core/api.py", line 5, in
from pandas.core.arrays.integer import (
File "/home/data/pp2/.conda/envs/VIBRANT/lib/python3.6/site-packages/pandas/core/arrays/init.py", line 13, in
from .sparse import SparseArray # noqa: F401
File "/home/data/pp2/.conda/envs/VIBRANT/lib/python3.6/site-packages/pandas/core/arrays/sparse/init.py", line 3, in
from pandas.core.arrays.sparse.accessor import SparseAccessor, SparseFrameAccessor
File "/home/data/pp2/.conda/envs/VIBRANT/lib/python3.6/site-packages/pandas/core/arrays/sparse/accessor.py", line 10, in
from pandas.core.arrays.sparse.array import SparseArray
File "/home/data/pp2/.conda/envs/VIBRANT/lib/python3.6/site-packages/pandas/core/arrays/sparse/array.py", line 44, in
from pandas.core.arrays.sparse.dtype import SparseDtype
File "/home/data/pp2/.conda/envs/VIBRANT/lib/python3.6/site-packages/pandas/core/arrays/sparse/dtype.py", line 9, in
from pandas._typing import Dtype, DtypeObj
ImportError: cannot import name 'DtypeObj'

@Peng2555
Copy link
Author

Like this:VIBRANT Error: Please install VIBRANT dependancy module(s). See below for the encountered error:

cannot import name 'DtypeObj'

@KrisKieft
Copy link
Member

The import error comes from pandas. What version of pandas do you have?

@Peng2555
Copy link
Author

pandas==1.1.5

@KrisKieft
Copy link
Member

Try updating pandas

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

2 participants