RuntimeError:构建自定义图像时出错

时间:2019-07-15 12:04:14

标签: google-cloud-platform google-compute-engine google-cloud-dataproc

当我使用generate_custom_image.py创建自定义dataproc图像时,会引发此错误:

  File "dataproc/cloud-dataproc/custom-images/generate_custom_image.py", line 429, in <module>
    run()
  File "dataproc/cloud-dataproc/custom-images/generate_custom_image.py", line 420, in run
    daisy_image_creator.create(args)
  File "/Users/yanzhongsu/Documents/copofi/gitlab/core-spark/dataproc/cloud-dataproc/custom-images/daisy_image_creator.py", line 43, in create
    os.path.abspath(args.daisy_path), workflow_script)
  File "/Users/yanzhongsu/Documents/copofi/gitlab/core-spark/dataproc/cloud-dataproc/custom-images/daisy_workflow_executor.py", line 42, in run
    raise RuntimeError("Error building custom image.")
RuntimeError: Error building custom image.```


The customization-script is as follows:
#!/bin/bash
pip install numpy==1.15.4
pip install pandas==0.23.4
pip install ujson==1.35
pip install geopandas==0.4.0
pip install lxml==4.3.0

**daisy** is downloaded from here: https://storage.googleapis.com/compute-image-tools/release/darwin/daisy

1 个答案:

答案 0 :(得分:2)

项目GoogleCloudPlatform/cloud-dataproc/custom-images已移至GoogleCloudPlatform/dataproc-custom-images,并且雏菊已成为可选项目。您可以尝试新项目吗?