No module named ‘tensorflow.contrib’
查了一下资源包后发现
tensorflow 2.0版本以后没有 tensorflow.contrib这个类了
需要将tensorflow降一下级
在环境中先卸载Tensorflow
pip uninstall tensorflow
然后重新安装Tensorflow
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple tensorflow==1.14.0
我这里使用了镜像安装,会很快
然后就好了