Skip to content
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

ImportError: cannot import name 'NoReturn' #340

Closed
ishaniparikh opened this issue Aug 4, 2021 · 2 comments
Closed

ImportError: cannot import name 'NoReturn' #340

ishaniparikh opened this issue Aug 4, 2021 · 2 comments
Assignees

Comments

@ishaniparikh
Copy link

Code Sample, a copy-pastable example if possible

from azure.kusto.data.helpers import dataframe_from_result_table

Problem description

Traceback (most recent call last):
File "TestFile.py", line 15, in
from azure.kusto.data.helpers import dataframe_from_result_table
File "/usr/bin/anaconda/envs/py35test/lib/python3.5/site-packages/azure/kusto/data/init.py", line 5, in
from .client import KustoClient, KustoConnectionStringBuilder, ClientRequestProperties
File "/usr/bin/anaconda/envs/py35test/lib/python3.5/site-packages/azure/kusto/data/client.py", line 11, in
from typing import TYPE_CHECKING, Union, Callable, Optional, Any, NoReturn, Coroutine
ImportError: cannot import name 'NoReturn'

Any resolution or workaround available here for this issue?

@AsafMah
Copy link
Collaborator

AsafMah commented Aug 8, 2021

What python version are you on?

@yogilad
Copy link
Contributor

yogilad commented Aug 10, 2021

@AsafMah , let's comment this type out with note to uncomment once we remove support for python 3.5.

@ishaniparikh, in the meantime you can upgrade your python version from 3.5.x to 3.5.4 or from 3.6.x to 3.6.2 to resolve the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants