Skip to content
This repository has been archived by the owner on Mar 21, 2024. It is now read-only.

Inference script can't import InnerEye #770

Closed
1 task done
peterhessey opened this issue Jul 22, 2022 · 0 comments · Fixed by #771
Closed
1 task done

Inference script can't import InnerEye #770

peterhessey opened this issue Jul 22, 2022 · 0 comments · Fixed by #771
Assignees
Labels
bug Something isn't working

Comments

@peterhessey
Copy link
Contributor

peterhessey commented Jul 22, 2022

Is there an existing issue for this?

  • I have searched the existing issues

Bug summary

When running the command python InnerEye/Scripts/submit_for_inference.py the command fails with the following error:

Traceback (most recent call last):
  File "InnerEye/Scripts/submit_for_inference.py", line 25, in <module>
    from InnerEye.Azure.azure_config import AzureConfig
ModuleNotFoundError: No module named 'InnerEye'

This is as the InnerEye folder is not added to the system path before the script is run.

Code for reproduction

See inference script and command above

Actual outcome

Error message below

Error messages

Traceback (most recent call last):
  File "InnerEye/Scripts/submit_for_inference.py", line 25, in <module>
    from InnerEye.Azure.azure_config import AzureConfig
ModuleNotFoundError: No module named 'InnerEye'

Expected outcome

Script runs inference successfully

System info

No response

AB#6770

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant