Ubuntu: pdserving deployment output log.txt Error

Error message:

Changing the config.yaml path in the web_service.py file to an absolute path is also incorrect, and also tried unset https_proxy
unset http_proxy, but the error code is as follows:
More information: The
model is self-trained det (SAST) rec (EN_Number_Lite)
The configuration of the model corresponding to the depoly has also been modified

Traceback (most recent call last):
  File "web_service.py", line 159, in <module>
    uci_service.prepare_pipeline_config("config.yml")
  File "/home/dapeng/.local/lib/python3.7/site-packages/paddle_serving_server/web_service.py", line 65, in prepare_pipeline_config
    self._server.prepare_server(yaml_file)
  File "/home/dapeng/.local/lib/python3.7/site-packages/paddle_serving_server/pipeline/pipeline_server.py", line 172, in prepare_server
    yml_file=yml_file, yml_dict=yml_dict)
  File "/home/dapeng/.local/lib/python3.7/site-packages/paddle_serving_server/pipeline/pipeline_server.py", line 344, in load_server_yaml_conf
    conf = yaml.load(f.read())
TypeError: load() missing 1 required positional argument: 'Loader'

Solution:

vim /home/dapeng/.local/lib/python3.7/site-packages/paddle_serving_server/pipeline/pipeline_server.py
# At line 344, after the conf = yaml.load() brackets addLoader=yaml.FullLoaderv
conf = yaml.load(f.read(), Loader=yaml.FullLoader)

Read More: