-
Notifications
You must be signed in to change notification settings - Fork 23
Description
Dear all;
Thank you for share your work.
I have Aravis installed and working (I downloaded it from https://github.com/AravisProject/aravis ). I am able to see the streaming of my camera with the viewer.
When trying to compile python-aravis it raise this error:
ImportError: cannot import name Aravis
The error come from the 9th line in "aravis.py" which says:
from gi.repository import Aravis
I am totally lost. In internet I have found (https://github.com/ssafarik/aravis/blob/master/tests/python/arv-camera-test.py):
" If you have installed aravis in a non standard location, you may need
to make GI_TYPELIB_PATH point to the correct location. For example:
export GI_TYPELIB_PATH=$GI_TYPELIB_PATH:/opt/bin/lib/girepositry-1.0/
You may also have to give the path to libaravis.so, using LD_PRELOAD or
LD_LIBRARY_PATH. "
However, I made an standard installation of aravis without apparent problems. Also, I am pretty sure I made the installation with Introspection files writing:
./autogen.sh --enable-viewer --enable-gst-plugin --enable-introspection=yes
make
make install
In this page, you said a solution to this http://www.freelists.org/post/aravis/Aravis-Python-Support,1
I implemented the idea by:
sudo nano /etc/profile
and adding these two lines to the end of the file
export GI_TYPELIB_PATH=$GI_TYPELIB_PATH:/home/username/aravis/src
export LD_LIBRARY_PATH=/home/username/aravis/src/.libs
(where username is my username)
and afterthat, running:
source /etc/profile
However nothing works
Please, could you spread some light about this problem?