RidgeRun / gstd-1.x

GStreamer Daemon is a GStreamer framework for controlling audio and video streaming using TCP messages. This version is based on GStreamer 1.x
https://developer.ridgerun.com/wiki/index.php?title=Gstd-1.0
GNU Lesser General Public License v2.1
172 stars 55 forks source link

Pip error when make install on a Jetson Xavier NX #317

Open sinnanodelta opened 1 year ago

sinnanodelta commented 1 year ago

I tried to follow the normal procedure, but it fails at make install with this error :

make[3]: Nothing to be done for 'install-data-am'.
make[3]: Leaving directory '/home/ubuntu/build/gstd-1.x/libgstc/javascript'
make[2]: Leaving directory '/home/ubuntu/build/gstd-1.x/libgstc/javascript'
Making install in python
make[2]: Entering directory '/home/ubuntu/build/gstd-1.x/libgstc/python'
Exception:
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/pip/basecommand.py", line 215, in main
    status = self.run(options, args)
  File "/usr/lib/python3/dist-packages/pip/commands/install.py", line 290, in run
    with self._build_session(options) as session:
  File "/usr/lib/python3/dist-packages/pip/basecommand.py", line 69, in _build_session
    if options.cache_dir else None
  File "/usr/lib/python3.6/posixpath.py", line 80, in join
    a = os.fspath(a)
TypeError: expected str, bytes or os.PathLike object, not int

It appeared to be an issue with pip, as explained here.

So I finally add the option --no-cache-dir within the pip command, in the corresponding Makefile (./libgstc/python/Makefile, line 469), and it works.

Is this behavior normal? What does create this?

Thanks