Welcome new user! You can search existing questions and answers without registering, but please register to post new questions and receive answers. Note that due to large amounts of spam attempts, your first three posts will be manually moderated, so please be patient.
Because of un-manageable amounts of spam despite our use of CAPTCHAs, email authorization, and other tools, we have discontinued this forum (see the 700k+ registered users with validated email addresses at right?). Please email us any questions or post bug reports and feature requests on GitHub at https://github.com/jevois -- The content below remains available for future reference.

jevois-daemon cannot execute .py file in host mode ?

0 votes


I have successfully install jevois on host with :

sudo apt install jevois-sdk-dev

(I have to copy some libboost library 1.62 version in 1.61 for jevois-daemon to work).

And then I try to launch jevois-daemon (host mode) on PythonTest.py files, it complains about not finding PythonTest.so file ...

Do i have to "compile" .py file before ? 

EDIT : sorry, it was just the old version of the jevois-daemon in /usr/local/bin that was called ...

It works now, on PythonTest there is a bug , have to comment jevois.LINFO(dir(jevois)), fixed on github. PythonOpenCV fails too, seems fixed too but have to wait  for new release ...

asked Jun 24, 2017 in Programmer Questions by stilgar (360 points)
edited Jun 26, 2017 by stilgar

1 Answer

0 votes

Sorry it looks like one path was wrong which affected python support on host. Can you please try this:

sudo apt remove jevois-host jevois-platform

sudo apt update

sudo apt install jevois-sdk-dev

which should pull version 1.2.1 of the jevois-* packages. This version works well here for host mode python (e.g., jevois-daemon --videomapping=21 for PythonSandbox) on Ubuntu 17.04.

Which operating system are you using that had boost 1.61? This may be a source of problems too. Boost python (which we use for python support) also expects a specific python version, which is 3.5 in our deb packages.

You do not need to compile python files, they get automatically compiled the first time they are used, or when they are changed. Now that may not happen on host depending on permissions in your /jevois folder (the compiled files get stored in the same directory as the module's source file, under a __pycache__ directory)

answered Jun 26, 2017 by JeVois (46,580 points)
Thanks it works perfectly now !