- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello there!
I wanted to install the NCSDK (using "sudo make install") on my new Raspberry 3 with Stretch, but ran into an error:
"Installation failed: Error in line 170"
I have updated and upgraded shortly before, it's a new Stretch Desktop image, I did not yet change any configuration, I only installed git and xrdp.
The log file under /opt/movidius/NCSDK/setup-logs did not contain any additional information.
What could be causing this?
- Tags:
- Github
- Raspberry Pi
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Update: Removing the code block from line 170 and on (about 15 lines) will make it work. But it will also not be able to uninstall old installs.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@MarkusA380 Have you tried using just make install
without the sudo?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@Tome_at_Intel indeed, I did, with the same result.
Today, I will flash a new version of Raspbian on a different SD card, reinstalling everything. Let's see if the error reappears.
I cloned the repository not into ~/workspace/, but instead into ~/Desktop/, could that have been the issue?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@MarkusA380 I don't think that would be a problem. I recently did a fresh installation of the NCSDK on my RPi with Raspbian Stretch and I can give you a quick rundown of what I did. I know the steps are simple but I just wanted to lay them out for completeness. I am using a Raspberry Pi 3B in case you are wondering.
First I downloaded the "Raspbian Stretch with Desktop Image" zip file from (https://www.raspberrypi.org/downloads/raspbian/) and used the Etcher software to put Stretch on my SD card. Etcher installation instructions can be found at:
After that was complete, I inserted the SD card into my Pi and started it up. I then set up the time and wifi for the system.
Finally I opened a command line terminal and used the following commands to clone the NCSDK GitHub Repository and install the NCSDK to the home directory:
git clone https://github.com/movidius/ncsdk.git
cd ncsdk
make install
Hope it helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @Tome_at_Intel ,
that's exactly what I did, too.
I formatted the SD card(FAT32 instead of exFat), put Raspbian Stretch on it using Etcher, put it into my Pi (3B).
First, I ran apt-get update && apt-get upgrade.
Then I installed XRDP and enabled the camera in raspi-config, then rebooted.
I switched to using Remote Desktop from here.
I then followed step 2. here: https://developer.movidius.com/start#
The only difference was that I had to sudo clone and sudo make install, otherwise I would get a "Permission denied".
Still getting the same error…
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello, @MarkusA380
What about the following commands?
sudo -H make install
By the way, I never failed in the following procedure.
Raspberry Pi 3 + Raspbian Stretch
https://qiita.com/PINTO/items/b084fe3dc716c42e2867
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello @PINTO, thanks for the input. I tried the command, it did not result in different behaviour.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@Tome_at_Intel I found that the variable SUDO_PREFIX is not set. Any ideas?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@Tome_at_Intel , hi,when i try git clone https://github.com/movidius/ncsdk.git
on raspberry 3 with Raspbian Stretch , have error
error: RPC failed; curl 18 transfer closed with outstanding read date remaining
fatal: the remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@luna Try git clone git@github.com:movidius/ncsdk.git
. Let me know if this works for you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@Tome_at_Intel thanks for your reply, at last,i tried to use wired network and it succeed!

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page