开发者社区> 问答> 正文

我pandas明明都装好了,为什么我导入还是报错 ?报错

我pandas明明都装好了,为什么我导入还是报错,重装也不行,pip安装或者下载安装的都不行。有没有遇到同样问题的兄弟,教下我图片说明
Traceback (most recent call last):
File "E:/Deep Learning Data/TensorFlow Learn 1/testItemAccuracy.py", line 3, in
import pandas as pd
File "D:\Anaconda3\envs\tensorflow\lib\site-packages\pandas__init__.py", line 55, in
from pandas.core.api import (
File "D:\Anaconda3\envs\tensorflow\lib\site-packages\pandas\core\api.py", line 5, in
from pandas.core.arrays.integer import (
File "D:\Anaconda3\envs\tensorflow\lib\site-packages\pandas\core\arrays__init__.py", line 7, in
from .categorical import Categorical # noqa: F401
File "D:\Anaconda3\envs\tensorflow\lib\site-packages\pandas\core\arrays\categorical.py", line 54, in
from pandas.core.base import NoNewAttributesMixin, PandasObject, shared_docs
File "D:\Anaconda3\envs\tensorflow\lib\site-packages\pandas\core\base.py", line 36, in
import pandas.core.nanops as nanops
File "D:\Anaconda3\envs\tensorflow\lib\site-packages\pandas\core\nanops.py", line 38, in
bn = import_optional_dependency("bottleneck", raise_on_missing=False, on_version="warn")
File "D:\Anaconda3\envs\tensorflow\lib\site-packages\pandas\compat_optional.py", line 99, in import_optional_dependency
version = _get_version(module)
File "D:\Anaconda3\envs\tensorflow\lib\site-packages\pandas\compat_optional.py", line 48, in get_version
raise ImportError("Can't determine version for {}".format(module.
name
))
ImportError: Can't determine version for bottleneck

展开
收起
爱吃鱼的程序员 2020-06-23 01:42:38 1974 0
1 条回答
写回答
取消 提交回答
  • https://developer.aliyun.com/profile/5yerqm5bn5yqg?spm=a2c6h.12873639.0.0.6eae304abcjaIB

    ImportError:Can'tdetermineversionforbottleneck
    无法确定bottleneck版本。
    应该是你的numpy版本问题,你是怎么装的numpy,命令行里安装的吗?

    2020-06-23 01:42:55
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
中文:即学即用的Pandas入门与时间序列分析 立即下载
即学即用的Pandas入门与时间序列分析 立即下载
低代码开发师(初级)实战教程 立即下载