The example of ray serve deploying a service using serve deploy does not work

  • High: It blocks me to complete my task.

I tried to run a case of ray serve using the serve deploy command in the ray2.6 documentation.
The document url is :Production Guide — Ray 2.6.1
My code structure is as follows :

.
├── fruit_config.yaml
├── fruit.py
└── __pycache__
    └── fruit.cpython-310.pyc

Then,I run this command : serve deploy fruit_config.yaml
Program report a error:

name: app1
app_status:
  status: DEPLOY_FAILED
  message: |-
    Deploying app 'app1' failed with exception:
    ModuleNotFoundError("No module named 'fruit'")
  deployment_timestamp: 1694005180.8186848
deployment_statuses: []