Thanks a lot! I have exactly the same problem. Just in case there are some people who do not have a lot experience in linux just like me, I want to point out that sometimes there are both /home/ubuntu
and /home/username
directories(as least for my case). In this case you should look at the error message Permission denied: u'/home/XXXX/.jupyter/migrated'
.
XXXX
is the directory where you wanna run the command given by @rocksock , thanks again!
Some further problems using google cloud and solution:
- pygpu not installed -->
conda install -c conda-forge pygpu
- can not create new jupyter notebook --> change ownership of everything in
\home\username\
from root to user. Usels -l
to check the ownership. I still don’t understand why but it works for me.