-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Importing MLClient leads to error "ImportError: cannot import name '_T' from 'marshmallow.fields' " #39047
Comments
Getting same thing here, this is the issue: microsoft/promptflow#3902 |
This is actively being fixed. Here is the PR covering the fix. We just need to wait for the release of If you need to solve this immediately, try installing an older version of this package, For example, run the following command in the env: Thanks! |
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @Azure/azure-ml-sdk @azureml-github. |
I got the same error after uninstalling and installing azure-ai-ml==1.22.4 |
Still getting the same error after installing azure-ai-ml==1.22.4 |
Hi @OKazanskyi , the new version of azure-ai-ml, with the fix, has been released. Please run the following to upgrade it: Thanks! |
FYI, this is affecting the azure-ai-evaluation package as well. |
It worked with |
@OKazanskyi any chance that this changes make it into a release in that can be installed with conda? Looks like the last conda release was 2 months ago see https://anaconda.org/Microsoft/azure-ai-ml and the PR is broken in the feedstock, conda-forge/azure-ai-ml-feedstock#29 any chance someone can take a look? |
Describe the bug
When I run command
from azure.ai.ml import MLClient
I get an errorImportError: cannot import name '_T' from 'marshmallow.fields' (/anaconda/envs/azureml_py38/lib/python3.10/site-packages/marshmallow/fields.py)
To Reproduce
Steps to reproduce the behavior:
I tried remove resource group and install it back, restart the compute and reinstall the library. Nothing helped
Expected behavior
Library MLClient should be successfully loaded
Screenshots
NA
Additional context
The full error:
The text was updated successfully, but these errors were encountered: