我正在按照一个教程构建一个ChatBot,在该教程中,讲师为tf 1.0.0(ChatBot)和tf 0.12.1(the_best_chatbot)创建2个虚拟环境。我创建了这两个文件,并在此基础上安装了tf 2.1.0。现在的问题是,
1。
fahim@Fahim:~$ conda activate ChatBot
(ChatBot) fahim@Fahim:~$ anaconda-navigator
anaconda-navigator: command not found
(ChatBot) fahim@Fahim:~$ conda deactivate
fahim@Fahim:~$ conda activate the_best_chatbot
(the_best_chatbot) fahim@Fahim:~$ anaconda-navigator
anaconda-navigator: command not found
(the_best_chatbot) fahim@Fahim:~$ conda deactivate
fahim@Fahim:~$ conda activate
(base) fahim@Fahim:~$ anaconda-navigator
OpenType support missing for "Ubuntu", script 12
仅基本环境正在运行。
2.从基础环境启动了anaconda-navigator。从“应用程序打开”下拉菜单中,选择ChatBot,然后启动spyder。从那里
import tensorflow as tf
print(tf.__version__)
这将返回2.1.0,并带有一些警告,应该在其中返回1.0.0
如何解决这两个问题?
操作系统:Linux Mint 19.3