conda
has not been configured yet when rc.local is executed. This is usually done through the .bashrc
file. But you can try to just add it to the rc.local
script (before launching jupyter):
source /home/ec2-user/anaconda3/etc/profile.d/conda.sh
This should set up the use of conda
CLICK HERE to find out more related problems solutions.