Azure AI Foundry Evaluation Doesn't Work Anymore

Ruofan Kong 5 Reputation points Microsoft Employee
2025-02-10T21:27:17.3633333+00:00

I'm working on the RAI test evaluation on Azure AI Foundry. 2 weeks I uploaded my JSONL data for evaluation, it worked fine. But today when I tried again, it consistently failed and gave me the error below. Looks this is due to the dependency version issue.

2025-02-10 17:38:04 +0 Information Automatic runtime creation is in progress, id: ca7bad50-c3e0-5242-a13c-abc9d785c66b.
2025-02-10 17:38:06 +0 Information Automatic runtime creation is in progress, id: ca7bad50-c3e0-5242-a13c-abc9d785c66b.
2025-02-10 17:38:17 +0 Information Automatic runtime creation is in progress, id: ca7bad50-c3e0-5242-a13c-abc9d785c66b.
2025-02-10 17:38:29 +0 Information Automatic runtime creation is in progress, id: ca7bad50-c3e0-5242-a13c-abc9d785c66b.
2025-02-10 17:38:41 +0 Information Automatic runtime creation is in progress, id: ca7bad50-c3e0-5242-a13c-abc9d785c66b.
2025-02-10 17:38:53 +0 Information Automatic runtime creation is in progress, id: ca7bad50-c3e0-5242-a13c-abc9d785c66b.
2025-02-10 17:39:05 +0 Information Automatic runtime creation is in progress, id: ca7bad50-c3e0-5242-a13c-abc9d785c66b.
2025-02-10 17:39:17 +0 Information Automatic runtime creation is in progress, id: ca7bad50-c3e0-5242-a13c-abc9d785c66b.
2025-02-10 17:39:29 +0 Information Automatic runtime creation is in progress, id: ca7bad50-c3e0-5242-a13c-abc9d785c66b.
2025-02-10 17:39:41 +0 Information Automatic runtime creation is in progress, id: ca7bad50-c3e0-5242-a13c-abc9d785c66b.
2025-02-10 17:39:53 +0 Information Automatic runtime creation is in progress, id: ca7bad50-c3e0-5242-a13c-abc9d785c66b.
2025-02-10 17:40:06 +0 Information Automatic runtime creation is in progress, id: ca7bad50-c3e0-5242-a13c-abc9d785c66b.
2025-02-10 17:40:17 +0 Information Automatic runtime creation is in progress, id: ca7bad50-c3e0-5242-a13c-abc9d785c66b.
2025-02-10 17:40:29 +0 Information Automatic runtime creation is in progress, id: ca7bad50-c3e0-5242-a13c-abc9d785c66b.
2025-02-10 17:40:41 +0 Information Automatic runtime creation is in progress, id: ca7bad50-c3e0-5242-a13c-abc9d785c66b.
2025-02-10 17:40:53 +0 Information Automatic runtime creation is in progress, id: ca7bad50-c3e0-5242-a13c-abc9d785c66b.
2025-02-10 17:41:04 +0 Information Automatic runtime creation is in progress, id: ca7bad50-c3e0-5242-a13c-abc9d785c66b.
2025-02-10 17:41:16 +0 Information Automatic runtime creation is in progress, id: ca7bad50-c3e0-5242-a13c-abc9d785c66b.
2025-02-10 17:41:28 +0 Information Automatic runtime creation is in progress, id: ca7bad50-c3e0-5242-a13c-abc9d785c66b.
2025-02-10 17:41:40 +0 Information Automatic runtime creation is in progress, id: ca7bad50-c3e0-5242-a13c-abc9d785c66b.
2025-02-10 17:41:51 +0 Information Automatic runtime creation is in progress, id: ca7bad50-c3e0-5242-a13c-abc9d785c66b.
2025-02-10 17:43:47 +0 Debug       Diagnosis result for "docker images"
REPOSITORY                                                               TAG                         IMAGE ID       CREATED         SIZE
mcr.microsoft.com/azureml/promptflow/promptflow-runtime                  20250131.v2                 32ad64fc0e1b   9 days ago      2.65GB
localhost/c3                                                             latest                      6a9cf8a8d105   2 months ago    29.3MB
mcr.microsoft.com/azureml/computeinstance/cap/ice-capability/installed   eastus2                     6a9cf8a8d105   2 months ago    29.3MB
mcr.microsoft.com/azureml/runtime/exe/execution-wrapper/installed        germanywestcentral-stable   b8dcbcffe030   5 months ago    148MB
mcr.microsoft.com/azureml/runtime/cap/hosttools-capability/installed     eastus-stable               14d5baebffac   5 months ago    202MB
mcr.microsoft.com/azureml/promptflow/promptflow-python                   20240715.v1                 42c3d5f499a2   7 months ago    2.43GB
mcr.microsoft.com/azureml/promptflow/promptflow-dotnet                   20240508.v3                 a2d650697b04   9 months ago    768MB
ghcr.io/azure/c3                                                         latest                      29bf07324812   15 months ago   27.7MB

2025-02-10 17:43:47 +0 Debug       Diagnosis result for "docker ps"
CONTAINER ID   IMAGE                                                                 COMMAND                  CREATED          STATUS          PORTS                                                    NAMES
63678150b3b9   mcr.microsoft.com/azureml/promptflow/promptflow-runtime:20250131.v2   "/service/scripts/st…"   5 minutes ago    Up 5 minutes    5001/tcp, 8883/tcp, 8888/tcp, 127.0.0.1:8081->8080/tcp   ca7bad50-c3e0-5242-a13c-abc9d785c66b
d486469a8830   localhost/c3:latest                                                   "/usr/local/bin/ice"     22 minutes ago   Up 22 minutes                                                            c3-progenitor

2025-02-10 17:43:47 +0 Debug       Diagnosis result for "docker logs ca7bad50-c3e0-5242-a13c-abc9d785c66b --tail 100"
{"level":"[WARN]","ts":"Feb  10 17:43:44","logger":"PromptFlow","caller":"util/http_util.go:90","msg":"Error calling endpoint: Get \"http://127.0.0.1:33299/health\": read tcp 127.0.0.1:43852->127.0.0.1:33299: read: connection reset by peer"}
{"level":"[WARN]","ts":"Feb  10 17:43:44","logger":"PromptFlow","caller":"util/http_util.go:90","msg":"Error calling endpoint: Get \"http://127.0.0.1:33299/health\": dial tcp 127.0.0.1:33299: connect: connection refused"}
{"level":"[WARN]","ts":"Feb  10 17:43:44","logger":"PromptFlow","caller":"util/http_util.go:90","msg":"Error calling endpoint: Get \"http://127.0.0.1:33299/health\": dial tcp 127.0.0.1:33299: connect: connection refused"}
{"level":"[WARN]","ts":"Feb  10 17:43:44","logger":"PromptFlow","caller":"util/http_util.go:90","msg":"Error calling endpoint: Get \"http://127.0.0.1:33299/health\": dial tcp 127.0.0.1:33299: connect: connection refused"}
{"level":"[WARN]","ts":"Feb  10 17:43:44","logger":"PromptFlow","caller":"util/http_util.go:90","msg":"Error calling endpoint: Get \"http://127.0.0.1:33299/health\": dial tcp 127.0.0.1:33299: connect: connection refused"}
{"level":"[WARN]","ts":"Feb  10 17:43:45","logger":"PromptFlow","caller":"util/http_util.go:90","msg":"Error calling endpoint: Get \"http://127.0.0.1:33299/health\": dial tcp 127.0.0.1:33299: connect: connection refused"}
{"level":"[WARN]","ts":"Feb  10 17:43:45","logger":"PromptFlow","caller":"util/http_util.go:90","msg":"Error calling endpoint: Get \"http://127.0.0.1:33299/health\": dial tcp 127.0.0.1:33299: connect: connection refused"}
{"level":"[WARN]","ts":"Feb  10 17:43:45","logger":"PromptFlow","caller":"util/http_util.go:90","msg":"Error calling endpoint: Get \"http://127.0.0.1:33299/health\": dial tcp 127.0.0.1:33299: connect: connection refused"}
{"level":"[WARN]","ts":"Feb  10 17:43:45","logger":"PromptFlow","caller":"util/http_util.go:90","msg":"Error calling endpoint: Get \"http://127.0.0.1:33299/health\": dial tcp 127.0.0.1:33299: connect: connection refused"}
{"level":"[ERROR]","ts":"Feb  10 17:43:45","logger":"PromptFlow.NewApplicationProcessPool","caller":"gunicornmanager/gunicorn_process_pool.go:267","msg":"Health check failed for process with port 33299! There might be something wrong with the worker, please check the worker log to diagnostic the issue.","stacktrace":"azureml/flow-ingress/pkg/gunicornmanager.(*GunicornProcessPool).CreateGunicornProcess\n\t/mnt/vss/_work/1/s/src/compute-runtime-ingress/pkg/gunicornmanager/gunicorn_process_pool.go:267\nazureml/flow-ingress/pkg/gunicornmanager.(*GunicornProcessPool).TryFillCacheProcess\n\t/mnt/vss/_work/1/s/src/compute-runtime-ingress/pkg/gunicornmanager/gunicorn_process_pool.go:164\nazureml/flow-ingress/pkg/gunicornmanager.NewGunicornProcessPool\n\t/mnt/vss/_work/1/s/src/compute-runtime-ingress/pkg/gunicornmanager/gunicorn_process_pool.go:125\nazureml/flow-ingress/pkg/gunicornmanager.NewGunicornManager\n\t/mnt/vss/_work/1/s/src/compute-runtime-ingress/pkg/gunicornmanager/gunicorn_manager.go:89\nazureml/flow-ingress/pkg/handler.NewFlowHandler\n\t/mnt/vss/_work/1/s/src/compute-runtime-ingress/pkg/handler/server.go:53\nmain.main\n\t/mnt/vss/_work/1/s/src/compute-runtime-ingress/main.go:59\nruntime.main\n\t/opt/hostedtoolcache/go/1.23.4/x64/src/runtime/proc.go:272"}
{"level":"[INFO]","ts":"Feb  10 17:43:45","logger":"PromptFlow.NewApplicationProcessPool","caller":"gunicornmanager/gunicorn_process_pool.go:165","msg":"Adding new gunicorn process to pool","process":null,"err":"promptflow runtime app failed to start"}
{"level":"[ERROR]","ts":"Feb  10 17:43:45","logger":"PromptFlow.NewApplicationProcessPool","caller":"gunicornmanager/gunicorn_process_pool.go:127","msg":"Failed to create gunicorn process","err":"promptflow runtime app failed to start","stacktrace":"azureml/flow-ingress/pkg/gunicornmanager.NewGunicornProcessPool\n\t/mnt/vss/_work/1/s/src/compute-runtime-ingress/pkg/gunicornmanager/gunicorn_process_pool.go:127\nazureml/flow-ingress/pkg/gunicornmanager.NewGunicornManager\n\t/mnt/vss/_work/1/s/src/compute-runtime-ingress/pkg/gunicornmanager/gunicorn_manager.go:89\nazureml/flow-ingress/pkg/handler.NewFlowHandler\n\t/mnt/vss/_work/1/s/src/compute-runtime-ingress/pkg/handler/server.go:53\nmain.main\n\t/mnt/vss/_work/1/s/src/compute-runtime-ingress/main.go:59\nruntime.main\n\t/opt/hostedtoolcache/go/1.23.4/x64/src/runtime/proc.go:272"}
2025-02-10T17:43:45,836886434+00:00 - promptflow-ingress/finish 2 0
2025-02-10T17:43:45,838595056+00:00 - Stopping promptflow-ingress
2025-02-10T17:43:45,845029740+00:00 - Stopped promptflow-ingress
2025-02-10T17:43:45,846498160+00:00 - Stopping all Gunicorn processes
2025-02-10T17:43:45,853226648+00:00 - Stopped all Gunicorn processes
2025-02-10T17:43:45,854565865+00:00 - Finalizing executor containers
Traceback (most recent call last):
  File "/azureml-envs/prompt-flow/runtime/lib/python3.9/site-packages/promptflow/__init__.py", line 17, in <module>
    from promptflow._sdk._load_functions import load_flow as _load_flow
  File "/azureml-envs/prompt-flow/runtime/lib/python3.9/site-packages/promptflow/_sdk/_load_functions.py", line 15, in <module>
    from .entities import Run
  File "/azureml-envs/prompt-flow/runtime/lib/python3.9/site-packages/promptflow/_sdk/entities/__init__.py", line 8, in <module>
    from ._connection import (
  File "/azureml-envs/prompt-flow/runtime/lib/python3.9/site-packages/promptflow/_sdk/entities/_connection.py", line 33, in <module>
    from promptflow._sdk.schemas._connection import (
  File "/azureml-envs/prompt-flow/runtime/lib/python3.9/site-packages/promptflow/_sdk/schemas/_connection.py", line 11, in <module>
    from promptflow._sdk.schemas._fields import StringTransformedEnum
  File "/azureml-envs/prompt-flow/runtime/lib/python3.9/site-packages/promptflow/_sdk/schemas/_fields.py", line 10, in <module>
    from marshmallow.fields import _T, Field, Nested
ImportError: cannot import name '_T' from 'marshmallow.fields' (/azureml-envs/prompt-flow/runtime/lib/python3.9/site-packages/marshmallow/fields.py)

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/azureml-envs/prompt-flow/runtime/lib/python3.9/runpy.py", line 197, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/azureml-envs/prompt-flow/runtime/lib/python3.9/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/var/runit/promptflow-ingress/handle_executor_containers.py", line 7, in <module>
    from promptflow.runtime.executor_image_manager import finalize_for_executor_containers, prepare_for_executor_containers
  File "/azureml-envs/prompt-flow/runtime/lib/python3.9/site-packages/promptflow/__init__.py", line 21, in <module>
    raise Exception(
Exception: Promptflow may not installed correctly. If you are upgrading from 'promptflow<1.8.0' to 'promptflow>=1.8.0', please run 'pip uninstall -y promptflow promptflow-core promptflow-devkit promptflow-azure', then 'pip install promptflow>=1.8.0'. Reach https://microsoft.github.io/promptflow/how-to-guides/faq.html#promptflow-1-8-0-upgrade-guide for more information.
Error: The Python script exited with a non-zero status code: 1
build info: {"commit": "29207d1a2061591843a040b80cad8a6dd6b3f3ae", "branch": "n/a", "build_number": "20250131.v2", "date": "2025-01-31 19:15:58"}
start promptflow runtime...
Preparing executor containers...
start ingress...
APP_INSIGHTS_KEY is not set!
{"level":"[INFO]","ts":"Feb  10 17:43:46","logger":"PromptFlow","caller":"compute-runtime-ingress/main.go:49","msg":"Starting server..."}
{"level":"[INFO]","ts":"Feb  10 17:43:46","logger":"PromptFlow","caller":"compute-runtime-ingress/main.go:58","msg":"App pool config: &{4 /service/app/ promptflow.runtime.app:create_app() root}"}
{"level":"[INFO]","ts":"Feb  10 17:43:46","logger":"PromptFlow.NewApplicationProcessPool","caller":"gunicornmanager/gunicorn_process_pool.go:123","msg":"Start creating cached gunicorn process"}
{"level":"[INFO]","ts":"Feb  10 17:43:46","logger":"PromptFlow.NewApplicationProcessPool","caller":"gunicornmanager/gunicorn_process_pool.go:240","msg":"Start creating gunicorn process!","Command":["/azureml-envs/prompt-flow/runtime/bin/gunicorn","-b","127.0.0.1:45393","-t","0","--threads","10","-u","root","--pid","/service/app/flow_pids/45393","promptflow.runtime.app:create_app()"]}
{"level":"[INFO]","ts":"Feb  10 17:43:46","logger":"PromptFlow.NewApplicationProcessPool","caller":"gunicornmanager/gunicorn_process_pool.go:249","msg":"Gunicorn process with port 45393 started!"}
{"level":"[INFO]","ts":"Feb  10 17:43:46","logger":"PromptFlow","caller":"log/appinsight_metrics.go:38","msg":"Latency between StartIngressServer and StartCreateGunicorn is 0.00 seconds.\n"}
{"level":"[WARN]","ts":"Feb  10 17:43:46","logger":"PromptFlow","caller":"util/http_util.go:90","msg":"Error calling endpoint: Get \"http://127.0.0.1:45393/health\": dial tcp 127.0.0.1:45393: connect: connection refused"}

2025-02-10 17:43:53 +0 Debug       Diagnosis result for "docker images"
REPOSITORY                                                               TAG                         IMAGE ID       CREATED         SIZE
mcr.microsoft.com/azureml/promptflow/promptflow-runtime                  20250131.v2                 32ad64fc0e1b   9 days ago      2.65GB
mcr.microsoft.com/azureml/computeinstance/cap/ice-capability/installed   eastus2                     6a9cf8a8d105   2 months ago    29.3MB
localhost/c3                                                             latest                      6a9cf8a8d105   2 months ago    29.3MB
mcr.microsoft.com/azureml/runtime/exe/execution-wrapper/installed        germanywestcentral-stable   b8dcbcffe030   5 months ago    148MB
mcr.microsoft.com/azureml/runtime/cap/hosttools-capability/installed     eastus-stable               14d5baebffac   5 months ago    202MB
mcr.microsoft.com/azureml/promptflow/promptflow-python                   20240715.v1                 42c3d5f499a2   7 months ago    2.43GB
mcr.microsoft.com/azureml/promptflow/promptflow-dotnet                   20240508.v3                 a2d650697b04   9 months ago    768MB
ghcr.io/azure/c3                                                         latest                      29bf07324812   15 months ago   27.7MB

2025-02-10 17:43:53 +0 Debug       Diagnosis result for "docker ps"
CONTAINER ID   IMAGE                                                                 COMMAND                  CREATED          STATUS          PORTS                                                    NAMES
63678150b3b9   mcr.microsoft.com/azureml/promptflow/promptflow-runtime:20250131.v2   "/service/scripts/st…"   5 minutes ago    Up 5 minutes    5001/tcp, 8883/tcp, 8888/tcp, 127.0.0.1:8081->8080/tcp   ca7bad50-c3e0-5242-a13c-abc9d785c66b
d486469a8830   localhost/c3:latest                                                   "/usr/local/bin/ice"     23 minutes ago   Up 23 minutes                                                            c3-progenitor

2025-02-10 17:43:53 +0 Debug       Diagnosis result for "docker logs ca7bad50-c3e0-5242-a13c-abc9d785c66b --tail 100"
{"level":"[INFO]","ts":"Feb  10 17:43:51","logger":"PromptFlow","caller":"compute-runtime-ingress/main.go:49","msg":"Starting server..."}
{"level":"[INFO]","ts":"Feb  10 17:43:51","logger":"PromptFlow","caller":"compute-runtime-ingress/main.go:58","msg":"App pool config: &{4 /service/app/ promptflow.runtime.app:create_app() root}"}
{"level":"[INFO]","ts":"Feb  10 17:43:51","logger":"PromptFlow.NewApplicationProcessPool","caller":"gunicornmanager/gunicorn_process_pool.go:123","msg":"Start creating cached gunicorn process"}
{"level":"[INFO]","ts":"Feb  10 17:43:51","logger":"PromptFlow.NewApplicationProcessPool","caller":"gunicornmanager/gunicorn_process_pool.go:240","msg":"Start creating gunicorn process!","Command":["/azureml-envs/prompt-flow/runtime/bin/gunicorn","-b","127.0.0.1:46011","-t","0","--threads","10","-u","root","--pid","/service/app/flow_pids/46011","promptflow.runtime.app:create_app()"]}
{"level":"[INFO]","ts":"Feb  10 17:43:51","logger":"PromptFlow.NewApplicationProcessPool","caller":"gunicornmanager/gunicorn_process_pool.go:249","msg":"Gunicorn process with port 46011 started!"}
{"level":"[INFO]","ts":"Feb  10 17:43:51","logger":"PromptFlow","caller":"log/appinsight_metrics.go:38","msg":"Latency between StartIngressServer and StartCreateGunicorn is 0.00 seconds.\n"}
{"level":"[WARN]","ts":"Feb  10 17:43:51","logger":"PromptFlow","caller":"util/http_util.go:90","msg":"Error calling endpoint: Get \"http://127.0.0.1:46011/health\": dial tcp 127.0.0.1:46011: connect: connection refused"}
Traceback (most recent call last):
  File "/azureml-envs/prompt-flow/runtime/lib/python3.9/site-packages/promptflow/__init__.py", line 17, in <module>
    from promptflow._sdk._load_functions import load_flow as _load_flow
  File "/azureml-envs/prompt-flow/runtime/lib/python3.9/site-packages/promptflow/_sdk/_load_functions.py", line 15, in <module>
    from .entities import Run
  File "/azureml-envs/prompt-flow/runtime/lib/python3.9/site-packages/promptflow/_sdk/entities/__init__.py", line 8, in <module>
    from ._connection import (
  File "/azureml-envs/prompt-flow/runtime/lib/python3.9/site-packages/promptflow/_sdk/entities/_connection.py", line 33, in <module>
    from promptflow._sdk.schemas._connection import (
  File "/azureml-envs/prompt-flow/runtime/lib/python3.9/site-packages/promptflow/_sdk/schemas/_connection.py", line 11, in <module>
    from promptflow._sdk.schemas._fields import StringTransformedEnum
  File "/azureml-envs/prompt-flow/runtime/lib/python3.9/site-packages/promptflow/_sdk/schemas/_fields.py", line 10, in <module>
    from marshmallow.fields import _T, Field, Nested
ImportError: cannot import name '_T' from 'marshmallow.fields' (/azureml-envs/prompt-flow/runtime/lib/python3.9/site-packages/marshmallow/fields.py)

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/azureml-envs/prompt-flow/runtime/lib/python3.9/runpy.py", line 197, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/azureml-envs/prompt-flow/runtime/lib/python3.9/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/var/runit/promptflow-ingress/handle_executor_containers.py", line 7, in <module>
    from promptflow.runtime.executor_image_manager import finalize_for_executor_containers, prepare_for_executor_containers
  File "/azureml-envs/prompt-flow/runtime/lib/python3.9/site-packages/promptflow/__init__.py", line 21, in <module>
    raise Exception(
Exception: Promptflow may not installed correctly. If you are upgrading from 'promptflow<1.8.0' to 'promptflow>=1.8.0', please run 'pip uninstall -y promptflow promptflow-core promptflow-devkit promptflow-azure', then 'pip install promptflow>=1.8.0'. Reach https://microsoft.github.io/promptflow/how-to-guides/faq.html#promptflow-1-8-0-upgrade-guide for more information.
{"level":"[WARN]","ts":"Feb  10 17:43:52","logger":"PromptFlow","caller":"util/http_util.go:90","msg":"Error calling endpoint: Get \"http://127.0.0.1:46011/health\": read tcp 127.0.0.1:48252->127.0.0.1:46011: read: connection reset by peer"}
{"level":"[WARN]","ts":"Feb  10 17:43:52","logger":"PromptFlow","caller":"util/http_util.go:90","msg":"Error calling endpoint: Get \"http://127.0.0.1:46011/health\": dial tcp 127.0.0.1:46011: connect: connection refused"}
{"level":"[WARN]","ts":"Feb  10 17:43:52","logger":"PromptFlow","caller":"util/http_util.go:90","msg":"Error calling endpoint: Get \"http://127.0.0.1:46011/health\": dial tcp 127.0.0.1:46011: connect: connection refused"}
{"level":"[WARN]","ts":"Feb  10 17:43:52","logger":"PromptFlow","caller":"util/http_util.go:90","msg":"Error calling endpoint: Get \"http://127.0.0.1:46011/health\": dial tcp 127.0.0.1:46011: connect: connection refused"}


Azure AI services
Azure AI services
A group of Azure services, SDKs, and APIs designed to make apps more intelligent, engaging, and discoverable.
3,152 questions
0 comments No comments
{count} vote

1 answer

Sort by: Most helpful
  1. Manas Mohanty 655 Reputation points Microsoft Vendor
    2025-02-11T10:02:17.76+00:00

    Hi Ruofan Kong!

    Welcome to Azure AI Q and A forum. Thank you for posting your query here.

    I see below lines in error trace.

    ImportError: cannot import name '_T' from 'marshmallow.fields' (/azureml-envs/prompt-flow/runtime/lib/python3.9/site-packages/marshmallow/fields.py)Exception: Promptflow may not installed correctly. If you are upgrading from 'promptflow<1.8.0' to 'promptflow>=1.8.0', please run 'pip uninstall -y promptflow promptflow-core promptflow-devkit promptflow-azure', then 'pip install promptflow>=1.8.0' Reach https://microsoft.github.io/promptflow/how-to-guides/faq.html#promptflow-1-8-0-upgrade-guide for more information.

    Related to Marshmallow library from prompt flow.

    Proposed solution is to pin below package in requirement.txt of compute session and reboot

    marshmallow==3.23.2

    or

    promptflow>=1.8.0 marshmallow

    Reference thread

    If above pointers resolve your issues, please upvote this answer.

    Thank you.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.