0
我想为我的谷歌云项目设置谷歌云外壳环境,使用云ML。设置谷歌云外壳云环境ML
我下面的设置页面上的说明:
Getting Setup | Google Cloud Machine Learning
我在cloud shell
执行此命令:
输出中跟踪此的最后部分是:
- 回声“成功!您的环境具有所需的工具和依赖关系。'成功!您的环境具有所需的工具和 依赖项。
此命令:
出口PATH = $ {HOME}/local/bin目录:$ {PATH}
可生产没有输出。
最后的命令检查环境:
产生这样的输出:
[email protected]:~$ 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'"
}
]
}
]
}
}
当它应该是生产:
“!成功您的环境正确配置”当脚本成功完成时。
请告诉我如何解决这个问题,以便我可以移动到设置的下一部分。
是的,从“@cloudshell”字符串:您可以使用此命令在云端控制台中。通常情况下,当前项目会自动设置在shell中以匹配当前的云控制台项目。 –