我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
ImportError:Can'tdetermineversionforbottleneck
无法确定bottleneck版本。
应该是你的numpy版本问题,你是怎么装的numpy,命令行里安装的吗?
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。