Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
New Contributor I
226 Views

no module found openvino

Jump to solution

Hi i am trying to run object_detection_ssd sample which is working fine but i have to execute setupvars.bat file every time to load environment variables for openvino, is there any way i can pre load these variables with python script.

i also tried something like this example https://stackoverflow.com/questions/5971312/how-to-set-environment-variables-in-python

i have also attached my script

please have  a look

Thanks & Reagrds

Amit

0 Kudos

Accepted Solutions
Highlighted
Community Manager
215 Views

Hi AR92,


Thanks for reaching out. You are correct, the error is due to the environment variables not being set. I am assuming you are using Windows as you referred to the .bat file.


Take a look at the following document to set the OpenVINO Toolkit environment variable permanent.

https://www.intel.com/content/www/us/en/support/articles/000033440/boards-and-kits/neural-compute-st...


If by any chance you are on Linux, simply append the source /opt/intel/openvino/bin/setupvars.sh command in your ~/.bashrc file.


Please let me know if this is answers your question.


Regards,

Jesus


View solution in original post

0 Kudos
5 Replies
Highlighted
Moderator
215 Views

Hi AR92,

To permanently set OpenVINO environment variables on Windows 10, follow this guide:


https://www.intel.com/content/www/us/en/support/articles/000033440/boards-and-kits/neural-compute-st....


Best Regards,

Sahira


Highlighted
Community Manager
216 Views

Hi AR92,


Thanks for reaching out. You are correct, the error is due to the environment variables not being set. I am assuming you are using Windows as you referred to the .bat file.


Take a look at the following document to set the OpenVINO Toolkit environment variable permanent.

https://www.intel.com/content/www/us/en/support/articles/000033440/boards-and-kits/neural-compute-st...


If by any chance you are on Linux, simply append the source /opt/intel/openvino/bin/setupvars.sh command in your ~/.bashrc file.


Please let me know if this is answers your question.


Regards,

Jesus


View solution in original post

0 Kudos
Highlighted
New Contributor I
195 Views

hi thanks for your reply,it works now i was also trying yesterday setting variables manually but some reference error, thank for sharing the link.

 

one more thing i need some guidance in, i have a c sharp winform app , can i somehow manage to use c++ sample to create a library for c#, 

 

Regards

Amit   

0 Kudos
Highlighted
Valued Contributor II
190 Views

You can always wrap a C++ library and use it in C#.

Here's some info on how to do such thing

Highlighted
Moderator
175 Views

Hi AR92,

Please see the response above. If you have any questions, please open a new thread.

 

Thank you!

Sahira