Problems running nanoOWL

I have a 8GB Orin Nano and am trying to run the NanoOWL tutorial project at NanoOWL - NVIDIA Jetson AI Lab

Below is the result of running the container, and when I try to install aoihttp. I did install aoihttp as a user, it just searches without success as root, but I did install it a user.

I believed I followed the tutorial step by step, and I have the full jetson image installed on SSD.

martin@nano:~$ jetson-containers run --workdir /opt/nanoowl $(autotag nanoowl)
Namespace(packages=['nanoowl'], prefer=['local', 'registry', 'build'], disable=[''], user='dustynv', output='/tmp/autotag', quiet=False, verbose=False)
-- L4T_VERSION=36.4.4  JETPACK_VERSION=6.2.1  CUDA_VERSION=12.6
-- Finding compatible container image for ['nanoowl']
[sudo] password for martin: 
dustynv/nanoowl:r36.4.0
V4L2_DEVICES:  --device /dev/video0  --device /dev/video1 
### DISPLAY environmental variable is already set: ":1"
localuser:root being added to access control list
### ARM64 architecture detected
### Jetson Detected
SYSTEM_ARCH=tegra-aarch64
+ sudo docker run --runtime nvidia --env NVIDIA_DRIVER_CAPABILITIES=compute,utility,graphics -it --rm --network host --shm-size=8g --volume /tmp/argus_socket:/tmp/argus_socket --volume /etc/enctune.conf:/etc/enctune.conf --volume /etc/nv_tegra_release:/etc/nv_tegra_release --volume /tmp/nv_jetson_model:/tmp/nv_jetson_model --volume /var/run/dbus:/var/run/dbus --volume /var/run/avahi-daemon/socket:/var/run/avahi-daemon/socket --volume /var/run/docker.sock:/var/run/docker.sock --volume /home/martin/jetson-containers/data:/data -v /etc/localtime:/etc/localtime:ro -v /etc/timezone:/etc/timezone:ro --device /dev/snd -e PULSE_SERVER=unix:/run/user/1000/pulse/native -v /run/user/1000/pulse:/run/user/1000/pulse --device /dev/bus/usb -e DISPLAY=:1 -v /tmp/.X11-unix/:/tmp/.X11-unix -v /tmp/.docker.xauth:/tmp/.docker.xauth -e XAUTHORITY=/tmp/.docker.xauth --device /dev/video0 --device /dev/video1 --device /dev/i2c-0 --device /dev/i2c-1 --device /dev/i2c-2 --device /dev/i2c-4 --device /dev/i2c-5 --device /dev/i2c-7 --device /dev/i2c-9 -v /run/jtop.sock:/run/jtop.sock --name jetson_container_20250717_091732 --workdir /opt/nanoowl dustynv/nanoowl:r36.4.0
root@nano:/opt/nanoowl# cd examples/tree_demo
python3 tree_demo.py --camera 0 --resolution 640x480 \
    ../../data/owl_image_encoder_patch32.engine
Traceback (most recent call last):
  File "/opt/nanoowl/examples/tree_demo/tree_demo.py", line 19, in <module>
    from aiohttp import web, WSCloseCode
ModuleNotFoundError: No module named 'aiohttp'
root@nano:/opt/nanoowl/examples/tree_demo# pip install aiohttp
Looking in indexes: https://pypi.jetson-ai-lab.dev/jp6/cu126, https://pypi.ngc.nvidia.com
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='pypi.jetson-ai-lab.dev', port=443): Read timed out. (read timeout=100.0)")': /jp6/cu126/aiohttp/

1 Like

This got fixed when I used
../tree_demo# pip install --index-url https://pypi.jetson-ai-lab.io/jp6/cu126 aiohttp

Note the change in url from ‘.dev’ to ‘.io’, which is according to item 10 in the README.md inside jetson-containers folder.

Hi,

Yes, sorry for the inconvenience.
For some reason, we have changed the apt server link recently.

Does nanoOWL work well after installing the package?

Thanks.

@manalogu @AastaLLL
Yes, it work now very well. thank you! Looks like it’s USB camera only.