- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I just followed the instructions for installing the latest SDK 1.09.00 and I get an error on the 'Make Install'. It appears to be having an issue with Tensorflow. Has anyone else seen this and is there a workaround?
Reading state information…
libboost-all-dev is already the newest version (1.58.0.1ubuntu1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Installing python dependencies…
./install-ncsdk.sh: line 282: -H: command not found
./install-ncsdk.sh: line 283: -H: command not found
Checking whether tensorflow is installed…
looking for tensorflow CPU version…
./install-ncsdk.sh: line 248: -H: command not found
looking for tensorflow GPU version…
./install-ncsdk.sh: line 248: -H: command not found
Couldn't find a supported tensorflow version, installing tensorflow v1.3.0
./install-ncsdk.sh: line 303: -H: command not found
Installation failed. Error on line 303
- Tags:
- Iamintel
- Tensorflow
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@janiamatmovidius can you confirm if you are running the installation as root? If so, we are aware of this bug and are working on a fix for the next release. As a workaround, please install through a non-root account.
iamintel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Here is a fix:
--- install-ncsdk.sh.0 2017-10-14 07:16:47.877883822 -0400
+++ install-ncsdk.sh 2017-10-14 07:17:03.781855435 -0400
@@ -273,7 +273,7 @@
echo "Installing python dependencies..."
PIP_PREFIX=""
- if [ $SYSTEM_INSTALL == "yes" ]; then
+ if [ $SYSTEM_INSTALL == "yes" -a -n "$SUDO_PREFIX" ]; then
PIP_PREFIX="$SUDO_PREFIX -H"
fi
Run 'make install' and then stop it after it extracts the NCSDK tarball. Go into /opt/modivius/NCSDK/ and edit the install_ncsdk.sh script with the above patch. Then just execute the above script directly, i.e. ./install-ncsdk.sh.
This works for me.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I did run the installation as root using sudo -s. I'll try it running as the normal account.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I just ran it under a normal user and the installation worked. Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@janiamatmovidius Glad it worked for you!
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page