우분투 16.04 VM이 탑재 된 Compute Engine 앱을 Chrome에서 실행하고 Python3, ipython 커널 및 일부 라이브러리를 설치하여 Jupyter 노트북을 실행할 수있게되었습니다. 다음 명령은 다음과 같습니다오류 : 내 Google 클라우드 노트에 대한 무단 사용자 :
sudo apt-get update
sudo apt-get install python3-setuptools python3-dev libzmq-dev
sudo easy_install3 pip
sudo pip3 install ipython pyzmq jinja2 tornado jsonschema
sudo pip3 install jupyter
sudo ipython kernel install
sudo pip3 install numpy scipy scikit-learn pandas matplotlib
마지막 명령은 두 번이 메시지를 주었다 쇼 - 스토퍼되지 않을 것이 기대
The directory '/home/allennugent/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
을, 나는 소스와 방화벽 규칙을 설정했다 IP 범위 = '0.0.0.0/0'및 프로토콜 및 포트 = 'tcp : 8888'. 그런 다음 저는 주피터를 시작했습니다 :
jupyter notebook --ip=0.0.0.0 --port=8888 --no-browser &
이렇게하면 노트북에 하이퍼 링크가 생깁니다. 나는 (시리얼 콘솔 창에) 링크를 클릭하면 브라우저 페이지 내가 계산 엔진을 설정할 때 내가 동일한 계정 이름 아래에 기록 된 클라우드 플랫폼 대시 보드에 따르면
Error: Unauthorized You are currently logged in as [my gmail address] which does not have access to Cloud Shell 3118611.
열립니다 , 나는 그 허가에 무슨 문제가 있는지 알지 못한다.
내가 누락 된 항목이 있습니까?