Amazon Web Services:-bash:激活:没有这样的文件或目录

Sim*_*ity 5 python bash amazon-web-services tensorflow

Deep Learning AMI (Ubuntu)我正在尝试在亚马逊网络服务(AWS)上使用。当您登录时,您会收到一条消息,如下所示(我在这里显示了其中的一部分):

Please use one of the following commands to start the required environment with the framework of your choice:
for MXNet(+Keras1) with Python3 (CUDA 9) _____________________ source activate mxnet_p36
for MXNet(+Keras1) with Python2 (CUDA 9) _____________________ source activate mxnet_p27
for TensorFlow(+Keras2) with Python3 (CUDA 8) ________________ source activate tensorflow_p36
Run Code Online (Sandbox Code Playgroud)

因此,如果我想运行上面显示的最后一个环境,我的理解是运行以下命令:

source activate tensorflow_p36
Run Code Online (Sandbox Code Playgroud)

但是,当我运行该命令时,我得到以下信息:

-bash: activate: No such file or directory
Run Code Online (Sandbox Code Playgroud)

其他环境也会发生这种情况。这是为什么?我应该怎么做才能解决这个问题?

谢谢。

Shr*_*H.V 0

这里有点晚了,但是 anaconda 已经安装在实例中了。如果是这样请尝试

conda activate tensorflow_p36
Run Code Online (Sandbox Code Playgroud)