I'm trying to set up a Jupyter Server using AWS EC2 starting with a Deep Learning AMI (Ubuntu) Version 7.0 AMI. It says that it comes with separate virtual environments:
Comes with latest binaries of deep learning frameworks pre-installed in separate virtual environments: MXNet, TensorFlow, Caffe, Caffe2, PyTorch, Keras, Chainer, Theano and CNTK.
So I ssh into the instance and found an directory ~/anaconda3/envs/ which contains a bunch of folders like tensorflow_p36. But I was unable to find the activate files in them.
There doesn't seem to be any other folder that looks remotely like a virtual env so I'm stuck. Can someone help me?
Thanks!
Try the command:
source activate pytorch_p36
Reference: https://docs.aws.amazon.com/dlami/latest/devguide/tutorial-pytorch.html
When you login to the machine, the MOTD (Message of the Day) on the login screen displays various source activate commands you can run. To find the source activate commands of other Deep Learning frameworks, see this reference:
https://docs.aws.amazon.com/dlami/latest/devguide/tutorial-conda.html
The activate binary is in anaconda3/bin/activate.
Your PATH is not set up correctly and therefore can not find activate binary. Specify it explicitly.
source anaconda3/bin/activate <env>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With