鱼C论坛

 找回密码
 立即注册
查看: 1901|回复: 1

求助!!pandas库报错

[复制链接]
发表于 2022-7-19 10:38:21 | 显示全部楼层 |阅读模式
10鱼币
代码如下
import pickle
import pandas
with open('A_data', 'rb') as f:
    mk_df = pickle.load(f)
print(mk_df)

出现了报错
Traceback (most recent call last):
  File "D:/同心源实习/代码/反转因子.py", line 3, in <module>
    import pandas
  File "D:\pycharm\123\lib\site-packages\pandas\__init__.py", line 22, in <module>
    from pandas.compat import is_numpy_dev as _is_numpy_dev
  File "D:\pycharm\123\lib\site-packages\pandas\compat\__init__.py", line 15, in <module>
    from pandas.compat.numpy import (
  File "D:\pycharm\123\lib\site-packages\pandas\compat\numpy\__init__.py", line 4, in <module>
    from pandas.util.version import Version
  File "D:\pycharm\123\lib\site-packages\pandas\util\__init__.py", line 7, in <module>
    from pandas.core.util.hashing import (  # noqa:F401
  File "D:\pycharm\123\lib\site-packages\pandas\core\util\hashing.py", line 17, in <module>
    from pandas._libs import lib
  File "pandas\_libs\missing.pxd", line 11, in init pandas._libs.lib
  File "pandas\_libs\missing.pyx", line 22, in init pandas._libs.missing
ImportError: cannot import name is_platform_32bit

想知道小甲鱼最近在做啥?请访问 -> ilovefishc.com
回复

使用道具 举报

发表于 2022-7-19 10:51:42 | 显示全部楼层
cmd 输入
pip install tushare --upgrade
想知道小甲鱼最近在做啥?请访问 -> ilovefishc.com
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

小黑屋|手机版|Archiver|鱼C工作室 ( 粤ICP备18085999号-1 | 粤公网安备 44051102000585号)

GMT+8, 2024-11-17 14:39

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表