Installation and Configuration with virtualenv
virtualenv is a tool to create isolated Python environments that help avoid issues caused by conflicting package dependencies for different applications.
Before running the ncsdk/install.sh script, open ncsdk/ncsdk.conf for editing and set
USE_VIRTUALENV=yes (by default it will say
Save the change and then proceed with NCSDK installation.
You must activate the virtualenv any time that you want to use the NCSDK.
To activate the virtualenv for use, enter the following command:
If the virtualenv was successfully activated, you will see
(virtualenv-python)amended to your command prompt.
To leave the virtualenv, enter the following command:
Python Package Location
When using the virtualenv, Python packages will be installed to /opt/movidius/virtualenv-python/lib/python3.5/site-packages.
ImportErrorwhen running an NCSDK example or tool:
Make sure that you have activated the virtualenv as shown above.