简体   繁体   English

pd.read_hdf抛出“无法将此数组的WRITABLE标志设置为True”和“没有名为“ numpy.core._multiarray_umath”的模块”

[英]pd.read_hdf throws 'cannot set WRITABLE flag to True of this array' and 'No module named 'numpy.core._multiarray_umath'

When I run 当我跑步

pd.read_hdf('xxx')

I got 我有

cannot set WRITABLE flag to True of this array

. I found solution here which suggest to downgrade numpy from 1.16.0 to 1.15.x 我在这里找到建议将numpy从1.16.0降级到1.15.x的解决方案

However, after downgrading numpy to 1.15.4, a new error comes 但是,将numpy降级为1.15.4后,会出现新错误

No module named 'numpy.core._multiarray_umath'

. For this error, someone suggests to upgrade numpy to 1.16.0 . 对于此错误,有人建议将numpy升级到1.16.0。

Anyone encounter the same problem? 有人遇到同样的问题吗?

If you use jupyter notebook or Google Colaboratory use !pip install numpy==1.15.0 before import numpy module and restart kernal or runtime. 如果您使用jupyter笔记本电脑或Google Colaboratory,请使用!pip install numpy==1.15.0在导入numpy模块之前!pip install numpy==1.15.0并重新启动内核或运行时。 I had the same problem and solved it in this way. 我遇到了同样的问题,并以这种方式解决了。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 pd.read_hdf 抛出“无法将此数组的 WRITABLE 标志设置为 True” - pd.read_hdf throws 'cannot set WRITABLE flag to True of this array' ModuleNotFoundError:matplotlib 导入时没有名为“numpy.core._multiarray_umath”的模块 - ModuleNotFoundError: No module named 'numpy.core._multiarray_umath' on matplotlib import kivy 中没有名为“numpy.core._multiarray_umath”的模块 - No module named 'numpy.core._multiarray_umath' in kivy TensorFlow - ModuleNotFoundError:没有名为“numpy.core._multiarray_umath”的模块 - TensorFlow - ModuleNotFoundError: No module named 'numpy.core._multiarray_umath' 无法安装 numpy。 没有名为“numpy.core._multiarray_umath”的模块 - Unable to Install numpy. No module named 'numpy.core._multiarray_umath' ModuleNotFoundError:没有名为“numpy.core._multiarray_umath”的模块(安装 TensorFlow 时) - ModuleNotFoundError: No module named 'numpy.core._multiarray_umath' (While installing TensorFlow) 发生异常:ImportError "No module named 'numpy.core._multiarray_umath'" - Exception has occurred: ImportError "No module named 'numpy.core._multiarray_umath'" Windows VS 代码找不到 numpy 模块,即使它已安装(ModuleNotFoundError: No module named 'numpy.core._multiarray_umath') - Windows VS Code can't find numpy Module even though it is installed (ModuleNotFoundError: No module named 'numpy.core._multiarray_umath') 当我安装 tensorflow 时,我收到以下错误 ImportError: cannot import name '_set_madvise_hugepage' from 'numpy.core._multiarray_umath' - when I installed tensorflow I get the following error ImportError: cannot import name '_set_madvise_hugepage' from 'numpy.core._multiarray_umath' 什么是 numpy.core._multiarray_umath.implement_array_function 以及为什么要花费大量时间? - what is numpy.core._multiarray_umath.implement_array_function and why it costs lots of time?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM