I have cloned jetson-inference in container according to the example,and cmake ,build, …all I have finished.
but in python project,when I use “import jetson.utils”, it showed “ModuleNotFoundError: No module named ‘jetson’”, I don’t know why, So I need your help.
Thanks
Hi,
Please find this topic for information first:
opened 12:50PM - 21 Jun 19 UTC
closed 06:40AM - 27 Jun 19 UTC
Followed
[Building the Project from Source](https://github.com/dusty-nv/jetson… -inference/blob/python/docs/building-repo-2.md)
Did
>$ sudo apt-get install git cmake
> $ git clone https://github.com/dusty-nv/jetson-inference
> $ cd jetson-inference
> $ git submodule update --init
guess i forgot to do this in the first time during the build
> $ sudo apt-get install libpython3-dev python3-numpy
> $ cd jetson-inference # omit if pwd is already jetson-inference from above
> $ mkdir build
> $ cd build
> $ cmake ../
> $ make
> $ sudo make install
I can't find `jetson.inference` and `jetson.utils` inside `/usr/lib/python3.6/dist-packages`
This is what i can see inside after running `ls /usr/lib/python3.6/dist-packages`
> graphsurgeon tensorrt uff
> graphsurgeon-0.3.2.dist-info tensorrt-5.0.6.3.dist-info uff-0.5.5.dist-info
tried to deleting `rm -rf jetson-inference` reinstall with all the following steps
Yet No `jetson.inference` and `jetson.utils` inside `/usr/lib/python3.6/dist-packages`
What is going wrong? Have i missed any step in between?
Thanks.
Are you able to run the jetson-inference container with the docker/run.sh
script?
Or does this issue only appear with your own container?
You can see the way that it was built/installed into the jetson-inference container in the Dockerfile:
https://github.com/dusty-nv/jetson-inference/blob/master/Dockerfile