jackersson / gst-plugins-tf

MIT License
17 stars 14 forks source link

WARNING: erroneous pipeline: no element "gst_tf_detection" #1

Open cnmckee opened 5 years ago

cnmckee commented 5 years ago

When I try and run the sample config I get an error: WARNING: erroneous pipeline: no element "gst_tf_detection"

I have set the GST_PLUGIN_PATH variable and installed everything in the same way you have. Do have have any idea what the problem might be?

acschristoph commented 4 years ago

same here

jefflgaol commented 4 years ago

Another way is to call plugin directly. I forked the project and modified some: https://github.com/jefflgaol/GStreamer-with-Tensorflow

jackersson commented 4 years ago

Check the same project to run in Docker with next commands: https://github.com/jackersson/deep-learning-in-scale-workshop#docker

There are commands to execute on Ubuntu 18 from scratch (to setup Gstreamer with Python Support)

ghost commented 4 years ago

@jackersson can you please explain what is the reason of the error: WARNING: erroneous pipeline: no element "gst_tf_detection" ? Can you suggest possible ways to resolve it?

Thanks.

jackersson commented 4 years ago

Hi @krupal-59 ,

To fix this problem, - just do export before launching pipeline with gst_tf_detection: export GST_PLUGIN_PATH=$GST_PLUGIN_PATH:$PWD/venv/lib/gstreamer-1.0/:$PWD/gst/

Also clear cache (to reload plugins again, and not use the cached one): rm -rf ~/.cache/gstreamer-1.0/

ghost commented 4 years ago

Hello @jackersson Thanks for reply sir, I tried the solution that you provided but still I am getting same error.

jackersson commented 4 years ago

Run this with -v flag and share the output: pip install -U git+https://github.com/jackersson/gstreamer-python.git#egg=gstreamer-python -v

Probably gstreamer-python isn't installed correctly.

In my case in venv/lib/gstreamer-1.0 should be:

ghost commented 4 years ago

I am attaching output. output

jackersson commented 4 years ago

Sorry, flag -U should be together. Updated in previous comment. Pls, try command again ;)

ghost commented 4 years ago

OK, Here it is. (This time I can't share Screenshot :) (venv) pvips-guest@pvipsguest-Vostro-3470:~/gst-plugins-tf$ pip install -U git+https://github.com/jackersson/gstreamer-python.git#egg=gstreamer-python -v Non-user install because user site-packages disabled Created temporary directory: /tmp/pip-ephem-wheel-cache-m297pfqj Created temporary directory: /tmp/pip-req-tracker-rii0fem9 Initialized build tracking at /tmp/pip-req-tracker-rii0fem9 Created build tracker: /tmp/pip-req-tracker-rii0fem9 Entered build tracker: /tmp/pip-req-tracker-rii0fem9 Created temporary directory: /tmp/pip-install-p8q5uyf0 Collecting gstreamer-python Cloning https://github.com/jackersson/gstreamer-python.git to /tmp/pip-install-p8q5uyf0/gstreamer-python Running command git clone -q https://github.com/jackersson/gstreamer-python.git /tmp/pip-install-p8q5uyf0/gstreamer-python Added gstreamer-python from git+https://github.com/jackersson/gstreamer-python.git#egg=gstreamer-python to build tracker '/tmp/pip-req-tracker-rii0fem9' Running setup.py (path:/tmp/pip-install-p8q5uyf0/gstreamer-python/setup.py) egg_info for package gstreamer-python Created temporary directory: /tmp/pip-pip-egg-info-moeehjjk Running command python setup.py egg_info running egg_info creating /tmp/pip-pip-egg-info-moeehjjk/gstreamer_python.egg-info writing /tmp/pip-pip-egg-info-moeehjjk/gstreamer_python.egg-info/PKG-INFO writing dependency_links to /tmp/pip-pip-egg-info-moeehjjk/gstreamer_python.egg-info/dependency_links.txt writing requirements to /tmp/pip-pip-egg-info-moeehjjk/gstreamer_python.egg-info/requires.txt writing top-level names to /tmp/pip-pip-egg-info-moeehjjk/gstreamer_python.egg-info/top_level.txt writing manifest file '/tmp/pip-pip-egg-info-moeehjjk/gstreamer_python.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '.so' warning: no files found matching 'gstreamer/3rd_party/gstreamer/build/.so' warning: manifest_maker: MANIFEST.in, line 4: 'recursive-include' expects

...

writing manifest file '/tmp/pip-pip-egg-info-moeehjjk/gstreamer_python.egg-info/SOURCES.txt'

Source in /tmp/pip-install-p8q5uyf0/gstreamer-python has version 0.0.3.dev2+g7773164, which satisfies requirement gstreamer-python from git+https://github.com/jackersson/gstreamer-python.git#egg=gstreamer-python Removed gstreamer-python from git+https://github.com/jackersson/gstreamer-python.git#egg=gstreamer-python from build tracker '/tmp/pip-req-tracker-rii0fem9' Requirement already satisfied, skipping upgrade: numpy>=1.14.3 in ./venv/lib/python3.6/site-packages (from gstreamer-python) (1.18.1) Requirement already satisfied, skipping upgrade: pycairo>=1.18.2 in ./venv/lib/python3.6/site-packages (from gstreamer-python) (1.19.1) Requirement already satisfied, skipping upgrade: PyGObject>=3.34.0 in ./venv/lib/python3.6/site-packages (from gstreamer-python) (3.36.0) Requirement already satisfied, skipping upgrade: pytest>=5.3.2 in ./venv/lib/python3.6/site-packages (from gstreamer-python) (5.3.2) Requirement already satisfied, skipping upgrade: pytest-benchmark>=3.2.2 in ./venv/lib/python3.6/site-packages (from gstreamer-python) (3.2.3) Requirement already satisfied, skipping upgrade: attrs>=19.3.0 in ./venv/lib/python3.6/site-packages (from gstreamer-python) (19.3.0) Requirement already satisfied, skipping upgrade: autopep8>=1.4.4 in ./venv/lib/python3.6/site-packages (from gstreamer-python) (1.5.2) Requirement already satisfied, skipping upgrade: flake8>=3.7.9 in ./venv/lib/python3.6/site-packages (from gstreamer-python) (3.7.9) Requirement already satisfied, skipping upgrade: importlib-metadata>=0.12; python_version < "3.8" in ./venv/lib/python3.6/site-packages (from pytest>=5.3.2->gstreamer-python) (1.6.0) Requirement already satisfied, skipping upgrade: packaging in ./venv/lib/python3.6/site-packages (from pytest>=5.3.2->gstreamer-python) (20.3) Requirement already satisfied, skipping upgrade: pluggy<1.0,>=0.12 in ./venv/lib/python3.6/site-packages (from pytest>=5.3.2->gstreamer-python) (0.13.1) Requirement already satisfied, skipping upgrade: py>=1.5.0 in ./venv/lib/python3.6/site-packages (from pytest>=5.3.2->gstreamer-python) (1.8.1) Requirement already satisfied, skipping upgrade: wcwidth in ./venv/lib/python3.6/site-packages (from pytest>=5.3.2->gstreamer-python) (0.1.9) Requirement already satisfied, skipping upgrade: more-itertools>=4.0.0 in ./venv/lib/python3.6/site-packages (from pytest>=5.3.2->gstreamer-python) (8.2.0) Requirement already satisfied, skipping upgrade: py-cpuinfo in ./venv/lib/python3.6/site-packages (from pytest-benchmark>=3.2.2->gstreamer-python) (5.0.0) Requirement already satisfied, skipping upgrade: pycodestyle>=2.5.0 in ./venv/lib/python3.6/site-packages (from autopep8>=1.4.4->gstreamer-python) (2.5.0) Requirement already satisfied, skipping upgrade: mccabe<0.7.0,>=0.6.0 in ./venv/lib/python3.6/site-packages (from flake8>=3.7.9->gstreamer-python) (0.6.1) Requirement already satisfied, skipping upgrade: pyflakes<2.2.0,>=2.1.0 in ./venv/lib/python3.6/site-packages (from flake8>=3.7.9->gstreamer-python) (2.1.1) Requirement already satisfied, skipping upgrade: entrypoints<0.4.0,>=0.3.0 in ./venv/lib/python3.6/site-packages (from flake8>=3.7.9->gstreamer-python) (0.3) Requirement already satisfied, skipping upgrade: zipp>=0.5 in ./venv/lib/python3.6/site-packages (from importlib-metadata>=0.12; python_version < "3.8"->pytest>=5.3.2->gstreamer-python) (3.1.0) Requirement already satisfied, skipping upgrade: six in ./venv/lib/python3.6/site-packages (from packaging->pytest>=5.3.2->gstreamer-python) (1.14.0) Requirement already satisfied, skipping upgrade: pyparsing>=2.0.2 in ./venv/lib/python3.6/site-packages (from packaging->pytest>=5.3.2->gstreamer-python) (2.4.7) Building wheels for collected packages: gstreamer-python Created temporary directory: /tmp/pip-wheel-34_gmrg2 Building wheel for gstreamer-python (setup.py) ... Destination directory: /tmp/pip-wheel-34_gmrg2 Running command /home/pvips-guest/gst-plugins-tf/venv/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-p8q5uyf0/gstreamer-python/setup.py'"'"'; file='"'"'/tmp/pip-install-p8q5uyf0/gstreamer-python/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-34_gmrg2 running bdist_wheel running build running build_py Running ... /tmp/pip-install-p8q5uyf0/gstreamer-python/build-gst-python.sh Python Executable: /usr/bin/python3 Python Library Path: /usr/lib/x86_64-linux-gnu Current Python Path /home/pvips-guest/gst-plugins-tf/venv Gstreamer Version: 1.14.5 Cloning into 'gst-python'... Note: checking out '1.14.5'.

You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may do so (now or later) by using -b with the checkout command again. Example:

git checkout -b <new-branch-name>

HEAD is now at 1a8f48a Release 1.14.5

  • Setting up common submodule Submodule 'common' (https://gitlab.freedesktop.org/gstreamer/common.git) registered for path 'common' Cloning into '/tmp/pip-install-p8q5uyf0/gstreamer-python/temp/gst-python/common'... Submodule path 'common': checked out 'd7ecca16114e443dab9d6f8cbc47a1554e3d4b30'
  • passing argument --disable-gtk-doc to configure
  • configure run disabled
  • options passed to configure: --disable-gtk-doc
  • check for build tools checking for autoconf >= 2.60 ... found 2.69, ok. checking for automake >= 1.10 ... found 1.15.1, ok. checking for libtoolize >= 1.5.0 ... found 2.4.6, ok. checking for pkg-config >= 0.8.0 ... found 0.29.1, ok.
  • running libtoolize --copy --force... libtoolize: putting auxiliary files in '.'. libtoolize: copying file './ltmain.sh' libtoolize: putting macros in 'm4'. libtoolize: copying file 'm4/libtool.m4' libtoolize: copying file 'm4/ltoptions.m4' libtoolize: copying file 'm4/ltsugar.m4' libtoolize: copying file 'm4/ltversion.m4' libtoolize: copying file 'm4/lt~obsolete.m4' libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac, libtoolize: and rerunning libtoolize and aclocal.
  • running aclocal -I m4 -I common/m4 ...
  • running autoheader ...
  • running autoconf ...
  • running automake -a -c -Wno-portability... configure.ac:47: installing './compile' configure.ac:10: installing './config.guess' configure.ac:10: installing './config.sub' configure.ac:13: installing './install-sh' configure.ac:13: installing './missing' Makefile.am: installing './INSTALL' gi/overrides/Makefile.am: installing './depcomp' gi/overrides/Makefile.am:7: installing './py-compile' plugin/Makefile.am:3: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
  • skipping configure stage for package gst-python, as requested.
  • autogen.sh done. checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking target system type... x86_64-pc-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether UID '1001' is supported by ustar format... yes checking whether GID '1001' is supported by ustar format... yes checking how to create a ustar tar archive... gnutar checking nano version... 0 (release) checking whether to enable maintainer-specific portions of Makefiles... yes checking whether make supports nested variables... (cached) yes checking how to print strings... printf checking for style of include used by make... GNU checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... gcc3 checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for ar... ar checking for archiver @FILE support... @ checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for mt... mt checking if mt is a manifest tool... no checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... no checking for shl_load in -ldld... no checking for dlopen... no checking for dlopen in -ldl... yes checking whether a program can dlopen itself... yes checking whether a statically linked program can dlopen itself... no checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking dependency style of gcc... (cached) gcc3 checking for gcc option to accept ISO C99... none needed checking for gcc option to accept ISO Standard C... (cached) none needed checking for python version... 3.6 checking for python platform... linux checking for python script directory... ${prefix}/lib/python3.6/site-packages checking for python extension module directory... ${exec_prefix}/lib/python3.6/site-packages checking for python >= 2.7... checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for GST... yes checking for PYGOBJECT... configure: error: Package requirements (pygobject-3.0 >= 3.8) were not met:

    No package 'pygobject-3.0' found

    Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix.

    Alternatively, you may set the environment variables PYGOBJECT_CFLAGS and PYGOBJECT_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details.

    make: No targets specified and no makefile found. Stop. make: No rule to make target 'install'. Stop. Running ... /tmp/pip-install-p8q5uyf0/gstreamer-python/build-3rd-party.sh PWD: /tmp/pip-install-p8q5uyf0/gstreamer-python/gstreamer/3rd_party -- The C compiler identification is GNU 7.5.0 -- The CXX compiler identification is GNU 7.5.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1") CMAKE_C_FLAGS: -pthread -I/usr/include/gstreamer-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include CMAKE_EXE_LINKER_FLAGS: -lgstreamer-1.0 -lgobject-2.0 -lglib-2.0

    -- Configuring done -- Generating done -- Build files have been written to: /tmp/pip-install-p8q5uyf0/gstreamer-python/gstreamer/3rd_party/gstreamer/build Scanning dependencies of target gst_objects_info_meta [ 50%] Building C object CMakeFiles/gst_objects_info_meta.dir/gst_objects_info_meta.c.o In file included from /usr/include/glib-2.0/glib.h:62:0, from /usr/include/gstreamer-1.0/gst/gst.h:27, from /tmp/pip-install-p8q5uyf0/gstreamer-python/gstreamer/3rd_party/gstreamer/gst_objects_info_meta.h:10, from /tmp/pip-install-p8q5uyf0/gstreamer-python/gstreamer/3rd_party/gstreamer/gst_objects_info_meta.c:1: /tmp/pip-install-p8q5uyf0/gstreamer-python/gstreamer/3rd_party/gstreamer/gst_objects_info_meta.c: In function ‘gst_buffer_remove_objects_info_meta’: /usr/include/glib-2.0/glib/gmessages.h:599:10: warning: return makes integer from pointer without a cast [-Wint-conversion] return (val); \ ^ /tmp/pip-install-p8q5uyf0/gstreamer-python/gstreamer/3rd_party/gstreamer/gst_objects_info_meta.c:107:5: note: in expansion of macro ‘g_return_val_if_fail’ g_return_val_if_fail(GST_IS_BUFFER(buffer), NULL); ^~~~~~~~ [100%] Linking C shared library libgst_objects_info_meta.so [100%] Built target gst_objects_info_meta creating build creating build/lib creating build/lib/gstreamer copying gstreamer/gst_hacks.py -> build/lib/gstreamer copying gstreamer/gst_objects_info_meta.py -> build/lib/gstreamer copying gstreamer/utils.py -> build/lib/gstreamer copying gstreamer/logging.py -> build/lib/gstreamer copying gstreamer/init.py -> build/lib/gstreamer copying gstreamer/gst_tools.py -> build/lib/gstreamer running egg_info creating gstreamer_python.egg-info writing gstreamer_python.egg-info/PKG-INFO writing dependency_links to gstreamer_python.egg-info/dependency_links.txt writing requirements to gstreamer_python.egg-info/requires.txt writing top-level names to gstreamer_python.egg-info/top_level.txt writing manifest file 'gstreamer_python.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*.so' warning: manifest_maker: MANIFEST.in, line 4: 'recursive-include' expects

    ...

    writing manifest file 'gstreamer_python.egg-info/SOURCES.txt' creating build/lib/gstreamer/3rd_party copying gstreamer/3rd_party/build.sh -> build/lib/gstreamer/3rd_party creating build/lib/gstreamer/3rd_party/gstreamer copying gstreamer/3rd_party/gstreamer/CMakeLists.txt -> build/lib/gstreamer/3rd_party/gstreamer copying gstreamer/3rd_party/gstreamer/build.sh -> build/lib/gstreamer/3rd_party/gstreamer copying gstreamer/3rd_party/gstreamer/gst_objects_info_meta.c -> build/lib/gstreamer/3rd_party/gstreamer copying gstreamer/3rd_party/gstreamer/gst_objects_info_meta.h -> build/lib/gstreamer/3rd_party/gstreamer creating build/lib/gstreamer/3rd_party/gstreamer/build copying gstreamer/3rd_party/gstreamer/build/libgst_objects_info_meta.so -> build/lib/gstreamer/3rd_party/gstreamer/build installing to build/bdist.linux-x86_64/wheel running install running install_lib creating build/bdist.linux-x86_64 creating build/bdist.linux-x86_64/wheel creating build/bdist.linux-x86_64/wheel/gstreamer copying build/lib/gstreamer/gst_hacks.py -> build/bdist.linux-x86_64/wheel/gstreamer copying build/lib/gstreamer/gst_objects_info_meta.py -> build/bdist.linux-x86_64/wheel/gstreamer copying build/lib/gstreamer/utils.py -> build/bdist.linux-x86_64/wheel/gstreamer creating build/bdist.linux-x86_64/wheel/gstreamer/3rd_party copying build/lib/gstreamer/3rd_party/build.sh -> build/bdist.linux-x86_64/wheel/gstreamer/3rd_party creating build/bdist.linux-x86_64/wheel/gstreamer/3rd_party/gstreamer copying build/lib/gstreamer/3rd_party/gstreamer/gst_objects_info_meta.c -> build/bdist.linux-x86_64/wheel/gstreamer/3rd_party/gstreamer copying build/lib/gstreamer/3rd_party/gstreamer/build.sh -> build/bdist.linux-x86_64/wheel/gstreamer/3rd_party/gstreamer creating build/bdist.linux-x86_64/wheel/gstreamer/3rd_party/gstreamer/build copying build/lib/gstreamer/3rd_party/gstreamer/build/libgst_objects_info_meta.so -> build/bdist.linux-x86_64/wheel/gstreamer/3rd_party/gstreamer/build copying build/lib/gstreamer/3rd_party/gstreamer/CMakeLists.txt -> build/bdist.linux-x86_64/wheel/gstreamer/3rd_party/gstreamer copying build/lib/gstreamer/3rd_party/gstreamer/gst_objects_info_meta.h -> build/bdist.linux-x86_64/wheel/gstreamer/3rd_party/gstreamer copying build/lib/gstreamer/logging.py -> build/bdist.linux-x86_64/wheel/gstreamer copying build/lib/gstreamer/init.py -> build/bdist.linux-x86_64/wheel/gstreamer copying build/lib/gstreamer/gst_tools.py -> build/bdist.linux-x86_64/wheel/gstreamer running install_egg_info Copying gstreamer_python.egg-info to build/bdist.linux-x86_64/wheel/gstreamer_python-0.0.3.dev2+g7773164-py3.6.egg-info running install_scripts creating build/bdist.linux-x86_64/wheel/gstreamer_python-0.0.3.dev2+g7773164.dist-info/WHEEL creating '/tmp/pip-wheel-34_gmrg2/gstreamer_python-0.0.3.dev2+g7773164-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it adding 'gstreamer/init.py' adding 'gstreamer/gst_hacks.py' adding 'gstreamer/gst_objects_info_meta.py' adding 'gstreamer/gst_tools.py' adding 'gstreamer/logging.py' adding 'gstreamer/utils.py' adding 'gstreamer/3rd_party/build.sh' adding 'gstreamer/3rd_party/gstreamer/CMakeLists.txt' adding 'gstreamer/3rd_party/gstreamer/build.sh' adding 'gstreamer/3rd_party/gstreamer/gst_objects_info_meta.c' adding 'gstreamer/3rd_party/gstreamer/gst_objects_info_meta.h' adding 'gstreamer/3rd_party/gstreamer/build/libgst_objects_info_meta.so' adding 'gstreamer_python-0.0.3.dev2+g7773164.dist-info/METADATA' adding 'gstreamer_python-0.0.3.dev2+g7773164.dist-info/WHEEL' adding 'gstreamer_python-0.0.3.dev2+g7773164.dist-info/top_level.txt' adding 'gstreamer_python-0.0.3.dev2+g7773164.dist-info/zip-safe' adding 'gstreamer_python-0.0.3.dev2+g7773164.dist-info/RECORD' removing build/bdist.linux-x86_64/wheel done Created wheel for gstreamer-python: filename=gstreamer_python-0.0.3.dev2+g7773164-py3-none-any.whl size=21175 sha256=5b4cfe203e31527f414c3e2f169d59e8ca46533089e11f64df3f38df37448f1b Stored in directory: /tmp/pip-ephem-wheel-cache-m297pfqj/wheels/9c/a8/42/84f7bab381b65842c60ba781391d5319a8fb8578a3cff5ac0f Successfully built gstreamer-python Installing collected packages: gstreamer-python Attempting uninstall: gstreamer-python Found existing installation: gstreamer-python 0.0.3.dev2+g7773164 Uninstalling gstreamer-python-0.0.3.dev2+g7773164: Created temporary directory: /home/pvips-guest/gst-plugins-tf/venv/lib/python3.6/site-packages/~streamer Removing file or directory /home/pvips-guest/gst-plugins-tf/venv/lib/python3.6/site-packages/gstreamer/ Created temporary directory: /home/pvips-guest/gst-plugins-tf/venv/lib/python3.6/site-packages/~streamer_python-0.0.3.dev2+g7773164.dist-info Removing file or directory /home/pvips-guest/gst-plugins-tf/venv/lib/python3.6/site-packages/gstreamer_python-0.0.3.dev2+g7773164.dist-info/ Successfully uninstalled gstreamer-python-0.0.3.dev2+g7773164 Running command git rev-parse HEAD 77731649862dd68c3aed9cc09ee60cde5ca190a5 Created temporary directory: /tmp/pip-unpacked-wheel-w8vsxb6m

Successfully installed gstreamer-python-0.0.3.dev2+g7773164 Removed build tracker: '/tmp/pip-req-tracker-rii0fem9'

jackersson commented 4 years ago

That's the problem. No package 'pygobject-3.0' found

To solve: apt install python3-gi python-gi-dev

Then in venv:

pip install pycairo
pip install pygobject

And finally gstreamer-python should be installed successfully: pip install -U git+https://github.com/jackersson/gstreamer-python.git#egg=gstreamer-python -v

ghost commented 4 years ago

Done :) Thanks a lot for your support!