import tensorflow 报错:imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)

Reported the following errors after installation tensorflow2.1:
imp.load_module ( '_ pywrap_tensorflow_internal', FP, pathname, Description)

Solution: windows CPU does not support tensorflow2.1, it is deleted and re-installed tensorflow2.0
command as follows, domestic mirror, install quickly.
install --upgrade --pre tensorflow == PIP 2.0.0 -i https://pypi.tuna.tsinghua.edu.cn/simple
the Looking in the Indexes: https://pypi.tuna.tsinghua.edu.cn/simple

Published 21 original articles · won praise 18 · views 1459

Guess you like

Origin blog.csdn.net/zephyr_wang/article/details/103941813