Open MalcolmMielle opened 1 year ago
Adding:
sys.path
sys.path.append(".")
to a_script.py
solves the problem somehow
@MalcolmMielle what SDK are you attempting to use?
I'm using azure ml sdk2 installed with "pip install azure-ai-ml". I'll check the exact version tomorrow
Thanks. @luigiw @azureml-github can you please take a look at this issue and assist @MalcolmMielle?
I have a package that looks like that:
in
launch.py
I haveAnd
a_script.py
as an importfrom package_name.file import File
. When running the job I am hit with the error:ModuleNotFoundError: No module named 'package_name'
. It seems like the root folder, while exported to the job is not added to the python path as it was with the SDK v1.