Skip to content
This repository was archived by the owner on Jul 17, 2024. It is now read-only.

import _model Import error:DLL load failed #248

Open
MSD077 opened this issue Jun 2, 2020 · 3 comments
Open

import _model Import error:DLL load failed #248

MSD077 opened this issue Jun 2, 2020 · 3 comments

Comments

@MSD077
Copy link

MSD077 commented Jun 2, 2020

No description provided.

@MSD077 MSD077 changed the title import _model Import error import _model Import error:DLL load failed Jun 2, 2020
@MSD077
Copy link
Author

MSD077 commented Jun 2, 2020

Hello,
when executing the call_model.py script, I get the following error

(py36) D:\PROJECTS\Practice Model\host>python call_model.py
Traceback (most recent call last):
File "call_model.py", line 19, in
import model
File "D:\PROJECTS\Practice Model\host\model.py", line 11, in
import _model
ImportError: DLL load failed: The specified module could not be found.

It will be much helpful if someone could guide me on this. Also what is the correct directory for the call_model.py script? Should it be inside the host/build folder?

Thanks!

@lovettchris
Copy link
Member

you just need move call_model.py up one level in your folder hierarchy. call_model.py and tutorial_helpers.py should live in the same folder that contains "host". You can see what this is when you look at tutorial_helpers.py which is setting up a module search path for the "host" folder.

@lovettchris
Copy link
Member

lovettchris commented Dec 3, 2020 via email

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

No branches or pull requests

2 participants