-
-
Notifications
You must be signed in to change notification settings - Fork 18.8k
Closed
Labels
BuildLibrary building on various platformsLibrary building on various platformsNeeds InfoClarification about behavior needed to assess issueClarification about behavior needed to assess issue
Description
Pandas version checks
-
I have checked that this issue has not already been reported.
-
I have confirmed this bug exists on the latest version of pandas.
-
I have confirmed this bug exists on the main branch of pandas.
Reproducible Example
$ python
>>> import pandas as pd
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Users/user.name/my-library/.venv/lib/python3.11/site-packages/pandas/__init__.py", line 22, in <module>
from pandas.compat import is_numpy_dev as _is_numpy_dev # pyright: ignore # noqa:F401
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/user.name/my-library/.venv/lib/python3.11/site-packages/pandas/compat/__init__.py", line 25, in <module>
from pandas.compat.numpy import (
File "/Users/user.name/my-library/.venv/lib/python3.11/site-packages/pandas/compat/numpy/__init__.py", line 4, in <module>
from pandas.util.version import Version
File "/Users/user.name/my-library/.venv/lib/python3.11/site-packages/pandas/util/__init__.py", line 2, in <module>
from pandas.util._decorators import ( # noqa:F401
File "/Users/user.name/my-library/.venv/lib/python3.11/site-packages/pandas/util/_decorators.py", line 14, in <module>
from pandas._libs.properties import cache_readonly
ModuleNotFoundError: No module named 'pandas._libs.properties'
Issue Description
I'm using Python 3.11.2 and pandas==2.0.3
Expected Behavior
I can import pandas without the error.
Installed Versions
I can't execute pd.show_versions()
.
Metadata
Metadata
Assignees
Labels
BuildLibrary building on various platformsLibrary building on various platformsNeeds InfoClarification about behavior needed to assess issueClarification about behavior needed to assess issue