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

AI Tools: Python module is missing #24

Closed
bzburr opened this issue Jul 13, 2018 · 6 comments
Closed

AI Tools: Python module is missing #24

bzburr opened this issue Jul 13, 2018 · 6 comments
Labels

Comments

@bzburr
Copy link

bzburr commented Jul 13, 2018

Hi everybody

Visual Studio 2017 15.7.5

AI Tools 0.4.1.664470

Windows 10.

Every time i try and create a new AI Tools -> "Module Inference Library (.Net Framework)" project i get a "Python module is missing!"



error and i cant make the project. Which isnt great.

Python is installed and i can create a python project /application.

How do we fix this?

cheers

issue reproduce and question redirected from here

@shishaochen
Copy link
Contributor

shishaochen commented Jul 13, 2018

@bzburr Could you paste the error message in the VS Output Window here?
Normally, "Python module is missing" means either onnx or tensorflow is not found in your Python interpreter configured in VS Python Environment Window.
Besides, the WIKI page "Generate code from trained models" may be helpful.

@bzburr
Copy link
Author

bzburr commented Jul 13, 2018

normally, i'd agree

error message:

image

Python

image

and

tensorflow is of course installed installed ,

image

what do you need next?

@bzburr
Copy link
Author

bzburr commented Jul 13, 2018

ok so

pip3 install onnx and i try and generate a Model Interface Project

I get

image

then i get

image

I select my model in the create Model Interface Library Wizard.
and get

image

Its late,, I've been watching Jim Jefferies...I'll post more later ;)

@shishaochen
Copy link
Contributor

shishaochen commented Jul 14, 2018

@bzburr Could you please share the error message shown in the VS Output Window when the error message box pops up?

@bzburr
Copy link
Author

bzburr commented Jul 20, 2018

No need - it all installed and i can create Model Inference Library.
the key was indeed the missing onnx - the error message wasnt useful.
Hope this helps other people.

@shishaochen
Copy link
Contributor

@bzburr Thanks for your suggestion.
We will update the error message to be more user friendly in the next release.

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

No branches or pull requests

4 participants
@linmajia @shishaochen @bzburr and others