- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have tried to install the SDK (ubuntu) but i get to an error i cannot resolveSetting up libprotobuf-dev:amd64 (2.6.1-1.3) …
Setting up libsnappy-dev:amd64 (1.1.3-2) …
Setting up protobuf-compiler (2.6.1-1.3) …
Setting up python3-scipy (0.17.0-1) …
Processing triggers for libc-bin (2.23-0ubuntu9) …
Reading package lists…
Building dependency tree…
Reading state information…
libboost-all-dev is already the newest version (1.58.0.1ubuntu1).
0 upgraded, 0 newly installed, 0 to remove and 10 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
I am trying to run it on a joule sdk extended with 128GB SD
Any help is appreciated
Cheers
- Tags:
- Movidius
- Tensorflow
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
For reference I am running UBUNTU 16.04 so it should be compatible.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Same here with a fresh install of 16.04
Trying to use the quickstart (https://developer.movidius.com/start). Sadly, "make install" fails /very/ quickly with
…
cp: cannot create regular file './ncsdk.conf': Permission denied
Movidius Neural Compute Toolkit Setup.
Checking OS and version…
Installing on Ubuntu 16.04
mkdir: cannot create directory ‘/opt/movidius/NCSDK/setup-logs’: Permission denied
Installation failed. Error on line 136
Trying "sudo make install" gets /much/ further along, before the /next/ error is found:
…
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
Once I hacked your install.sh to /not/ delete "install-ncsdk.sh", one problem quickly appears around line 276:
if [ $SYSTEM_INSTALL == "yes" ]; then
PIP_PREFIX="$SUDO_PREFIX -H"
fi
This /very/ error is described in another post https://ncsforum.movidius.com/discussion/308/installation-error-on-sdk-1-09-00-fails-to-find-install-tensorflow. Oddly, the claim is made in that post that the installation should be run as a normal user, which doesn't actually work _at_ _all_.
Please advise.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
normal user install does not work also for me.. I have modified the script of installation at the part where it does the python dependencies and it works.
I believe is in the link given above.
After that it works
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Fixing the permission errors shown above for "./ncsdk.conf" and "/opt/movidius/NCSDK/setup-logs" as well as fixing the if statement in install-ncsdk.sh does allow the installation to proceed and complete without sudo.
HOWEVER, there are yet multiple other permission errors related to tee(1) in install-ncsdk.sh.
Summary:
- install.sh has 1 critical error
- install-ncsdk.sh has 1 critical error and multiple non-critical errors.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@dnl Can you please specify what HW/SW are you using? Is it a regular PC or some board like Odroid or Joule?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@dnl @fpex Also will be good if you provide any logs during your installation process so we'll be able to reproduce on our side and consider better where issue comes from.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I managed to install the SDK with the changes mentioned in the post above. It is just an issue of installing with sudo (without it also failed)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Ran into this same problem. I could get install.sh to work using the following approach. It seems the only reason to use sudo at all in the script is to get write access to /opt. The solution is to create /opt/movidius and make it owned by the user. Then remove all the "sudo" in the install.sh script and it seems to run as ordinary user just fine.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page