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

Nanoowl container missing dependency 'aiohttp' #870

Open
1 of 2 tasks
hex4def6 opened this issue Feb 22, 2025 · 0 comments
Open
1 of 2 tasks

Nanoowl container missing dependency 'aiohttp' #870

hex4def6 opened this issue Feb 22, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@hex4def6
Copy link

Search before asking

  • I have searched the jetson-containers issues and found no similar feature requests.

jetson-containers Component

Model

Bug

$ jetson-containers run --workdir /opt/nanoowl/examples/tree_demo   $(autotag nanoowl)     python3 tree_demo.py --camera 0 --resolution 640x480 ../../data/owl_image_encoder_patch32.engine
Namespace(packages=['nanoowl'], prefer=['local', 'registry', 'build'], disable=[''], user='dustynv', output='/tmp/autotag', quiet=False, verbose=False)
-- L4T_VERSION=36.4.3  JETPACK_VERSION=6.2  CUDA_VERSION=12.6
-- Finding compatible container image for ['nanoowl']
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
+ docker run --runtime nvidia -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/mashgin/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-3 --device /dev/i2c-4 --device /dev/i2c-5 --device /dev/i2c-6 --device /dev/i2c-7 --device /dev/i2c-8 --device /dev/i2c-9 -v /run/jtop.sock:/run/jtop.sock --name jetson_container_20250221_223252 --workdir /opt/nanoowl/examples/tree_demo dustynv/nanoowl:r36.4.0 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'

This is solved by running the following:

jetson-containers run --workdir /opt/nanoowl/examples/tree_demo $(autotag nanoowl) bash -c "pip3 install aiohttp && python3 tree_demo.py --camera 0 --resolution 640x480 ../../data/owl_image_encoder_patch32.engine"

Environment

L4T_VERSION=36.4.3 JETPACK_VERSION=6.2 CUDA_VERSION=12.6

jetson-container version 41e0528
dustynv/nanoowl r36.4.0 87793dc70b5a 2 weeks ago

Additional

No response

Are you willing to submit a PR?

  • Yes I'd like to help by submitting a PR!
@hex4def6 hex4def6 added the bug Something isn't working label Feb 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant