Unable to install jetson-inference successfully on Orion Nano

I have looked at various forums and can’t find a solution that works for me. I am trying to build the jetson-inference modules on my Orion Nano 8gb inorder to build out mobilenet-ssd program on python. when i run make -j$(nproc) i get all the way to the end until i receive this error

[ 99%] Linking CXX shared library ../../aarch64/lib/python/3.10/jetson_inference_python.so
/home/dr_projoctor/jetson-inference/tools/camera-capture/captureWindow.cpp: In member function ‘glWidget* CaptureWindow::GetWidget(int) const’:
/home/dr_projoctor/jetson-inference/tools/camera-capture/captureWindow.cpp:222:1: warning: no return statement in function returning non-void [-Wreturn-type]
222 | }
| ^
/usr/bin/ld: cannot find -lnpymath: No such file or directory
collect2: error: ld returned 1 exit status
make[2]: *** [python/bindings_python_3.10/CMakeFiles/jetson-inference-python-310.dir/build.make:239: aarch64/lib/python/3.10/jetson_inference_python.so] Error 1
make[1]: *** [CMakeFiles/Makefile2:744: python/bindings_python_3.10/CMakeFiles/jetson-inference-python-310.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs…
[ 99%] Building CXX object tools/camera-capture/CMakeFiles/camera-capture.dir/controlWindow.cpp.o
[100%] Linking CXX executable ../../aarch64/bin/camera-capture
[100%] Built target camera-capture
make: *** [Makefile:136: all] Error 2

I am running Version: 6.2.1+b38
Version: 6.2+b77
Version: 6.1+b123

Python 3.10

I have tried removing everything and starting from scratch but still get the same error. I have tried reinstalling python. Do i need to use an older version? Does 3.10 not have the -lnpymath library? Please help!

*** Please note that this reply is generated by LLM automatically ***

Based on the provided context, I’ll attempt to provide a comprehensive answer to your question.

Firstly, it’s essential to note that the context provided doesn’t explicitly mention the error message you’re encountering. However, I’ll try to offer some general guidance and potential solutions.

The Jetson Orin Nano is a powerful AI computing module, and building the jetsoninference modules can be a complex process. Since you’ve tried removing everything and starting from scratch, as well as reinstalling Python, it’s likely that the issue is related to the compatibility of the jetsoninference modules with Python 3.10.

The lnpymath library is not a standard Python library, and it’s possible that it’s not compatible with Python 3.10. The jetsoninference modules might be using an older version of the library that’s not compatible with the latest Python version.

Here are a few potential solutions you can try:

  1. Downgrade Python: As you’ve mentioned, you can try downgrading Python to an older version, such as Python 3.8 or Python 3.9, to see if the jetsoninference modules build successfully. You can use a tool like pyenv to manage multiple Python versions on your system.
  2. Check the jetsoninference documentation: Make sure you’re following the correct instructions for building the jetsoninference modules on the Jetson Orin Nano. Check the official documentation and ensure that you’re using the correct version of the modules that’s compatible with your Python version.
  3. Install an older version of the jetsoninference modules: If the latest version of the jetsoninference modules is not compatible with Python 3.10, you can try installing an older version that’s known to work with your Python version.
  4. Check the dependencies: Ensure that all the dependencies required by the jetsoninference modules are installed and up-to-date. You can use pip to install any missing dependencies.
  5. Seek help from the Jetson community: As mentioned in the context, the Jetson forums are a great resource for getting help from NVIDIA engineers, community developers, and Jetson partners. You can post your question on the Jetson Orin Nano forum and see if anyone can provide a solution to your problem.

In comparison to other Jetson modules, the Jetson Orin Nano is a relatively new module, and it’s possible that the jetsoninference modules are not yet fully compatible with Python 3.10. However, by trying the above solutions, you should be able to resolve the issue and build the jetsoninference modules successfully.

If you’re still encountering issues, please provide the exact error message you’re seeing, and I’ll do my best to help you troubleshoot the problem.

*** Please give the thumbs up if you get answers you like. Or provide feedback to help us improve the answer. ***

Hi,

Jetson-inference is deprecated.
Please set up the environment with JetPack 6.0 to use it.

Thanks.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.