Closed sergei3000 closed 5 years ago
Hi Sergey,
have you checked if ../common/helpers.py exists?
Sooyoung
I am trying to run python_tutorial_client.py and it says: ModuleNotFoundError: No module named 'common.helpers' I guess the problem is in this line: import common.helpers # noqa I tried installing the common module with pip install common, which didn't help although the library common got installed. It was confusing to find out that there is this library named common, but there's also azure.common from the Azure SDK. Anyways, the import in the python file did not start working even after installing azure.common and changing the non-working line to import azure.common.helpers or from azure.common import helpers (the last one gives ImportError: cannot import name 'helpers').
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.
Yeas, it does exist
@sergei3000 , I have the same problem. Did you find a solution? Thx
@dbeaudoin60 I just renamed the folder in the project from common
to something else, and changed the corresponding references to it in the code accordingly.
Thank, I will try that.
@sergei3000 Thank you, I will try that.
Closing as this issue is old and there's been no update. Please re-open if you continue to see issues.
I am trying to run
python_tutorial_client.py
and it says:ModuleNotFoundError: No module named 'common.helpers'
I guess the problem is in this line:import common.helpers # noqa
I tried installing thecommon
module withpip install common
, which didn't help although the librarycommon
got installed. It was confusing to find out that there is this library namedcommon
, but there's alsoazure.common
from the Azure SDK. Anyways, the import in the python file did not start working even after installingazure.common
and changing the non-working line toimport azure.common.helpers
orfrom azure.common import helpers
(the last one givesImportError: cannot import name 'helpers'
). I am using Python 3.6.2 on Windows 10.