目录:
前言
怪我手贱,看见别人的应用比较好玩,就安装了别人的requirement.txt然后我的tensorflow环境就崩了,但是这也磨练了技术,发现了一个万精油的办法
问题描述
本来程序运行没有问题,但因为我手贱安装了别人的requirements点后,就遇到了各种各样的问题:
pd.core.computation.expressions.set_use_numexpr(False)
AttributeError: module 'pandas.core.computation' has no attribute 'expressions'
NameError: name 'core' is not defined
Error importing tensorflow: NameError: name 'python' is not defined
解决方案
也是很偶然的,我就想环境错了,那我重新安装一下tensorflow呗,
pip install tensorflow
问题解决。