RoboStack / ros-noetic

vinca configuration files for ros-noetic
https://robostack.github.io
449 stars 70 forks source link

Requiring ros-noetic-robot, but none of the providers can be installed #386

Closed zichunxx closed 10 months ago

zichunxx commented 10 months ago

Solution to issue cannot be found in the documentation.

Issue

Hi!

I want to create a conda env with python 3.8.10 which is the same as the default Ubuntu 20.04 python version. The purpose of this is to install some extra packages later without polluting the default python env. Some of the packages I'm used to working with have been used with python 3.8 and I tend not to create conda env with other python versions.

I follow the tutorial step by step and encounter the following error when executing mamba install ros-noetic-desktop:

Encountered problems while solving:
  - package ros-noetic-desktop-1.5.0-py39hac30774_15 requires ros-noetic-robot, but none of the providers can be installed

Besides, I also try mamba install ros-noetic-desktop -c conda-forge -c robotstack-staging and meet the same issue.

I successfully installed it with python 3.9, but it seems that python 3.8 doesn't work. Is this caused by the fact that the version of python has to be different from the default Ubuntu20.04 version?

Thanks!

Installed packages

# Name                    Version                   Build  Channel
_libgcc_mutex             0.1                 conda_forge    conda-forge
_openmp_mutex             4.5                       2_gnu    conda-forge
ca-certificates           2023.7.22            hbcca054_0    conda-forge
ld_impl_linux-64          2.40                 h41732ed_0    conda-forge
libffi                    3.4.2                h7f98852_5    conda-forge
libgcc-ng                 13.1.0               he5830b7_0    conda-forge
libgomp                   13.1.0               he5830b7_0    conda-forge
libsqlite                 3.43.0               h2797004_0    conda-forge
libstdcxx-ng              13.1.0               hfd8a6a1_0    conda-forge
libzlib                   1.2.13               hd590300_5    conda-forge
ncurses                   6.4                  hcb278e6_0    conda-forge
openssl                   1.1.1v               hd590300_0    conda-forge
pip                       23.2.1             pyhd8ed1ab_0    conda-forge
python                    3.8.10          hb7a2778_2_cpython    conda-forge
readline                  8.2                  h8228510_1    conda-forge
setuptools                68.1.2             pyhd8ed1ab_0    conda-forge
sqlite                    3.43.0               h2c6b66d_0    conda-forge
tk                        8.6.12               h27826a3_0    conda-forge
wheel                     0.41.2             pyhd8ed1ab_0    conda-forge
xz                        5.2.6                h166bdaf_0    conda-forge
zlib                      1.2.13               hd590300_5    conda-forge

Environment info

active environment : robostackenv
    active env location : /home/xzc/mambaforge/envs/robostackenv
            shell level : 1
       user config file : /home/xzc/.condarc
 populated config files : /home/xzc/mambaforge/.condarc
                          /home/xzc/.condarc
                          /home/xzc/mambaforge/envs/robostackenv/.condarc
          conda version : 23.3.1
    conda-build version : not installed
         python version : 3.10.6.final.0
       virtual packages : __archspec=1=x86_64
                          __cuda=12.0=0
                          __glibc=2.31=0
                          __linux=5.15.0=0
                          __unix=0=0
       base environment : /home/xzc/mambaforge  (writable)
      conda av data dir : /home/xzc/mambaforge/etc/conda
  conda av metadata url : None
           channel URLs : https://conda.anaconda.org/robostack-staging/linux-64
                          https://conda.anaconda.org/robostack-staging/noarch
                          https://conda.anaconda.org/conda-forge/linux-64
                          https://conda.anaconda.org/conda-forge/noarch
          package cache : /home/xzc/mambaforge/pkgs
                          /home/xzc/.conda/pkgs
       envs directories : /home/xzc/mambaforge/envs
                          /home/xzc/.conda/envs
               platform : linux-64
             user-agent : conda/23.3.1 requests/2.28.2 CPython/3.10.6 Linux/5.15.0-79-generic ubuntu/20.04.6 glibc/2.31
                UID:GID : 1000:1000
             netrc file : /home/xzc/.netrc
           offline mode : False
traversaro commented 10 months ago

Is this caused by the fact that the version of python has to be different from the default Ubuntu20.04 version?

No, that is not the reason why there are not Python 3.8 packages. We used to build packages for Python 3.8 before https://github.com/RoboStack/ros-noetic/pull/211, but at the moment we are building packages only for Python 3.9 for ROS Noetic. At the moment we target only one Python version for distribution as it is already difficult to mantain one single python version.

zichunxx commented 10 months ago

It seems that I will have to carry on with Python 3.9.

Thanks to your whole team for the effort in maintaining this repo.

Best regards.