Community
cancel
Showing results for 
Search instead for 
Did you mean: 
idata
Community Manager
381 Views

Installation failed . Error on line 310

So I just received the NCS in the mail today. Attempting to install the SDK, but I'm running into some issues. I'm installing on my work laptop, running Ubuntu 16.04.4 and get the following results.

 

$sudo make install

 

 

 

 

Uninstalling opencv pip installation

 

sudo: pip3: command not found

 

sudo: pip3: command not found

 

Looking for opencv source installation

 

 

 

 

Err:30 https://download.docker.com/linux/ununtu xenial/stable amd64 Packages

 

404 Not Found

 

 

 

 

Reading package lists…

 

W: The repository 'https://download.docker.com/linux/ununtu xenial Release' does not have a Release file.

 

E: Failed to fetch https://download.docker.com/linux/ununtu/dists/xenial/stable/binary-amd64/Packages 404 Not Found

 

E: Some index files failed to download. They have been ignored, or old ones used instead.

 

 

 

 

Installing python dependencies…

 

./install-ncsdk.sh: line 289: pip3: command not found

 

The directory '/home/mascenzi/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.

 

The directory '/home/mascenzi/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.

 

Requirement already satisfied: Enum34>=1.1.6 in /usr/local/lib/python2.7/dist-packages (1.1.6)

 

Checking whether tensorflow is installed…

 

looking for tensorflow CPU version…

 

./install-ncsdk.sh: line 260: pip3: command not found

 

looking for tensorflow GPU version…

 

./install-ncsdk.sh: line 260: pip3: command not found

 

Couldn't find a supported tensorflow version, installing tensorflow v1.4.0

 

./install-ncsdk.sh: line 310: pip3: command not found

 

Installation failed. Error on line 310

 

Any suggestions as to what is going on and how to correct this?

0 Kudos
4 Replies
idata
Community Manager
108 Views

Hi All, I have exactly the sane error with sdk version 2, in my case tensor flow version 1.6 is missed. Could somebody please assist?

 

Thanks in advance.
idata
Community Manager
108 Views

fpartika,

 

I ended up getting everything working, the problem was due to a previous installation of python/opencv. I ended up uninstalling opencv and re-installing it. Still came across some issues with linking libraries, but it was easier the second time around.

 

Michael

idata
Community Manager
108 Views

Is this what you're looking for?

 

sudo apt-get install python3-pip

idata
Community Manager
108 Views

Hello, I am having the same issue, here. Can you explain how did you uninstall opencv, please?

Reply