Cloud ML을 사용하는 Google 클라우드 프로젝트 용 Google 클라우드 셸 환경을 설정하려고합니다. |클라우드 용 Google 클라우드 셸 환경 설정 ML
나는 그들의 설정 페이지 자체의 지시에 따라 오전 :
Getting Setup | Google Cloud Machine Learning
나는 나의
cloud shell
에서이 명령을 실행 bash는
이에 대한 OUPUT 추적의 마지막 부분이었다
- 에코 '성공! 환경에는 필요한 도구와 종속성이 있습니다. ' 성공! 사용자 환경에는 필수 도구 및 종속성이 있습니다.
이 명령을
수출 PATH = $ {HOME}/지방/빈 :. $ {PATH}
는 더 OUPUT를 생성하지 않습니다.
그리고 마지막으로 명령
환경 확인 :[email protected]cloudshell:~$ curl https://raw.githubusercontent.com/GoogleCloudPlatform/cloudml-samples/master/tools/check_environment.py | python % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 3814 100 3814 0 0 17274 0 --:--:-- --:--:-- --:--:-- 17257 You are using pip version 8.1.1, however version 9.0.1 is available. You should consider upgrading via the 'pip install --upgrade pip' command. You are using pip version 8.1.1, however version 9.0.1 is available. You should consider upgrading via the 'pip install --upgrade pip' command. Your active configuration is: [cloudshell-11180] ERROR: Unable to list Cloud ML models: { "error": { "code": 400, "message": "Field: parent Error: Name should be in the form of 'projects/your-project-id'", "status": "INVALID_ARGUMENT", "details": [ { "@type": "type.googleapis.com/google.rpc.BadRequest", "fieldViolations": [ { "field": "parent", "description": "Name should be in the form of 'projects/your-project-id'" } ] } ] } }
가 생산되어야한다 :
! ". 성공은 환경이 제대로 구성"파이썬
이 출력을 생성합니다 스크립트가 성공적으로 완료되면
설정의 다음 부분으로 이동할 수 있도록 해결 방법을 알려주십시오.
예 :이 명령을 사용할 수 있습니다 클라우드 콘솔에서 일반적으로 현재 프로젝트는 현재 Cloud Console 프로젝트와 일치하도록 셸에서 자동으로 설정됩니다. –