簡體   English   中英

在python3中導入keras時出現numpy.core.umath錯誤

[英]numpy.core.umath error when importing keras in python3

當我在python中運行import keras時,它返回以下錯誤:

Using TensorFlow backend.
--------------------------------------------------------------------------- 
RuntimeError                              
Traceback (most recent call
last) RuntimeError: module compiled against API version 0xc but this version of numpy is 0xb
--------------------------------------------------------------------------- 
ImportError                               
Traceback (most recent call last) ImportError: numpy.core.multiarray failed to import
--------------------------------------------------------------------------- 
ImportError                               
Traceback (most recent call last) ImportError: numpy.core.umath failed to import
--------------------------------------------------------------------------- 
ImportError                               
Traceback (most recent call last) ImportError: numpy.core.umath failed to import

然后彈出窗口將顯示Python 意外退出 我在這里需要做什么? 謝謝。

RuntimeError:針對API版本0xc編譯的模塊,但此版本的numpy為0xb

確保您使用的是可接受的numpy版本。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM