anaconda安装tensorflow,jupyter notebook运行时,提示没有pandas包的解决方法

本人是在anaconda中安装的tensorflow,然后在tensorflow中安装的jupyter notebook,当使用import pandas时提示包不存在。但退出tensorflow使用conda list命令查看安装的包时,有pandas。后来搞明白原来是在tensorflow中需要重新安装,安装步骤如下:
1.首先启动tensorflow
source activate tensorflow
2.安装pandas
pip install pandas
其他包的安装也是类似,这样就可以继续码代码了。

猜你喜欢

转载自blog.csdn.net/qq_24833271/article/details/88868949