When I install the package of tennsorflow, I met the following Error prompt:ImportError: cannot import name 'abs'
The reason is that the version of tensorflow is not consists of the version of the package of portobuf, you just need to install the corrsponding version package of the above packages.
The steps of solving the problem;
pip uninstall tensorflowpip uninstall portobufpip install tensorflow
当安装TensorFlow包时遇到ImportError无法导入'abs'的问题,原因是TensorFlow版本与protobuf包版本不一致。解决步骤包括卸载现有TensorFlow和protobuf,然后重新安装正确的版本。
15万+

被折叠的 条评论
为什么被折叠?



