我正在尝试在亚马逊网络服务上使用Deep Learning AMI (Ubuntu)
。当您登录时,您会收到以下消息(这里只展示部分内容):
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
因此,如果我想运行上面显示的最后一个环境,我需要运行以下命令:
source activate tensorflow_p36
当我运行命令时,却出现了以下情况:
-bash: activate: No such file or directory
这种情况也发生在其他环境中。为什么会这样?我应该怎么做来解决这个问题?
谢谢。
activate
的脚本所在的目录中,或者将这样的脚本添加到你的PATH中。构建AMI的人应该知道他们放置该脚本的位置。 - Charles DuffyPATH=/home/ubuntu/src/anaconda3/bin:$PATH
... - Charles Duffy