dusty-nv / jetson-inference

Hello AI World guide to deploying deep-learning inference networks and deep vision primitives with TensorRT and NVIDIA Jetson.
https://developer.nvidia.com/embedded/twodaystoademo
MIT License
7.73k stars 2.97k forks source link

Error while using jetson in python 3.10 "No module jetson_utils_python" #1869

Open aliamrrr opened 2 months ago

aliamrrr commented 2 months ago

Hello , I have a problem while working on object detection with Jetson Nano , Im using a raspberry pi camera v2.1 and its working on python 3.6 ( when i run a simple python code with import jetson.utils , camera = videosource(csi://0) ... I can see the video etc ) . Bt when I run it on python3.10 that I installed it says no module named "jetson" , I tried to edit the Cmake to add 3.10 but still not working .

Now , I have an error : no module "jetson_utils_python" ( I tried to copy the folders from 3.6 to 3.10 )

Please help its urgent

aliamrrr commented 2 months ago

/usr/bin/ld: cannot find -ljetson-utils-python-310 collect2: error: ld returned 1 exit status python/bindings_python_3.10/CMakeFiles/jetson-inference-python-310.dir/build.make:315: recipe for target 'aarch64/lib/python/3.10/jetson_inference_python.so' failed make[2]: [aarch64/lib/python/3.10/jetson_inference_python.so] Error 1 CMakeFiles/Makefile2:984: recipe for target 'python/bindings_python_3.10/CMakeFiles/jetson-inference-python-310.dir/all' failed make[1]: [python/bindings_python_3.10/CMakeFiles/jetson-inference-python-310.dir/all] Error 2 Makefile:129: recipe for target 'all' failed make: *** [all] Error 2

Now I have this error while re running cmake../ ( for the jetson-inference repo )