Apresenta essa msg
ImportError Traceback (most recent call last)
File ~/projeto_Requests/venv/lib/python3.10/site-packages/pandas/__init__.py:26
24 try:
25 # numpy compat
---> 26 from pandas.compat import (
27 is_numpy_dev as _is_numpy_dev, # pyright: ignore[reportUnusedImport] # noqa: F401
28 )
29 except ImportError as _err: # pragma: no cover
File ~/projeto_Requests/venv/lib/python3.10/site-packages/pandas/compat/__init__.py:17
15 from typing import TYPE_CHECKING
---> 17 from pandas.compat._constants import (
18 IS64,
19 ISMUSL,
20 PY310,
21 PY311,
22 PY312,
23 PYPY,
24 )
25 import pandas.compat.compressors
ImportError: cannot import name 'ISMUSL' from 'pandas.compat._constants' (/home/fernando/projeto_Requests/venv/lib/python3.10/site-packages/pandas/compat/_constants.py)
The above exception was the direct cause of the following exception:
...
43 options,
44 )
46 # let init-time option registration happen
ImportError: C extension: pandas.compat._constants not built. If you want to import pandas from the source directory, you may need to run 'python setup.py build_ext' to build the C extensions first.
Output is truncated. View as a scrollable element or open in a text editor. Adjust cell output settings...
Ja desinstalei e instalei novamente e o problema persiste.
Reparei que este problema está presente no arquivo do projeto .ipynb mas quando crei um arquivo .py ele reconheceu sem problemas,
O que fazer?