erget / StereoVision

Library and utilities for 3d reconstruction from stereo cameras.
http://erget.github.io/StereoVision
GNU General Public License v3.0
649 stars 268 forks source link

Stereovision on debian 9 #18

Closed Blupblupblup closed 7 years ago

Blupblupblup commented 7 years ago

Hi!

I successfully installed stereovision on Debian 9:

user@host:~$ pip install StereoVision
Collecting StereoVision
Installing collected packages: StereoVision
Successfully installed StereoVision-1.0.4

But calling functions from the command line doesn't work as expected. Did I miss something ?

user@host:~$ show_webcams
bash: show_webcams: command not found

Thanks for sharing your work through your tutorial !

erget commented 7 years ago

The binary show_webcams isn't being found - perhaps pip installed it to a directory that isn't in your search path? I'm surprised about this, since if user has write access to all system directories, as you command suggests, then pip should automatically place the binaries in the package in a directory that bash would find.

A workaround would be to use some kind of utility to discover where show_webcams was installed to, e.g. locate, which tells you what directory a given file is located in. After finding where it was installed, you can then add that directory to your search path.