You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I have jetson nano with L4T 32.7.6 and Ubuntu 18.04 LTS. I have problem with build docker container with ros2-humble. I start build container with python 3.6. and have next error:
python3.6
Looking in indexes: https://pypi.jetson-ai-lab.dev/jp5/cu102
ERROR: Could not find a version that satisfies the requirement pip<22.0 (from versions: none)
ERROR: No matching distribution found for pip<22.0
The command '/bin/sh -c /tmp/install_python.sh' returned a non-zero code: 1
Traceback (most recent call last):
File "/usr/lib/python3.6/runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "/usr/lib/python3.6/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/media/user/SDcard/src/gitrepo/jetson-containers/jetson_containers/build.py", line 112, in
build_container(args.name, args.packages, args.base, args.build_flags, args.build_args, args.simulate, args.skip_tests, args.test_only, args.push, args.no_github_api, args.skip_packages)
File "/media/user/SDcard/src/gitrepo/jetson-containers/jetson_containers/container.py", line 147, in build_container
status = subprocess.run(cmd.replace(NEWLINE, ' '), executable='/bin/bash', shell=True, check=True)
File "/usr/lib/python3.6/subprocess.py", line 438, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command 'sudo DOCKER_BUILDKIT=0 docker build --network=host --tag amgp-mini-humble:l4t-r32.7.6-python --file /media/user/SDcard/src/gitrepo/jetson-containers/packages/build/python/Dockerfile --build-arg BASE_IMAGE=amgp-mini-humble:l4t-r32.7.6-cudnn --build-arg PYTHON_VERSION_ARG="3.6" /media/user/SDcard/src/gitrepo/jetson-containers/packages/build/python 2>&1 | tee /media/user/SDcard/src/gitrepo/jetson-containers/logs/20250115_170139/build/amgp-mini-humble_l4t-r32.7.6-python.txt; exit ${PIPESTATUS[0]}' returned non-zero exit status 1.
After I installed python 3.7 make:
bash jetson-containers/install.sh
and start build container this comand:
jetson-containers build --name=amgp-mini-humble ros:humble-desktop
Hi, I have jetson nano with L4T 32.7.6 and Ubuntu 18.04 LTS. I have problem with build docker container with ros2-humble. I start build container with python 3.6. and have next error:
ERROR: This script does not work on Python 3.6. The minimum supported Python version is 3.8. Please use https://bootstrap.pypa.io/pip/3.6/get-pip.py instead.
Looking in indexes: https://pypi.jetson-ai-lab.dev/jp5/cu102
ERROR: Could not find a version that satisfies the requirement pip<22.0 (from versions: none)
ERROR: No matching distribution found for pip<22.0
The command '/bin/sh -c /tmp/install_python.sh' returned a non-zero code: 1
Traceback (most recent call last):
File "/usr/lib/python3.6/runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "/usr/lib/python3.6/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/media/user/SDcard/src/gitrepo/jetson-containers/jetson_containers/build.py", line 112, in
build_container(args.name, args.packages, args.base, args.build_flags, args.build_args, args.simulate, args.skip_tests, args.test_only, args.push, args.no_github_api, args.skip_packages)
File "/media/user/SDcard/src/gitrepo/jetson-containers/jetson_containers/container.py", line 147, in build_container
status = subprocess.run(cmd.replace(NEWLINE, ' '), executable='/bin/bash', shell=True, check=True)
File "/usr/lib/python3.6/subprocess.py", line 438, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command 'sudo DOCKER_BUILDKIT=0 docker build --network=host --tag amgp-mini-humble:l4t-r32.7.6-python --file /media/user/SDcard/src/gitrepo/jetson-containers/packages/build/python/Dockerfile --build-arg BASE_IMAGE=amgp-mini-humble:l4t-r32.7.6-cudnn --build-arg PYTHON_VERSION_ARG="3.6" /media/user/SDcard/src/gitrepo/jetson-containers/packages/build/python 2>&1 | tee /media/user/SDcard/src/gitrepo/jetson-containers/logs/20250115_170139/build/amgp-mini-humble_l4t-r32.7.6-python.txt; exit ${PIPESTATUS[0]}' returned non-zero exit status 1.
I try to find solution and find this: facebookresearch/detectron2#4394 (comment)
After I installed python 3.7 make:
bash jetson-containers/install.sh
and start build container this comand:
jetson-containers build --name=amgp-mini-humble ros:humble-desktop
Then I have next error:
Namespace(base='', build_args='', build_flags='', list_packages=False, logs='', multiple=False, name='amgp-mini-humble', no_github_api=False, package_dirs=[''], packages=['ros:humble-desktop'], push='', show_packages=False, simulate=False, skip_errors=False, skip_packages=[''], skip_tests=[''], test_only=[''], verbose=False)
-- L4T_VERSION=32.7.6
-- JETPACK_VERSION=5.1
-- CUDA_VERSION=10.2
-- PYTHON_VERSION=3.7.5
-- LSB_RELEASE=18.04 (bionic)
-- Package zed has missing dependencies, disabling... ("couldn't find package: python")
-- Package jetcam has missing dependencies, disabling... ("couldn't find package: python")
-- Package jupyter_clickable_image_widget has missing dependencies, disabling... ("couldn't find package: python")
-- Package realsense has missing dependencies, disabling... ("couldn't find package: python")
-- Package ros:melodic-ros-base has missing dependencies, disabling... ("couldn't find package: python")
-- Package ros:melodic-ros-core has missing dependencies, disabling... ("couldn't find package: python")
-- Package ros:melodic-desktop has missing dependencies, disabling... ("couldn't find package: python")
-- Package ros:noetic-ros-base has missing dependencies, disabling... ("couldn't find package: python")
-- Package ros:noetic-ros-core has missing dependencies, disabling... ("couldn't find package: python")
-- Package ros:noetic-desktop has missing dependencies, disabling... ("couldn't find package: python")
-- Package ros:foxy-ros-base has missing dependencies, disabling... ("couldn't find package: python")
-- Package ros:foxy-ros-core has missing dependencies, disabling... ("couldn't find package: python")
-- Package ros:foxy-desktop has missing dependencies, disabling... ("couldn't find package: python")
-- Package ros:galactic-ros-base has missing dependencies, disabling... ("couldn't find package: python")
-- Package ros:galactic-ros-core has missing dependencies, disabling... ("couldn't find package: python")
-- Package ros:galactic-desktop has missing dependencies, disabling... ("couldn't find package: python")
-- Package ros:humble-ros-base has missing dependencies, disabling... ("couldn't find package: python")
-- Package ros:humble-ros-core has missing dependencies, disabling... ("couldn't find package: python")
-- Package ros:humble-desktop has missing dependencies, disabling... ("couldn't find package: python")
-- Package ros:iron-ros-base has missing dependencies, disabling... ("couldn't find package: python")
-- Package ros:iron-ros-core has missing dependencies, disabling... ("couldn't find package: python")
-- Package ros:iron-desktop has missing dependencies, disabling... ("couldn't find package: python")
-- Package ros:jazzy-ros-base has missing dependencies, disabling... ("couldn't find package: python")
-- Package ros:jazzy-ros-core has missing dependencies, disabling... ("couldn't find package: python")
-- Package ros:jazzy-desktop has missing dependencies, disabling... ("couldn't find package: python")
-- Package ros:foxy-foxglove has missing dependencies, disabling... ("couldn't find package: ros:foxy-desktop")
-- Package ros:galactic-foxglove has missing dependencies, disabling... ("couldn't find package: ros:galactic-desktop")
-- Package ros:humble-foxglove has missing dependencies, disabling... ("couldn't find package: ros:humble-desktop")
-- Package ros:iron-foxglove has missing dependencies, disabling... ("couldn't find package: ros:iron-desktop")
-- Package ros:jazzy-foxglove has missing dependencies, disabling... ("couldn't find package: ros:jazzy-desktop")
-- Package clip_trt has missing dependencies, disabling... ("couldn't find package: transformers")
-- Package ctranslate2:4.2.0 has missing dependencies, disabling... ("couldn't find package: python")
-- Package ctranslate2:4.2.0-builder has missing dependencies, disabling... ("couldn't find package: python")
-- Package onnxruntime:1.11 has missing dependencies, disabling... ("couldn't find package: python")
-- Package onnxruntime:1.11-builder has missing dependencies, disabling... ("couldn't find package: python")
-- Package onnx has missing dependencies, disabling... ("couldn't find package: python")
-- Package jetson-utils has missing dependencies, disabling... ("couldn't find package: python")
-- Package jetson-inference:main has missing dependencies, disabling... ("couldn't find package: onnx")
-- Package jetson-inference:foxy has missing dependencies, disabling... ("couldn't find package: ros:foxy-foxglove")
-- Package jetson-inference:galactic has missing dependencies, disabling... ("couldn't find package: ros:galactic-foxglove")
-- Package jetson-inference:humble has missing dependencies, disabling... ("couldn't find package: ros:humble-foxglove")
-- Package jetson-inference:iron has missing dependencies, disabling... ("couldn't find package: ros:iron-foxglove")
-- Package jetson-inference:jazzy has missing dependencies, disabling... ("couldn't find package: ros:jazzy-foxglove")
-- Package jupyterlab has missing dependencies, disabling... ("couldn't find package: python")
-- Package jupyterlab:myst has missing dependencies, disabling... ("couldn't find package: jupyterlab:main")
-- Package tritonserver has missing dependencies, disabling... ("couldn't find package: python")
-- Package tensorboard has missing dependencies, disabling... ("couldn't find package: python")
-- Package tensorflow1:1.15.5 has missing dependencies, disabling... ("couldn't find package: python")
-- Package tensorflow1:1.15.5-builder has missing dependencies, disabling... ("couldn't find package: python")
-- Package tensorflow2:2.7.0 has missing dependencies, disabling... ("couldn't find package: python")
-- Package tensorflow2:2.7.0-builder has missing dependencies, disabling... ("couldn't find package: python")
-- Package cuda:10.2-samples has missing dependencies, disabling... ("couldn't find package: python")
-- Package pycuda has missing dependencies, disabling... ("couldn't find package: python")
-- Package cupy has missing dependencies, disabling... ("couldn't find package: python")
-- Package torchaudio:0.10.0 has missing dependencies, disabling... ("couldn't find package: python")
-- Package torchaudio:0.10.0-builder has missing dependencies, disabling... ("couldn't find package: python")
-- Package torchaudio:0.9.0 has missing dependencies, disabling... ("couldn't find package: python")
-- Package torchaudio:0.9.0-builder has missing dependencies, disabling... ("couldn't find package: python")
-- Package torchvision:0.11.1 has missing dependencies, disabling... ("couldn't find package: python")
-- Package torchvision:0.11.1-builder has missing dependencies, disabling... ("couldn't find package: python")
-- Package torchvision:0.10.0 has missing dependencies, disabling... ("couldn't find package: python")
-- Package torchvision:0.10.0-builder has missing dependencies, disabling... ("couldn't find package: python")
-- Package torch_tensorrt has missing dependencies, disabling... ("couldn't find package: torchvision")
-- Package torch2trt has missing dependencies, disabling... ("couldn't find package: torchvision")
-- Package pytorch:1.10 has missing dependencies, disabling... ("couldn't find package: onnx")
-- Package pytorch:1.9 has missing dependencies, disabling... ("couldn't find package: onnx")
-- Package faiss:1.7.3 has missing dependencies, disabling... ("couldn't find package: python")
-- Package faiss:1.7.3-builder has missing dependencies, disabling... ("couldn't find package: python")
-- Package faiss:1.7.4 has missing dependencies, disabling... ("couldn't find package: python")
-- Package faiss:1.7.4-builder has missing dependencies, disabling... ("couldn't find package: python")
-- Package faiss_lite has missing dependencies, disabling... ("couldn't find package: pytorch")
-- Package nanodb has missing dependencies, disabling... ("couldn't find package: faiss_lite")
-- Package gptq-for-llama has missing dependencies, disabling... ("couldn't find package: transformers")
-- Package xformers:0.0.26 has missing dependencies, disabling... ("couldn't find package: pytorch")
-- Package xformers:0.0.26-builder has missing dependencies, disabling... ("couldn't find package: pytorch")
-- Package nemo has missing dependencies, disabling... ("couldn't find package: transformers")
-- Package huggingface_hub has missing dependencies, disabling... ("couldn't find package: python")
-- Package optimum has missing dependencies, disabling... ("couldn't find package: onnxruntime")
-- Package openai has missing dependencies, disabling... ("couldn't find package: python")
-- Package openvla has missing dependencies, disabling... ("couldn't find package: transformers")
-- Package openvla:mimicgen has missing dependencies, disabling... ("couldn't find package: transformers")
-- Package robomimic has missing dependencies, disabling... ("couldn't find package: pytorch")
-- Package physx has missing dependencies, disabling... ("couldn't find package: python")
-- Package robosuite has missing dependencies, disabling... ("couldn't find package: python")
-- Package mujoco has missing dependencies, disabling... ("couldn't find package: python")
-- Package mimicgen has missing dependencies, disabling... ("couldn't find package: robomimic")
-- Package sapien has missing dependencies, disabling... ("couldn't find package: physx")
-- Package tensorrt has missing dependencies, disabling... ("couldn't find package: python")
-- Package l4t-pytorch has missing dependencies, disabling... ("couldn't find package: pytorch")
-- Package l4t-ml has missing dependencies, disabling... ("couldn't find package: pytorch")
-- Package l4t-tensorflow:tf1 has missing dependencies, disabling... ("couldn't find package: tensorflow")
-- Package l4t-tensorflow:tf2 has missing dependencies, disabling... ("couldn't find package: tensorflow2")
-- Package voicecraft has missing dependencies, disabling... ("couldn't find package: audiocraft")
-- Package piper-tts has missing dependencies, disabling... ("couldn't find package: onnxruntime")
-- Package protobuf:cpp has missing dependencies, disabling... ("couldn't find package: python")
-- Package protobuf:apt has missing dependencies, disabling... ("couldn't find package: python")
-- Package cmake:pip has missing dependencies, disabling... ("couldn't find package: python")
-- Package rust has missing dependencies, disabling... ("couldn't find package: python")
-- Package ninja has missing dependencies, disabling... ("couldn't find package: python")
-- Package h5py has missing dependencies, disabling... ("couldn't find package: python")
-- Package docker has missing dependencies, disabling... ("couldn't find package: python")
-- Package prismatic has missing dependencies, disabling... ("couldn't find package: transformers")
-- Package gstreamer has missing dependencies, disabling... ("couldn't find package: python")
-- Package pyav has missing dependencies, disabling... ("couldn't find package: python")
-- Package deepstream has missing dependencies, disabling... ("couldn't find package: tensorrt")
-- Package opencv:4.5.0-deb has missing dependencies, disabling... ("couldn't find package: python")
-- Package numpy has missing dependencies, disabling... ("couldn't find package: python")
-- Package arrow:14.0.1 has missing dependencies, disabling... ("couldn't find package: cmake")
-- Package arrow:12.0.1 has missing dependencies, disabling... ("couldn't find package: cmake")
-- Package arrow:5.0.0 has missing dependencies, disabling... ("couldn't find package: cmake")
-- Package numba has missing dependencies, disabling... ("couldn't find package: numpy")
Traceback (most recent call last):
File "/usr/lib/python3.7/runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "/usr/lib/python3.7/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/media/user/SDcard/src/gitrepo/jetson-containers/jetson_containers/build.py", line 112, in
build_container(args.name, args.packages, args.base, args.build_flags, args.build_args, args.simulate, args.skip_tests, args.test_only, args.push, args.no_github_api, args.skip_packages)
File "/media/user/SDcard/src/gitrepo/jetson-containers/jetson_containers/container.py", line 66, in build_container
packages = resolve_dependencies(packages, skip_packages=skip_packages)
File "/media/user/SDcard/src/gitrepo/jetson-containers/jetson_containers/packages.py", line 318, in resolve_dependencies
packages, changed = add_depends(packages)
File "/media/user/SDcard/src/gitrepo/jetson-containers/jetson_containers/packages.py", line 290, in add_depends
for dependency in find_package(package).get('depends', []):
File "/media/user/SDcard/src/gitrepo/jetson-containers/jetson_containers/packages.py", line 174, in find_package
raise KeyError(f"couldn't find package: {package}")
KeyError: "couldn't find package: ros:humble-desktop"
Please, somebody can help me with my issue? I'd be most grateful, thanks.
The text was updated successfully, but these errors were encountered: