Bug 5905 - python import pandas 包错
Summary: python import pandas 包错
Status: CONFIRMED
Alias: None
Product: Anolis OS 23
Classification: Anolis OS
Component: Others (show other bugs) Others
Version: 23.0
Hardware: All Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: happy_orange
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-07-18 11:08 UTC by linsheng
Modified: 2023-07-19 10:01 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description linsheng alibaba_cloud_group 2023-07-18 11:08:03 UTC
Description of problem:
python3-pandas 使用报错
[root@anolis23 site-packages]# python
Python 3.10.11 (main, Apr  6 2023, 00:00:00) [GCC 12.2.1 20221121 (Anolis OS 12.2.1-1)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import pandas
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib64/python3.10/site-packages/pandas/__init__.py", line 50, in <module>
    from pandas.core.api import (
  File "/usr/lib64/python3.10/site-packages/pandas/core/api.py", line 48, in <module>
    from pandas.core.groupby import (
  File "/usr/lib64/python3.10/site-packages/pandas/core/groupby/__init__.py", line 1, in <module>
    from pandas.core.groupby.generic import (
  File "/usr/lib64/python3.10/site-packages/pandas/core/groupby/generic.py", line 73, in <module>
    from pandas.core.frame import DataFrame
  File "/usr/lib64/python3.10/site-packages/pandas/core/frame.py", line 129, in <module>
    from pandas.core import (
  File "/usr/lib64/python3.10/site-packages/pandas/core/generic.py", line 108, in <module>
    from pandas.core import (
  File "/usr/lib64/python3.10/site-packages/pandas/core/indexing.py", line 51, in <module>
    from pandas.core.indexers import (
ImportError: cannot import name 'is_exact_shape_match' from 'pandas.core.indexers' (/usr/lib64/python3.10/site-packages/pandas/core/indexers/__init__.py)
>>>


Version-Release number of selected component (if applicable):


How reproducible:



Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:
Comment 1 happy_orange alibaba_cloud_group 2023-07-19 10:01:09 UTC
需要引入 2 个 软件:
python-Bottleneck
python-numexpr

目前进度:已建仓。