Skip to content

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

@sinnanodelta

Description

@sinnanodelta

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions