Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
sinnanodelta opened this issue Nov 24, 2022 · 0 comments
Open

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

sinnanodelta opened this issue Nov 24, 2022 · 0 comments

Comments

@sinnanodelta
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant