robotology / robotology-superbuild

CMake/YCM-based superbuild to simplify the build process of robotology projects.
49 stars 48 forks source link

Installing robotology superbuild but package (gz-sim8) did not installed #1662

Open 16239014 opened 4 months ago

16239014 commented 4 months ago

1) And i install python 3.11 with spyder 5.5.4 when i try to run this example it show error of (yarp module not found) [https://robotology.github.io/robotology-documentation/doc/html/icub_python_basic_motor.html]

  **step i follow when run spyder**
         1. i activate environment
         2. then source robotology
         3. then run spyder 

2) I did fresh installation multiple times of Robotology superbuild but every time get stuck on this package:

conda install -c conda-forge gz-sim8

Error log:

(robsub) sohail@sohail-Lenovo-V14-G3-IAP:~$ conda install -c conda-forge gz-sim8
Channels:
 - conda-forge
 - defaults
Platform: linux-64
Collecting package metadata (repodata.json): done
Solving environment: \ warning  libmamba Added empty dependency for problem type SOLVER_RULE_UPDATE
failed

LibMambaUnsatisfiableError: Encountered problems while solving:
  - package gz-sim8-8.0.0-ha770c72_0 requires gz-sim8-python >=8.0.0,<8.0.1.0a0, but none of the providers can be installed

Could not solve for environment specs
The following packages are incompatible
├─ gazebo is installable with the potential options
│  ├─ gazebo 11.14.0 would require
│  │  ├─ libgdal [>=3.8.2,<3.9.0a0 |>=3.8.3,<3.9.0a0 |>=3.8.4,<3.9.0a0 ] with the potential options
│  │  │  ├─ libgdal [3.8.2|3.8.3|3.8.4] would require
│  │  │  │  └─ pcre2 >=10.42,<10.43.0a0 , which can be installed;
│  │  │  └─ libgdal [3.8.4|3.8.5|3.9.0] would require
│  │  │     └─ pcre2 >=10.43,<10.44.0a0 , which can be installed;
│  │  └─ libignition-common3 >=3.15.1,<4.0a0  with the potential options
│  │     ├─ libignition-common3 3.15.1 would require
│  │     │  └─ libglib >=2.78.3,<3.0a0  with the potential options
│  │     │     ├─ libglib [2.78.3|2.78.4] would require
│  │     │     │  └─ pcre2 >=10.42,<10.43.0a0 , which can be installed;
│  │     │     └─ libglib [2.78.4|2.80.0|2.80.1|2.80.2] would require
│  │     │        └─ pcre2 >=10.43,<10.44.0a0 , which can be installed;
│  │     ├─ libignition-common3 3.15.1 would require
│  │     │  └─ tinyxml2 >=9.0.0,<10.0a0 , which can be installed;
│  │     └─ libignition-common3 3.15.1 would require
│  │        └─ libglib >=2.80.0,<3.0a0 , which can be installed (as previously explained);
│  ├─ gazebo [11.10.0|11.10.1|...|11.9.1] would require
│  │  └─ tinyxml2 >=9.0.0,<10.0a0 , which can be installed;
│  ├─ gazebo 11.0.0 would require
│  │  └─ tinyxml2 >=7.1.0,<7.2.0a0 , which can be installed;
│  ├─ gazebo [11.0.0|11.1.0|...|9.15.0] would require
│  │  └─ tinyxml2 >=8.0.0,<8.1.0a0 , which can be installed;
│  ├─ gazebo 11.14.0 would require
│  │  └─ libgdal [>=3.8.5,<3.9.0a0 |>=3.9.0,<3.10.0a0 ], which can be installed (as previously explained);
│  └─ gazebo 11.14.0 would require
│     ├─ libgdal [>=3.8.5,<3.9.0a0 |>=3.9.0,<3.10.0a0 ], which can be installed (as previously explained);
│     └─ libgz-tools2 <0.0.0 , which can be installed;
├─ gz-sim8 is not installable because there are no viable options
│  ├─ gz-sim8 8.0.0 would require
│  │  ├─ gz-sim8-python >=8.0.0,<8.0.1.0a0  with the potential options
│  │  │  ├─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0] would require
│  │  │  │  └─ python >=3.10,<3.11.0a0 , which can be installed;
│  │  │  ├─ gz-sim8-python 8.0.0 would require
│  │  │  │  └─ libgz-sim8 8.0.0 h1450896_1, which can be installed;
│  │  │  ├─ gz-sim8-python 8.0.0 would require
│  │  │  │  └─ libgz-sim8 8.0.0 h1450896_2, which can be installed;
│  │  │  ├─ gz-sim8-python 8.0.0 would require
│  │  │  │  └─ libgz-sim8 [8.0.0 h5f21e3b_5|8.0.0 haa24753_4], which requires
│  │  │  │     └─ tinyxml2 >=10.0.0,<11.0a0 , which conflicts with any installable versions previously reported;
│  │  │  ├─ gz-sim8-python 8.0.0 would require
│  │  │  │  └─ libgz-sim8 8.0.0 h11108b9_3, which can be installed;
│  │  │  ├─ gz-sim8-python 8.0.0 would require
│  │  │  │  └─ libgz-sim8 8.0.0 h6d2d967_0, which can be installed;
│  │  │  ├─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0] would require
│  │  │  │  └─ python >=3.12,<3.13.0a0 , which can be installed;
│  │  │  ├─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0] would require
│  │  │  │  └─ python >=3.8,<3.9.0a0 , which can be installed;
│  │  │  └─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0] would require
│  │  │     └─ python >=3.9,<3.10.0a0 , which can be installed;
│  │  └─ libgz-sim8 8.0.0 h69b2f4f_0, which conflicts with any installable versions previously reported;
│  ├─ gz-sim8 8.0.0 would require
│  │  ├─ gz-sim8-python >=8.0.0,<8.0.1.0a0  with the potential options
│  │  │  ├─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0], which can be installed (as previously explained);
│  │  │  ├─ gz-sim8-python 8.0.0, which can be installed (as previously explained);
│  │  │  ├─ gz-sim8-python 8.0.0, which can be installed (as previously explained);
│  │  │  ├─ gz-sim8-python 8.0.0, which cannot be installed (as previously explained);
│  │  │  ├─ gz-sim8-python 8.0.0, which can be installed (as previously explained);
│  │  │  ├─ gz-sim8-python 8.0.0, which can be installed (as previously explained);
│  │  │  ├─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0], which can be installed (as previously explained);
│  │  │  ├─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0], which can be installed (as previously explained);
│  │  │  └─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0], which can be installed (as previously explained);
│  │  └─ libgz-sim8 8.0.0 h2b00687_1, which conflicts with any installable versions previously reported;
│  ├─ gz-sim8 8.0.0 would require
│  │  ├─ gz-sim8-python >=8.0.0,<8.0.1.0a0  with the potential options
│  │  │  ├─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0], which can be installed (as previously explained);
│  │  │  ├─ gz-sim8-python 8.0.0, which can be installed (as previously explained);
│  │  │  ├─ gz-sim8-python 8.0.0, which can be installed (as previously explained);
│  │  │  ├─ gz-sim8-python 8.0.0, which cannot be installed (as previously explained);
│  │  │  ├─ gz-sim8-python 8.0.0, which can be installed (as previously explained);
│  │  │  ├─ gz-sim8-python 8.0.0, which can be installed (as previously explained);
│  │  │  ├─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0], which can be installed (as previously explained);
│  │  │  ├─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0], which can be installed (as previously explained);
│  │  │  └─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0], which can be installed (as previously explained);
│  │  └─ libgz-sim8 8.0.0 h2b00687_2, which conflicts with any installable versions previously reported;
│  ├─ gz-sim8 8.0.0 would require
│  │  ├─ gz-sim8-python >=8.0.0,<8.0.1.0a0  with the potential options
│  │  │  ├─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0], which can be installed (as previously explained);
│  │  │  ├─ gz-sim8-python 8.0.0, which can be installed (as previously explained);
│  │  │  ├─ gz-sim8-python 8.0.0, which can be installed (as previously explained);
│  │  │  ├─ gz-sim8-python 8.0.0, which cannot be installed (as previously explained);
│  │  │  ├─ gz-sim8-python 8.0.0, which can be installed (as previously explained);
│  │  │  ├─ gz-sim8-python 8.0.0, which can be installed (as previously explained);
│  │  │  ├─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0], which can be installed (as previously explained);
│  │  │  ├─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0], which can be installed (as previously explained);
│  │  │  └─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0], which can be installed (as previously explained);
│  │  └─ libgz-sim8 8.0.0 h6566d4f_3, which conflicts with any installable versions previously reported;
│  ├─ gz-sim8 8.0.0 would require
│  │  └─ libgz-sim8 8.0.0 haa24753_4, which cannot be installed (as previously explained);
│  ├─ gz-sim8 8.0.0 would require
│  │  ├─ gz-sim8-python >=8.0.0,<8.0.1.0a0  with the potential options
│  │  │  ├─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0], which can be installed (as previously explained);
│  │  │  ├─ gz-sim8-python 8.0.0, which can be installed (as previously explained);
│  │  │  ├─ gz-sim8-python 8.0.0, which can be installed (as previously explained);
│  │  │  ├─ gz-sim8-python 8.0.0, which cannot be installed (as previously explained);
│  │  │  ├─ gz-sim8-python 8.0.0, which can be installed (as previously explained);
│  │  │  ├─ gz-sim8-python 8.0.0, which can be installed (as previously explained);
│  │  │  ├─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0], which can be installed (as previously explained);
│  │  │  ├─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0], which can be installed (as previously explained);
│  │  │  └─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0], which can be installed (as previously explained);
│  │  └─ libgz-sim8 8.0.0 ha430fe6_5, which conflicts with any installable versions previously reported;
│  ├─ gz-sim8 8.1.0 would require
│  │  └─ libgz-sim8 8.1.0 h5f21e3b_0, which requires
│  │     ├─ libgz-tools2 >=2.0.0,<3.0a0 , which conflicts with any installable versions previously reported;
│  │     └─ tinyxml2 >=10.0.0,<11.0a0 , which conflicts with any installable versions previously reported;
│  ├─ gz-sim8 8.1.0 would require
│  │  ├─ gz-sim8-python >=8.1.0,<8.1.1.0a0  with the potential options
│  │  │  ├─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0], which can be installed (as previously explained);
│  │  │  ├─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0], which can be installed (as previously explained);
│  │  │  ├─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0], which can be installed (as previously explained);
│  │  │  ├─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0], which can be installed (as previously explained);
│  │  │  ├─ gz-sim8-python 8.1.0 would require
│  │  │  │  └─ libgz-sim8 8.1.0 hf183b0b_1, which can be installed;
│  │  │  ├─ gz-sim8-python 8.1.0 would require
│  │  │  │  └─ libgz-sim8 8.1.0 h5f21e3b_0, which cannot be installed (as previously explained);
│  │  │  └─ gz-sim8-python 8.1.0 would require
│  │  │     └─ libgz-sim8 8.1.0 h166bd2e_2, which can be installed;
│  │  └─ libgz-sim8 8.1.0 hce50c1e_1, which conflicts with any installable versions previously reported;
│  ├─ gz-sim8 8.1.0 would require
│  │  ├─ gz-sim8-python >=8.1.0,<8.1.1.0a0  with the potential options
│  │  │  ├─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0], which can be installed (as previously explained);
│  │  │  ├─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0], which can be installed (as previously explained);
│  │  │  ├─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0], which can be installed (as previously explained);
│  │  │  ├─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0], which can be installed (as previously explained);
│  │  │  ├─ gz-sim8-python 8.1.0, which can be installed (as previously explained);
│  │  │  ├─ gz-sim8-python 8.1.0, which cannot be installed (as previously explained);
│  │  │  └─ gz-sim8-python 8.1.0, which can be installed (as previously explained);
│  │  └─ libgz-sim8 8.1.0 h5fd5377_2, which conflicts with any installable versions previously reported;
│  ├─ gz-sim8 8.2.0 would require
│  │  ├─ gz-sim8-python >=8.2.0,<8.2.1.0a0  with the potential options
│  │  │  ├─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0], which can be installed (as previously explained);
│  │  │  ├─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0], which can be installed (as previously explained);
│  │  │  ├─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0], which can be installed (as previously explained);
│  │  │  ├─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0], which can be installed (as previously explained);
│  │  │  └─ gz-sim8-python 8.2.0 would require
│  │  │     └─ libgz-sim8 8.2.0 h166bd2e_0, which can be installed;
│  │  └─ libgz-sim8 8.2.0 h38a5098_0, which conflicts with any installable versions previously reported;
│  └─ gz-sim8 8.3.0 would require
│     ├─ gz-sim8-python >=8.3.0,<8.3.1.0a0  with the potential options
│     │  ├─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0], which can be installed (as previously explained);
│     │  ├─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0], which can be installed (as previously explained);
│     │  ├─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0], which can be installed (as previously explained);
│     │  ├─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0], which can be installed (as previously explained);
│     │  └─ gz-sim8-python 8.3.0 would require
│     │     └─ libgz-sim8 8.3.0 h166bd2e_0, which can be installed;
│     └─ libgz-sim8 8.3.0 h5fd5377_0, which conflicts with any installable versions previously reported;
├─ pin-1 is not installable because it requires
│  └─ python 3.11.* , which conflicts with any installable versions previously reported;
└─ swig 4.1.0  is not installable because there are no viable options
   ├─ swig 4.1.0 would require
   │  └─ pcre2 >=10.40,<10.41.0a0 , which conflicts with any installable versions previously reported;
   └─ swig 4.1.0 would require
      └─ pcre2 >=10.37,<10.38.0a0 , which conflicts with any installable versions previously reported.
traversaro commented 4 months ago

Please open a different issue for each problem, thanks!

traversaro commented 4 months ago

2) I did fresh installation multiple times of Robotology superbuild but every time get stuck on this package:

Can you report exactly the command you used? The error could depend on the error, and the commands depend on which options you are enabling.

16239014 commented 4 months ago

Can you report exactly the command you used? The error could depend on the error, and the commands depend on which options you are enabling.

conda install -c conda-forge gz-sim8

if you haven't read Error log:

(robsub) sohail@sohail-Lenovo-V14-G3-IAP:~$ conda install -c conda-forge gz-sim8
Channels:
 - conda-forge
 - defaults
Platform: linux-64
Collecting package metadata (repodata.json): done
Solving environment: \ warning  libmamba Added empty dependency for problem type SOLVER_RULE_UPDATE
failed

LibMambaUnsatisfiableError: Encountered problems while solving:
  - package gz-sim8-8.0.0-ha770c72_0 requires gz-sim8-python >=8.0.0,<8.0.1.0a0, but none of the providers can be installed

Could not solve for environment specs
The following packages are incompatible
├─ gazebo is installable with the potential options
│  ├─ gazebo 11.14.0 would require
│  │  ├─ libgdal [>=3.8.2,<3.9.0a0 |>=3.8.3,<3.9.0a0 |>=3.8.4,<3.9.0a0 ] with the potential options
│  │  │  ├─ libgdal [3.8.2|3.8.3|3.8.4] would require
│  │  │  │  └─ pcre2 >=10.42,<10.43.0a0 , which can be installed;
│  │  │  └─ libgdal [3.8.4|3.8.5|3.9.0] would require
│  │  │     └─ pcre2 >=10.43,<10.44.0a0 , which can be installed;
│  │  └─ libignition-common3 >=3.15.1,<4.0a0  with the potential options
│  │     ├─ libignition-common3 3.15.1 would require
│  │     │  └─ libglib >=2.78.3,<3.0a0  with the potential options
│  │     │     ├─ libglib [2.78.3|2.78.4] would require
│  │     │     │  └─ pcre2 >=10.42,<10.43.0a0 , which can be installed;
│  │     │     └─ libglib [2.78.4|2.80.0|2.80.1|2.80.2] would require
│  │     │        └─ pcre2 >=10.43,<10.44.0a0 , which can be installed;
│  │     ├─ libignition-common3 3.15.1 would require
│  │     │  └─ tinyxml2 >=9.0.0,<10.0a0 , which can be installed;
│  │     └─ libignition-common3 3.15.1 would require
│  │        └─ libglib >=2.80.0,<3.0a0 , which can be installed (as previously explained);
│  ├─ gazebo [11.10.0|11.10.1|...|11.9.1] would require
│  │  └─ tinyxml2 >=9.0.0,<10.0a0 , which can be installed;
│  ├─ gazebo 11.0.0 would require
│  │  └─ tinyxml2 >=7.1.0,<7.2.0a0 , which can be installed;
│  ├─ gazebo [11.0.0|11.1.0|...|9.15.0] would require
│  │  └─ tinyxml2 >=8.0.0,<8.1.0a0 , which can be installed;
│  ├─ gazebo 11.14.0 would require
│  │  └─ libgdal [>=3.8.5,<3.9.0a0 |>=3.9.0,<3.10.0a0 ], which can be installed (as previously explained);
│  └─ gazebo 11.14.0 would require
│     ├─ libgdal [>=3.8.5,<3.9.0a0 |>=3.9.0,<3.10.0a0 ], which can be installed (as previously explained);
│     └─ libgz-tools2 <0.0.0 , which can be installed;
├─ gz-sim8 is not installable because there are no viable options
│  ├─ gz-sim8 8.0.0 would require
│  │  ├─ gz-sim8-python >=8.0.0,<8.0.1.0a0  with the potential options
│  │  │  ├─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0] would require
│  │  │  │  └─ python >=3.10,<3.11.0a0 , which can be installed;
│  │  │  ├─ gz-sim8-python 8.0.0 would require
│  │  │  │  └─ libgz-sim8 8.0.0 h1450896_1, which can be installed;
│  │  │  ├─ gz-sim8-python 8.0.0 would require
│  │  │  │  └─ libgz-sim8 8.0.0 h1450896_2, which can be installed;
│  │  │  ├─ gz-sim8-python 8.0.0 would require
│  │  │  │  └─ libgz-sim8 [8.0.0 h5f21e3b_5|8.0.0 haa24753_4], which requires
│  │  │  │     └─ tinyxml2 >=10.0.0,<11.0a0 , which conflicts with any installable versions previously reported;
│  │  │  ├─ gz-sim8-python 8.0.0 would require
│  │  │  │  └─ libgz-sim8 8.0.0 h11108b9_3, which can be installed;
│  │  │  ├─ gz-sim8-python 8.0.0 would require
│  │  │  │  └─ libgz-sim8 8.0.0 h6d2d967_0, which can be installed;
│  │  │  ├─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0] would require
│  │  │  │  └─ python >=3.12,<3.13.0a0 , which can be installed;
│  │  │  ├─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0] would require
│  │  │  │  └─ python >=3.8,<3.9.0a0 , which can be installed;
│  │  │  └─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0] would require
│  │  │     └─ python >=3.9,<3.10.0a0 , which can be installed;
│  │  └─ libgz-sim8 8.0.0 h69b2f4f_0, which conflicts with any installable versions previously reported;
│  ├─ gz-sim8 8.0.0 would require
│  │  ├─ gz-sim8-python >=8.0.0,<8.0.1.0a0  with the potential options
│  │  │  ├─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0], which can be installed (as previously explained);
│  │  │  ├─ gz-sim8-python 8.0.0, which can be installed (as previously explained);
│  │  │  ├─ gz-sim8-python 8.0.0, which can be installed (as previously explained);
│  │  │  ├─ gz-sim8-python 8.0.0, which cannot be installed (as previously explained);
│  │  │  ├─ gz-sim8-python 8.0.0, which can be installed (as previously explained);
│  │  │  ├─ gz-sim8-python 8.0.0, which can be installed (as previously explained);
│  │  │  ├─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0], which can be installed (as previously explained);
│  │  │  ├─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0], which can be installed (as previously explained);
│  │  │  └─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0], which can be installed (as previously explained);
│  │  └─ libgz-sim8 8.0.0 h2b00687_1, which conflicts with any installable versions previously reported;
│  ├─ gz-sim8 8.0.0 would require
│  │  ├─ gz-sim8-python >=8.0.0,<8.0.1.0a0  with the potential options
│  │  │  ├─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0], which can be installed (as previously explained);
│  │  │  ├─ gz-sim8-python 8.0.0, which can be installed (as previously explained);
│  │  │  ├─ gz-sim8-python 8.0.0, which can be installed (as previously explained);
│  │  │  ├─ gz-sim8-python 8.0.0, which cannot be installed (as previously explained);
│  │  │  ├─ gz-sim8-python 8.0.0, which can be installed (as previously explained);
│  │  │  ├─ gz-sim8-python 8.0.0, which can be installed (as previously explained);
│  │  │  ├─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0], which can be installed (as previously explained);
│  │  │  ├─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0], which can be installed (as previously explained);
│  │  │  └─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0], which can be installed (as previously explained);
│  │  └─ libgz-sim8 8.0.0 h2b00687_2, which conflicts with any installable versions previously reported;
│  ├─ gz-sim8 8.0.0 would require
│  │  ├─ gz-sim8-python >=8.0.0,<8.0.1.0a0  with the potential options
│  │  │  ├─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0], which can be installed (as previously explained);
│  │  │  ├─ gz-sim8-python 8.0.0, which can be installed (as previously explained);
│  │  │  ├─ gz-sim8-python 8.0.0, which can be installed (as previously explained);
│  │  │  ├─ gz-sim8-python 8.0.0, which cannot be installed (as previously explained);
│  │  │  ├─ gz-sim8-python 8.0.0, which can be installed (as previously explained);
│  │  │  ├─ gz-sim8-python 8.0.0, which can be installed (as previously explained);
│  │  │  ├─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0], which can be installed (as previously explained);
│  │  │  ├─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0], which can be installed (as previously explained);
│  │  │  └─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0], which can be installed (as previously explained);
│  │  └─ libgz-sim8 8.0.0 h6566d4f_3, which conflicts with any installable versions previously reported;
│  ├─ gz-sim8 8.0.0 would require
│  │  └─ libgz-sim8 8.0.0 haa24753_4, which cannot be installed (as previously explained);
│  ├─ gz-sim8 8.0.0 would require
│  │  ├─ gz-sim8-python >=8.0.0,<8.0.1.0a0  with the potential options
│  │  │  ├─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0], which can be installed (as previously explained);
│  │  │  ├─ gz-sim8-python 8.0.0, which can be installed (as previously explained);
│  │  │  ├─ gz-sim8-python 8.0.0, which can be installed (as previously explained);
│  │  │  ├─ gz-sim8-python 8.0.0, which cannot be installed (as previously explained);
│  │  │  ├─ gz-sim8-python 8.0.0, which can be installed (as previously explained);
│  │  │  ├─ gz-sim8-python 8.0.0, which can be installed (as previously explained);
│  │  │  ├─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0], which can be installed (as previously explained);
│  │  │  ├─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0], which can be installed (as previously explained);
│  │  │  └─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0], which can be installed (as previously explained);
│  │  └─ libgz-sim8 8.0.0 ha430fe6_5, which conflicts with any installable versions previously reported;
│  ├─ gz-sim8 8.1.0 would require
│  │  └─ libgz-sim8 8.1.0 h5f21e3b_0, which requires
│  │     ├─ libgz-tools2 >=2.0.0,<3.0a0 , which conflicts with any installable versions previously reported;
│  │     └─ tinyxml2 >=10.0.0,<11.0a0 , which conflicts with any installable versions previously reported;
│  ├─ gz-sim8 8.1.0 would require
│  │  ├─ gz-sim8-python >=8.1.0,<8.1.1.0a0  with the potential options
│  │  │  ├─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0], which can be installed (as previously explained);
│  │  │  ├─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0], which can be installed (as previously explained);
│  │  │  ├─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0], which can be installed (as previously explained);
│  │  │  ├─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0], which can be installed (as previously explained);
│  │  │  ├─ gz-sim8-python 8.1.0 would require
│  │  │  │  └─ libgz-sim8 8.1.0 hf183b0b_1, which can be installed;
│  │  │  ├─ gz-sim8-python 8.1.0 would require
│  │  │  │  └─ libgz-sim8 8.1.0 h5f21e3b_0, which cannot be installed (as previously explained);
│  │  │  └─ gz-sim8-python 8.1.0 would require
│  │  │     └─ libgz-sim8 8.1.0 h166bd2e_2, which can be installed;
│  │  └─ libgz-sim8 8.1.0 hce50c1e_1, which conflicts with any installable versions previously reported;
│  ├─ gz-sim8 8.1.0 would require
│  │  ├─ gz-sim8-python >=8.1.0,<8.1.1.0a0  with the potential options
│  │  │  ├─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0], which can be installed (as previously explained);
│  │  │  ├─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0], which can be installed (as previously explained);
│  │  │  ├─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0], which can be installed (as previously explained);
│  │  │  ├─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0], which can be installed (as previously explained);
│  │  │  ├─ gz-sim8-python 8.1.0, which can be installed (as previously explained);
│  │  │  ├─ gz-sim8-python 8.1.0, which cannot be installed (as previously explained);
│  │  │  └─ gz-sim8-python 8.1.0, which can be installed (as previously explained);
│  │  └─ libgz-sim8 8.1.0 h5fd5377_2, which conflicts with any installable versions previously reported;
│  ├─ gz-sim8 8.2.0 would require
│  │  ├─ gz-sim8-python >=8.2.0,<8.2.1.0a0  with the potential options
│  │  │  ├─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0], which can be installed (as previously explained);
│  │  │  ├─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0], which can be installed (as previously explained);
│  │  │  ├─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0], which can be installed (as previously explained);
│  │  │  ├─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0], which can be installed (as previously explained);
│  │  │  └─ gz-sim8-python 8.2.0 would require
│  │  │     └─ libgz-sim8 8.2.0 h166bd2e_0, which can be installed;
│  │  └─ libgz-sim8 8.2.0 h38a5098_0, which conflicts with any installable versions previously reported;
│  └─ gz-sim8 8.3.0 would require
│     ├─ gz-sim8-python >=8.3.0,<8.3.1.0a0  with the potential options
│     │  ├─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0], which can be installed (as previously explained);
│     │  ├─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0], which can be installed (as previously explained);
│     │  ├─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0], which can be installed (as previously explained);
│     │  ├─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0], which can be installed (as previously explained);
│     │  └─ gz-sim8-python 8.3.0 would require
│     │     └─ libgz-sim8 8.3.0 h166bd2e_0, which can be installed;
│     └─ libgz-sim8 8.3.0 h5fd5377_0, which conflicts with any installable versions previously reported;
├─ pin-1 is not installable because it requires
│  └─ python 3.11.* , which conflicts with any installable versions previously reported;
└─ swig 4.1.0  is not installable because there are no viable options
   ├─ swig 4.1.0 would require
   │  └─ pcre2 >=10.40,<10.41.0a0 , which conflicts with any installable versions previously reported;
   └─ swig 4.1.0 would require
      └─ pcre2 >=10.37,<10.38.0a0 , which conflicts with any installable versions previously reported.
traversaro commented 4 months ago

I was referring to all the commands you used to create and modify the robsub environment.

16239014 commented 4 months ago

I was referring to all the commands you used to create and modify the robsub environment.

i am following these steps https://github.com/robotology/robotology-superbuild/blob/master/doc/conda-forge.md#source-installation

conda create -n robsub
conda activate robsub

conda install -c conda-forge ace asio assimp boost eigen freetype glew glfw glm graphviz gsl ipopt irrlicht 
libjpeg-turbo libmatio libode libxml2 nlohmann_json pcl opencv portaudio qt-main sdl sdl2 sqlite tinyxml 
tinyxml2 spdlog lua soxr qhull cmake compilers make ninja pkg-config tomlplusplus libzlib "ffmpeg==6.*" 
onnxruntime-cpp

conda install -c conda-forge bash-completion freeglut libdc1394 libi2c libselinux-cos7-x86_64 xorg-libxau
 libxcb xorg-libxdamage xorg-libxext xorg-libxfixes xorg-libxxf86vm xorg-libxrandr mesa-libgl-cos7-x86_64 
mesa-libgl-devel-cos7-x86_64 libxshmfence-cos7-x86_64 libxshmfence-devel-cos7-x86_64

conda install -c conda-forge python numpy "swig==4.1.0" pybind11 pyqt matplotlib h5py 
tornado u-msgpack-python pyzmq ipython gst-plugins-good gst-plugins-bad pyqtwebengine qtpy pyyaml

conda install -c conda-forge pcl vtk

conda install -c conda-forge gazebo

conda install -c conda-forge gz-sim8
16239014 commented 3 months ago

@traversaro what about this any idea what the issue with that package??

traversaro commented 3 months ago

If I try to do so all those commands, my installer hangs. Let's try to install all of them in a single install:

conda create -n robsub124 -c conda-forge ace asio assimp boost eigen freetype glew glfw glm graphviz gsl ipopt irrlicht  libjpeg-turbo libmatio libode libxml2 nlohmann_json pcl opencv portaudio qt-main sdl sdl2 sqlite tinyxml  tinyxml2 spdlog lua soxr qhull cmake compilers make ninja pkg-config tomlplusplus libzlib "ffmpeg==6.*"  onnxruntime-cpp bash-completion freeglut libdc1394 libi2c libselinux-cos7-x86_64 xorg-libxau libxcb xorg-libxdamage xorg-libxext xorg-libxfixes xorg-libxxf86vm xorg-libxrandr mesa-libgl-cos7-x86_64  mesa-libgl-devel-cos7-x86_64 libxshmfence-cos7-x86_64 libxshmfence-devel-cos7-x86_64 python numpy "swig==4.1.0" pybind11 pyqt matplotlib h5py tornado u-msgpack-python pyzmq ipython gst-plugins-good gst-plugins-bad pyqtwebengine qtpy pyyaml  pcl vtk gazebo  gz-sim8

in this case, it works fine for me, can you try?

16239014 commented 3 months ago
conda create -n robsub124 -c conda-forge ace asio assimp boost eigen freetype glew glfw glm graphviz gsl ipopt irrlicht  libjpeg-turbo libmatio libode libxml2 nlohmann_json pcl opencv portaudio qt-main sdl sdl2 sqlite tinyxml  tinyxml2 spdlog lua soxr qhull cmake compilers make ninja pkg-config tomlplusplus libzlib "ffmpeg==6.*"  onnxruntime-cpp bash-completion freeglut libdc1394 libi2c libselinux-cos7-x86_64 xorg-libxau libxcb xorg-libxdamage xorg-libxext xorg-libxfixes xorg-libxxf86vm xorg-libxrandr mesa-libgl-cos7-x86_64  mesa-libgl-devel-cos7-x86_64 libxshmfence-cos7-x86_64 libxshmfence-devel-cos7-x86_64 python numpy "swig==4.1.0" pybind11 pyqt matplotlib h5py tornado u-msgpack-python pyzmq ipython gst-plugins-good gst-plugins-bad pyqtwebengine qtpy pyyaml  pcl vtk gazebo  gz-sim8

in this case, it works fine for me, can you try?

yes i try this and it show same error about package gz-sim8

traversaro commented 3 months ago

Interesting, can you please report the exact output of the command?

16239014 commented 3 months ago

Interesting, can you please report the exact output of the command?

(robsub) sohail@sohail-Lenovo-V14-G3-IAP:~$ conda install -c conda-forge ace asio assimp boost eigen freetype glew glfw glm graphviz gsl ipopt irrlicht  libjpeg-turbo libmatio libode libxml2 nlohmann_json pcl opencv portaudio qt-main sdl sdl2 sqlite tinyxml  tinyxml2 spdlog lua soxr qhull cmake compilers make ninja pkg-config tomlplusplus libzlib "ffmpeg==6.*"  onnxruntime-cpp bash-completion freeglut libdc1394 libi2c libselinux-cos7-x86_64 xorg-libxau libxcb xorg-libxdamage xorg-libxext xorg-libxfixes xorg-libxxf86vm xorg-libxrandr mesa-libgl-cos7-x86_64  mesa-libgl-devel-cos7-x86_64 libxshmfence-cos7-x86_64 libxshmfence-devel-cos7-x86_64 numpy "swig==4.1.0" pybind11 pyqt matplotlib h5py tornado gst-plugins-good gst-plugins-bad pyqtwebengine qtpy pyyaml  pcl vtk gazebo  gz-sim8
Channels:
 - conda-forge
 - defaults
Platform: linux-64
Collecting package metadata (repodata.json): done
Solving environment: - warning  libmamba Added empty dependency for problem type SOLVER_RULE_UPDATE
failed

LibMambaUnsatisfiableError: Encountered problems while solving:
  - package gz-sim8-8.0.0-ha770c72_0 requires gz-sim8-python >=8.0.0,<8.0.1.0a0, but none of the providers can be installed

Could not solve for environment specs
The following packages are incompatible
├─ gz-sim8 is not installable because there are no viable options
│  ├─ gz-sim8 8.0.0 would require
│  │  ├─ gz-sim8-python >=8.0.0,<8.0.1.0a0  with the potential options
│  │  │  ├─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0] would require
│  │  │  │  └─ python >=3.10,<3.11.0a0 , which can be installed;
│  │  │  ├─ gz-sim8-python 8.0.0 would require
│  │  │  │  └─ libgz-sim8 8.0.0 h1450896_1, which can be installed;
│  │  │  ├─ gz-sim8-python 8.0.0 would require
│  │  │  │  └─ libgz-sim8 8.0.0 h1450896_2, which can be installed;
│  │  │  ├─ gz-sim8-python 8.0.0 would require
│  │  │  │  └─ libgz-sim8 8.0.0 h5f21e3b_5, which can be installed;
│  │  │  ├─ gz-sim8-python 8.0.0 would require
│  │  │  │  └─ libgz-sim8 8.0.0 h11108b9_3, which can be installed;
│  │  │  ├─ gz-sim8-python 8.0.0 would require
│  │  │  │  ├─ libgz-common5 >=5.4.2,<6.0a0  with the potential options
│  │  │  │  │  ├─ libgz-common5 5.4.2 would require
│  │  │  │  │  │  └─ tinyxml2 >=9.0.0,<10.0a0 , which can be installed;
│  │  │  │  │  ├─ libgz-common5 [5.4.2|5.5.0] would require
│  │  │  │  │  │  ├─ libgdal [>=3.8.2,<3.9.0a0 |>=3.8.3,<3.9.0a0 ] with the potential options
│  │  │  │  │  │  │  ├─ libgdal [3.8.2|3.8.3|3.8.4] would require
│  │  │  │  │  │  │  │  └─ pcre2 >=10.42,<10.43.0a0 , which can be installed;
│  │  │  │  │  │  │  └─ libgdal [3.8.4|3.8.5] would require
│  │  │  │  │  │  │     └─ pcre2 >=10.43,<10.44.0a0 , which can be installed;
│  │  │  │  │  │  └─ libglib >=2.78.3,<3.0a0  with the potential options
│  │  │  │  │  │     ├─ libglib [2.78.3|2.78.4] would require
│  │  │  │  │  │     │  └─ pcre2 >=10.42,<10.43.0a0 , which can be installed;
│  │  │  │  │  │     └─ libglib [2.78.4|2.80.0|2.80.1|2.80.2] would require
│  │  │  │  │  │        └─ pcre2 >=10.43,<10.44.0a0 , which can be installed;
│  │  │  │  │  └─ libgz-common5 [5.5.1|5.6.0] would require
│  │  │  │  │     └─ libglib [>=2.80.0,<3.0a0 |>=2.80.2,<3.0a0 ], which can be installed (as previously explained);
│  │  │  │  └─ libgz-sim8 8.0.0 haa24753_4, which requires
│  │  │  │     ├─ libgz-rendering8 >=8.0.0,<9.0a0  with the potential options
│  │  │  │     │  ├─ libgz-rendering8 8.0.0 would require
│  │  │  │     │  │  └─ libgz-common5 >=5.4.2,<6.0a0 , which can be installed (as previously explained);
│  │  │  │     │  └─ libgz-rendering8 [8.1.0|8.1.1] would require
│  │  │  │     │     └─ libgz-common5 [>=5.5.1,<6.0a0 |>=5.6.0,<6.0a0 ], which can be installed (as previously explained);
│  │  │  │     └─ tinyxml2 >=10.0.0,<11.0a0 , which conflicts with any installable versions previously reported;
│  │  │  ├─ gz-sim8-python 8.0.0 would require
│  │  │  │  └─ libgz-sim8 8.0.0 h6d2d967_0, which can be installed;
│  │  │  ├─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0] would require
│  │  │  │  └─ python >=3.12,<3.13.0a0 , which can be installed;
│  │  │  ├─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0] would require
│  │  │  │  └─ python >=3.8,<3.9.0a0 , which can be installed;
│  │  │  └─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0] would require
│  │  │     └─ python >=3.9,<3.10.0a0 , which can be installed;
│  │  └─ libgz-sim8 8.0.0 h69b2f4f_0, which conflicts with any installable versions previously reported;
│  ├─ gz-sim8 8.0.0 would require
│  │  ├─ gz-sim8-python >=8.0.0,<8.0.1.0a0  with the potential options
│  │  │  ├─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0], which can be installed (as previously explained);
│  │  │  ├─ gz-sim8-python 8.0.0, which can be installed (as previously explained);
│  │  │  ├─ gz-sim8-python 8.0.0, which can be installed (as previously explained);
│  │  │  ├─ gz-sim8-python 8.0.0, which can be installed (as previously explained);
│  │  │  ├─ gz-sim8-python 8.0.0, which can be installed (as previously explained);
│  │  │  ├─ gz-sim8-python 8.0.0, which cannot be installed (as previously explained);
│  │  │  ├─ gz-sim8-python 8.0.0, which can be installed (as previously explained);
│  │  │  ├─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0], which can be installed (as previously explained);
│  │  │  ├─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0], which can be installed (as previously explained);
│  │  │  └─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0], which can be installed (as previously explained);
│  │  └─ libgz-sim8 8.0.0 h2b00687_1, which conflicts with any installable versions previously reported;
│  ├─ gz-sim8 8.0.0 would require
│  │  ├─ gz-sim8-python >=8.0.0,<8.0.1.0a0  with the potential options
│  │  │  ├─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0], which can be installed (as previously explained);
│  │  │  ├─ gz-sim8-python 8.0.0, which can be installed (as previously explained);
│  │  │  ├─ gz-sim8-python 8.0.0, which can be installed (as previously explained);
│  │  │  ├─ gz-sim8-python 8.0.0, which can be installed (as previously explained);
│  │  │  ├─ gz-sim8-python 8.0.0, which can be installed (as previously explained);
│  │  │  ├─ gz-sim8-python 8.0.0, which cannot be installed (as previously explained);
│  │  │  ├─ gz-sim8-python 8.0.0, which can be installed (as previously explained);
│  │  │  ├─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0], which can be installed (as previously explained);
│  │  │  ├─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0], which can be installed (as previously explained);
│  │  │  └─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0], which can be installed (as previously explained);
│  │  └─ libgz-sim8 8.0.0 h2b00687_2, which conflicts with any installable versions previously reported;
│  ├─ gz-sim8 8.0.0 would require
│  │  ├─ gz-sim8-python >=8.0.0,<8.0.1.0a0  with the potential options
│  │  │  ├─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0], which can be installed (as previously explained);
│  │  │  ├─ gz-sim8-python 8.0.0, which can be installed (as previously explained);
│  │  │  ├─ gz-sim8-python 8.0.0, which can be installed (as previously explained);
│  │  │  ├─ gz-sim8-python 8.0.0, which can be installed (as previously explained);
│  │  │  ├─ gz-sim8-python 8.0.0, which can be installed (as previously explained);
│  │  │  ├─ gz-sim8-python 8.0.0, which cannot be installed (as previously explained);
│  │  │  ├─ gz-sim8-python 8.0.0, which can be installed (as previously explained);
│  │  │  ├─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0], which can be installed (as previously explained);
│  │  │  ├─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0], which can be installed (as previously explained);
│  │  │  └─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0], which can be installed (as previously explained);
│  │  └─ libgz-sim8 8.0.0 h6566d4f_3, which conflicts with any installable versions previously reported;
│  ├─ gz-sim8 8.0.0 would require
│  │  ├─ gz-sim8-python >=8.0.0,<8.0.1.0a0  with the potential options
│  │  │  ├─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0], which can be installed (as previously explained);
│  │  │  ├─ gz-sim8-python 8.0.0, which can be installed (as previously explained);
│  │  │  ├─ gz-sim8-python 8.0.0, which can be installed (as previously explained);
│  │  │  ├─ gz-sim8-python 8.0.0, which can be installed (as previously explained);
│  │  │  ├─ gz-sim8-python 8.0.0, which can be installed (as previously explained);
│  │  │  ├─ gz-sim8-python 8.0.0, which cannot be installed (as previously explained);
│  │  │  ├─ gz-sim8-python 8.0.0, which can be installed (as previously explained);
│  │  │  ├─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0], which can be installed (as previously explained);
│  │  │  ├─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0], which can be installed (as previously explained);
│  │  │  └─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0], which can be installed (as previously explained);
│  │  └─ libgz-sim8 8.0.0 haa24753_4, which cannot be installed (as previously explained);
│  ├─ gz-sim8 8.0.0 would require
│  │  ├─ gz-sim8-python >=8.0.0,<8.0.1.0a0  with the potential options
│  │  │  ├─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0], which can be installed (as previously explained);
│  │  │  ├─ gz-sim8-python 8.0.0, which can be installed (as previously explained);
│  │  │  ├─ gz-sim8-python 8.0.0, which can be installed (as previously explained);
│  │  │  ├─ gz-sim8-python 8.0.0, which can be installed (as previously explained);
│  │  │  ├─ gz-sim8-python 8.0.0, which can be installed (as previously explained);
│  │  │  ├─ gz-sim8-python 8.0.0, which cannot be installed (as previously explained);
│  │  │  ├─ gz-sim8-python 8.0.0, which can be installed (as previously explained);
│  │  │  ├─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0], which can be installed (as previously explained);
│  │  │  ├─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0], which can be installed (as previously explained);
│  │  │  └─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0], which can be installed (as previously explained);
│  │  └─ libgz-sim8 8.0.0 ha430fe6_5, which conflicts with any installable versions previously reported;
│  ├─ gz-sim8 8.1.0 would require
│  │  ├─ gz-sim8-python >=8.1.0,<8.1.1.0a0  with the potential options
│  │  │  ├─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0], which can be installed (as previously explained);
│  │  │  ├─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0], which can be installed (as previously explained);
│  │  │  ├─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0], which can be installed (as previously explained);
│  │  │  ├─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0], which can be installed (as previously explained);
│  │  │  ├─ gz-sim8-python 8.1.0 would require
│  │  │  │  └─ libgz-sim8 8.1.0 hf183b0b_1, which can be installed;
│  │  │  ├─ gz-sim8-python 8.1.0 would require
│  │  │  │  ├─ libgz-common5 >=5.5.0,<6.0a0 , which can be installed (as previously explained);
│  │  │  │  └─ libgz-sim8 8.1.0 h5f21e3b_0, which conflicts with any installable versions previously reported;
│  │  │  └─ gz-sim8-python 8.1.0 would require
│  │  │     └─ libgz-sim8 8.1.0 h166bd2e_2, which can be installed;
│  │  └─ libgz-sim8 8.1.0 h5f21e3b_0, which conflicts with any installable versions previously reported;
│  ├─ gz-sim8 8.1.0 would require
│  │  ├─ gz-sim8-python >=8.1.0,<8.1.1.0a0  with the potential options
│  │  │  ├─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0], which can be installed (as previously explained);
│  │  │  ├─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0], which can be installed (as previously explained);
│  │  │  ├─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0], which can be installed (as previously explained);
│  │  │  ├─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0], which can be installed (as previously explained);
│  │  │  ├─ gz-sim8-python 8.1.0, which can be installed (as previously explained);
│  │  │  ├─ gz-sim8-python 8.1.0, which cannot be installed (as previously explained);
│  │  │  └─ gz-sim8-python 8.1.0, which can be installed (as previously explained);
│  │  └─ libgz-sim8 8.1.0 hce50c1e_1, which conflicts with any installable versions previously reported;
│  ├─ gz-sim8 8.1.0 would require
│  │  ├─ gz-sim8-python >=8.1.0,<8.1.1.0a0  with the potential options
│  │  │  ├─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0], which can be installed (as previously explained);
│  │  │  ├─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0], which can be installed (as previously explained);
│  │  │  ├─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0], which can be installed (as previously explained);
│  │  │  ├─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0], which can be installed (as previously explained);
│  │  │  ├─ gz-sim8-python 8.1.0, which can be installed (as previously explained);
│  │  │  ├─ gz-sim8-python 8.1.0, which cannot be installed (as previously explained);
│  │  │  └─ gz-sim8-python 8.1.0, which can be installed (as previously explained);
│  │  └─ libgz-sim8 8.1.0 h5fd5377_2, which conflicts with any installable versions previously reported;
│  ├─ gz-sim8 8.2.0 would require
│  │  ├─ gz-sim8-python >=8.2.0,<8.2.1.0a0  with the potential options
│  │  │  ├─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0], which can be installed (as previously explained);
│  │  │  ├─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0], which can be installed (as previously explained);
│  │  │  ├─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0], which can be installed (as previously explained);
│  │  │  ├─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0], which can be installed (as previously explained);
│  │  │  └─ gz-sim8-python 8.2.0 would require
│  │  │     └─ libgz-sim8 8.2.0 h166bd2e_0, which can be installed;
│  │  └─ libgz-sim8 8.2.0 h38a5098_0, which conflicts with any installable versions previously reported;
│  └─ gz-sim8 8.3.0 would require
│     ├─ gz-sim8-python >=8.3.0,<8.3.1.0a0  with the potential options
│     │  ├─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0], which can be installed (as previously explained);
│     │  ├─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0], which can be installed (as previously explained);
│     │  ├─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0], which can be installed (as previously explained);
│     │  ├─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0], which can be installed (as previously explained);
│     │  └─ gz-sim8-python 8.3.0 would require
│     │     └─ libgz-sim8 8.3.0 h166bd2e_0, which can be installed;
│     └─ libgz-sim8 8.3.0 h5fd5377_0, which conflicts with any installable versions previously reported;
├─ pin-1 is not installable because it requires
│  └─ python 3.11.* , which conflicts with any installable versions previously reported;
└─ swig 4.1.0  is not installable because there are no viable options
   ├─ swig 4.1.0 would require
   │  └─ pcre2 >=10.40,<10.41.0a0 , which conflicts with any installable versions previously reported;
   └─ swig 4.1.0 would require
      └─ pcre2 >=10.37,<10.38.0a0 , which conflicts with any installable versions previously reported.
traversaro commented 3 months ago

This is not the command I suggested to use. Can you try to create a new env as I suggested?

16239014 commented 3 months ago

This is not the command I suggested to use. Can you try to create a new env as I suggested?

with new environment it installed all packages also gz-sim8

but I can't understand why this happens with these packges:

Downloading and Extracting Packages:
ogre-1.10.12.1       |Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NameResolutionError("<urllib3.connection.HTTPSConnection object at 0x7f0c2bed89d0>: Failed to resolve 'conda.anaconda.org' ([Errno -3] Temporary failure in name resolution)")': /conda-forge/linux-64/vtk-base-9.2.6-qt_py312h1234567_219.conda                        |   0% 
python-3.12.2        | 30.8 MB   |                                       |   0% 
Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NameResolutionError("<urllib3.connection.HTTPSConnection object at 0x7f0c2bebb490>: Failed to resolve 'conda.anaconda.org' ([Errno -3] Temporary failure in name resolution)")': /conda-forge/linux-64/gcc_impl_linux-64-12.3.0-h58ffeeb_13.condaMB   |                                       |   0% 
libstdcxx-devel_linu | 11.4 MB   |                                       |   0% 
Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NameResolutionError("<urllib3.connection.HTTPSConnection object at 0x7f0c2be01f90>: Failed to resolve 'conda.anaconda.org' ([Errno -3] Temporary failure in name resolution)")': /conda-forge/linux-64/pillow-10.3.0-py312hdcec9eb_0.conda| 5.0 MB    |                                       |   0% 
libgz-rendering7-7.4 | 4.5 MB    |                                       |   0% 
libgz-rendering8-8.0 | 4.3 MB    |                                       |   0%Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NameResolutionError("<urllib3.connection.HTTPSConnection object at 0x7f0c2bebbf90>: Failed to resolve 'conda.anaconda.org' ([Errno -3] Temporary failure in name resolution)")': /conda-forge/linux-64/ogre-1.10.12.1-hb5e08f3_1.conda

Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NameResolutionError("<urllib3.connection.HTTPSConnection object at 0x7f0c2bebaed0>: Failed to resolve 'conda.anaconda.org' ([Errno -3] Temporary failure in name resolution)")': /conda-forge/linux-64/bullet-cpp-3.25-hfb8ada1_2.conda
traversaro commented 3 months ago

That seems a network problem. Did you tried again after some time?

16239014 commented 3 months ago

yes i did it twice. But i will try it again with another network

traversaro commented 3 months ago

By the way, the problem described (and fixed) in https://github.com/conda-forge/zziplib-feedstock/pull/11 may be related to the problem you were having in installing both gz-sim8 and gazebo in the same environment.

16239014 commented 3 months ago

@traversaro i am unable to understand how its related to my issue?

traversaro commented 3 months ago

You had problems in installing gz-sim8 and gazebo packages in the same environment, and following the dependency path their dependency may ended up in requiring both a ne libzlib package and an older one, resulting in conflict. However, this is just a related problem, not something that solves all possilble problems you were having.

16239014 commented 3 months ago

@traversaro ok, I get it, is there any other simulator then Gazebo that we can use for audio-video integration?

traversaro commented 3 months ago

@traversaro ok, I get it, is there any other simulator then Gazebo that we can use for audio-video integration?

It depends on your needs, I would say Gazebo is the only one that provides the same exact software interface you can find on the real iCub, but if you do not need that there is plenty of simulators people are using.

However, just to understand what is the problem of using gazebo or gz-sim8, i.e. without installing both in the same conda environment?

16239014 commented 3 months ago

I installed gazebo only but my supervoiser says also install gz-sim8.

To ran it, source robotology then run gazebo (image attach), because I am getting error in spyder yarp module not found so my research paused here. you have any suggestions about it?

Image attached: Screenshot from 2024-07-04 16-03-36

traversaro commented 3 months ago

I installed gazebo only but my supervoiser says also install gz-sim8.

If you really need to use both (but just to clarify "my supervisor told me so" is not really a motivation that explain a lot to me about your goals), you can create an environment different for each.

traversaro commented 3 months ago

To ran it, source robotology then run gazebo (image attach), because I am getting error in spyder yarp module not found so my research paused here. you have any suggestions about it?

If python can find yarp and works in the terminal, from the point of view of superbuild installation went fine, unfortunaly I never used spyder so I can't help on it.

LoreMoretti commented 2 months ago

I have tried to repeat the install of conda dependencies as well.

So after creating an empty conda env, I run sequentially the following commands to install the conda dependencies as documented in https://github.com/robotology/robotology-superbuild/blob/84f1b1d9207de0856b7f79d5c7795fdba224f2de/doc/conda-forge.md

conda install -c conda-forge ace asio assimp boost eigen freetype glew glfw glm graphviz gsl ipopt irrlicht libjpeg-turbo libmatio libode libxml2 nlohmann_json qhull "pcl>=1.11.1" "libopencv>=4.10.0" opencv portaudio qt-main sdl sdl2 sqlite tinyxml tinyxml2 spdlog lua soxr qhull cmake compilers make ninja pkg-config tomlplusplus libzlib "ffmpeg==6.*" onnxruntime-cpp
conda install -c conda-forge bash-completion freeglut libdc1394 libi2c libselinux-cos7-x86_64 xorg-libxau libxcb xorg-libxdamage xorg-libxext xorg-libxfixes xorg-libxxf86vm xorg-libxrandr mesa-libgl-cos7-x86_64 mesa-libgl-devel-cos7-x86_64 libxshmfence-cos7-x86_64 libxshmfence-devel-cos7-x86_64
conda install -c conda-forge python numpy swig pybind11 pyqt matplotlib h5py tornado u-msgpack-python pyzmq ipython gst-plugins-good gst-plugins-bad pyqtwebengine qtpy pyyaml
conda install -c conda-forge "pcl>=1.11.1" vtk
conda install -c conda-forge gz-sim8

But after the last command (to install gz-sim8), I get the following error:

Click to see the error ``` (TestRobsubDep) lomoretti@IITICUBLAP226:~$ conda install -c conda-forge gz-sim8 Channels: - conda-forge Platform: linux-64 Collecting package metadata (repodata.json): done Solving environment: / warning libmamba Added empty dependency for problem type SOLVER_RULE_UPDATE failed LibMambaUnsatisfiableError: Encountered problems while solving: - package libopencv-4.10.0-qt6_py312h131ea51_601 requires ffmpeg >=6.1.1,<7.0a0, but none of the providers can be installed Could not solve for environment specs The following packages are incompatible ├─ ffmpeg 6** is installable with the potential options │ ├─ ffmpeg [6.1.1|7.0.1] would require │ │ └─ libxcb >=1.16,<1.17.0a0 , which can be installed; │ ├─ ffmpeg [6.0.0|6.0.1|6.1.0], which can be installed; │ ├─ ffmpeg 6.1.1 would require │ │ └─ libopenvino-tensorflow-frontend >=2024.2.0,<2024.2.1.0a0 , which requires │ │ └─ libabseil >=20240116.2,<20240117.0a0 , which can be installed; │ ├─ ffmpeg 6.1.1, which can be installed; │ └─ ffmpeg 6.1.1 would require │ └─ libopenvino-tensorflow-frontend >=2024.1.0,<2024.1.1.0a0 with the potential options │ ├─ libopenvino-tensorflow-frontend 2024.1.0 would require │ │ └─ libabseil >=20240116.1,<20240117.0a0 , which can be installed; │ └─ libopenvino-tensorflow-frontend [2024.1.0|2024.2.0], which can be installed (as previously explained); ├─ gst-plugins-bad is installable with the potential options │ ├─ gst-plugins-bad [1.18.4|1.18.5] would require │ │ └─ gst-plugins-base >=1.18.4,<1.19.0a0 with the potential options │ │ ├─ gst-plugins-base 1.18.4, which can be installed; │ │ ├─ gst-plugins-base 1.18.5, which can be installed; │ │ └─ gst-plugins-base 1.18.5 would require │ │ └─ libxcb >=1.13,<1.14.0a0 , which conflicts with any installable versions previously reported; │ ├─ gst-plugins-bad [1.22.3|1.22.4|...|1.24.4] would require │ │ └─ libxcb >=1.15,<1.16.0a0 , which conflicts with any installable versions previously reported; │ ├─ gst-plugins-bad [1.18.5|1.20.0|...|1.22.0] would require │ │ └─ libxcb >=1.13,<1.14.0a0 , which conflicts with any installable versions previously reported; │ ├─ gst-plugins-bad 1.18.5 would require │ │ └─ gst-plugins-base >=1.18.5,<1.19.0a0 with the potential options │ │ ├─ gst-plugins-base 1.18.5, which can be installed; │ │ └─ gst-plugins-base 1.18.5, which cannot be installed (as previously explained); │ └─ gst-plugins-bad 1.24.4 would require │ └─ gstreamer 1.24.4.* , which can be installed; ├─ gz-sim8 is not installable because there are no viable options │ ├─ gz-sim8 8.0.0 would require │ │ ├─ gz-sim8-python >=8.0.0,<8.0.1.0a0 with the potential options │ │ │ ├─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0] would require │ │ │ │ └─ python >=3.10,<3.11.0a0 , which can be installed; │ │ │ ├─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0] would require │ │ │ │ └─ python >=3.11,<3.12.0a0 , which can be installed; │ │ │ ├─ gz-sim8-python 8.0.0 would require │ │ │ │ ├─ libgz-sim8 8.0.0 h6566d4f_3, which requires │ │ │ │ │ ├─ libabseil >=20230802.1,<20230803.0a0 , which conflicts with any installable versions previously reported; │ │ │ │ │ └─ libprotobuf >=4.24.4,<4.24.5.0a0 , which can be installed; │ │ │ │ └─ libprotobuf >=4.24.4,<4.24.5.0a0 , which can be installed; │ │ │ ├─ gz-sim8-python 8.0.0 would require │ │ │ │ ├─ libgz-sim8 8.0.0 hbe7bb36_4, which can be installed; │ │ │ │ └─ libprotobuf >=4.24.4,<4.24.5.0a0 , which can be installed; │ │ │ ├─ gz-sim8-python 8.0.0 would require │ │ │ │ └─ libgz-sim8 8.0.0 h35ec043_5, which can be installed; │ │ │ ├─ gz-sim8-python 8.0.0 would require │ │ │ │ └─ libgz-sim8 8.0.0 ha4f1e9f_2, which can be installed; │ │ │ ├─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0] would require │ │ │ │ └─ python >=3.8,<3.9.0a0 , which can be installed; │ │ │ └─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0] would require │ │ │ └─ python >=3.9,<3.10.0a0 , which can be installed; │ │ └─ libgz-sim8 [8.0.0 h2b00687_1|8.0.0 h2b00687_2|8.0.0 h69b2f4f_0], which requires │ │ └─ libabseil >=20230802.1,<20230803.0a0 , which conflicts with any installable versions previously reported; │ ├─ gz-sim8 8.0.0 would require │ │ └─ libgz-sim8 8.0.0 h6566d4f_3, which cannot be installed (as previously explained); │ ├─ gz-sim8 8.0.0 would require │ │ ├─ gz-sim8-python >=8.0.0,<8.0.1.0a0 with the potential options │ │ │ ├─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0], which can be installed (as previously explained); │ │ │ ├─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0], which can be installed (as previously explained); │ │ │ ├─ gz-sim8-python 8.0.0, which cannot be installed (as previously explained); │ │ │ ├─ gz-sim8-python 8.0.0, which can be installed (as previously explained); │ │ │ ├─ gz-sim8-python 8.0.0, which can be installed (as previously explained); │ │ │ ├─ gz-sim8-python 8.0.0, which can be installed (as previously explained); │ │ │ ├─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0], which can be installed (as previously explained); │ │ │ └─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0], which can be installed (as previously explained); │ │ └─ libgz-sim8 8.0.0 haa24753_4, which conflicts with any installable versions previously reported; │ ├─ gz-sim8 8.0.0 would require │ │ ├─ gz-sim8-python >=8.0.0,<8.0.1.0a0 with the potential options │ │ │ ├─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0], which can be installed (as previously explained); │ │ │ ├─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0], which can be installed (as previously explained); │ │ │ ├─ gz-sim8-python 8.0.0, which cannot be installed (as previously explained); │ │ │ ├─ gz-sim8-python 8.0.0, which can be installed (as previously explained); │ │ │ ├─ gz-sim8-python 8.0.0, which can be installed (as previously explained); │ │ │ ├─ gz-sim8-python 8.0.0, which can be installed (as previously explained); │ │ │ ├─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0], which can be installed (as previously explained); │ │ │ └─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0], which can be installed (as previously explained); │ │ └─ libgz-sim8 8.0.0 ha430fe6_5, which conflicts with any installable versions previously reported; │ ├─ gz-sim8 8.1.0 would require │ │ ├─ gz-sim8-python >=8.1.0,<8.1.1.0a0 with the potential options │ │ │ ├─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0], which can be installed (as previously explained); │ │ │ ├─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0], which can be installed (as previously explained); │ │ │ ├─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0], which can be installed (as previously explained); │ │ │ ├─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0], which can be installed (as previously explained); │ │ │ ├─ gz-sim8-python 8.1.0 would require │ │ │ │ └─ libgz-sim8 8.1.0 h35ec043_0, which can be installed; │ │ │ ├─ gz-sim8-python 8.1.0 would require │ │ │ │ ├─ libgz-sim8 8.1.0 hce50c1e_1, which conflicts with any installable versions previously reported; │ │ │ │ └─ libprotobuf >=4.25.2,<4.25.3.0a0 , which can be installed; │ │ │ └─ gz-sim8-python 8.1.0 would require │ │ │ └─ libgz-sim8 8.1.0 h81317a9_2, which can be installed; │ │ └─ libgz-sim8 8.1.0 h5f21e3b_0, which conflicts with any installable versions previously reported; │ ├─ gz-sim8 8.1.0 would require │ │ ├─ gz-sim8-python >=8.1.0,<8.1.1.0a0 with the potential options │ │ │ ├─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0], which can be installed (as previously explained); │ │ │ ├─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0], which can be installed (as previously explained); │ │ │ ├─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0], which can be installed (as previously explained); │ │ │ ├─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0], which can be installed (as previously explained); │ │ │ ├─ gz-sim8-python 8.1.0, which can be installed (as previously explained); │ │ │ ├─ gz-sim8-python 8.1.0, which cannot be installed (as previously explained); │ │ │ └─ gz-sim8-python 8.1.0, which can be installed (as previously explained); │ │ └─ libgz-sim8 8.1.0 hce50c1e_1, which conflicts with any installable versions previously reported; │ ├─ gz-sim8 8.1.0 would require │ │ ├─ gz-sim8-python >=8.1.0,<8.1.1.0a0 with the potential options │ │ │ ├─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0], which can be installed (as previously explained); │ │ │ ├─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0], which can be installed (as previously explained); │ │ │ ├─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0], which can be installed (as previously explained); │ │ │ ├─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0], which can be installed (as previously explained); │ │ │ ├─ gz-sim8-python 8.1.0, which can be installed (as previously explained); │ │ │ ├─ gz-sim8-python 8.1.0, which cannot be installed (as previously explained); │ │ │ └─ gz-sim8-python 8.1.0, which can be installed (as previously explained); │ │ └─ libgz-sim8 8.1.0 h5fd5377_2, which conflicts with any installable versions previously reported; │ ├─ gz-sim8 8.2.0 would require │ │ ├─ gz-sim8-python >=8.2.0,<8.2.1.0a0 with the potential options │ │ │ ├─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0], which can be installed (as previously explained); │ │ │ ├─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0], which can be installed (as previously explained); │ │ │ ├─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0], which can be installed (as previously explained); │ │ │ ├─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0], which can be installed (as previously explained); │ │ │ └─ gz-sim8-python 8.2.0 would require │ │ │ └─ libgz-sim8 8.2.0 h81317a9_0, which can be installed; │ │ └─ libgz-sim8 8.2.0 h38a5098_0, which conflicts with any installable versions previously reported; │ └─ gz-sim8 8.3.0 would require │ ├─ gz-sim8-python >=8.3.0,<8.3.1.0a0 with the potential options │ │ ├─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0], which can be installed (as previously explained); │ │ ├─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0], which can be installed (as previously explained); │ │ ├─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0], which can be installed (as previously explained); │ │ ├─ gz-sim8-python [8.0.0|8.1.0|8.2.0|8.3.0], which can be installed (as previously explained); │ │ └─ gz-sim8-python 8.3.0 would require │ │ └─ libgz-sim8 8.3.0 h81317a9_0, which can be installed; │ └─ libgz-sim8 8.3.0 h5fd5377_0, which conflicts with any installable versions previously reported; ├─ libopencv >=4.10.0 is installable with the potential options │ ├─ libopencv 4.10.0 would require │ │ ├─ ffmpeg >=6.1.1,<7.0a0 with the potential options │ │ │ ├─ ffmpeg [6.1.1|7.0.1], which can be installed (as previously explained); │ │ │ ├─ ffmpeg 6.1.1, which cannot be installed (as previously explained); │ │ │ ├─ ffmpeg 6.1.1, which can be installed; │ │ │ └─ ffmpeg 6.1.1, which can be installed (as previously explained); │ │ └─ libprotobuf >=4.25.3,<4.25.4.0a0 , which conflicts with any installable versions previously reported; │ └─ libopencv 4.10.0 would require │ └─ ffmpeg >=7.0.1,<8.0a0 with the potential options │ ├─ ffmpeg [6.1.1|7.0.1], which can be installed (as previously explained); │ └─ ffmpeg 7.0.1 conflicts with any installable versions previously reported; ├─ pin-1 is not installable because it requires │ └─ python 3.12.* , which conflicts with any installable versions previously reported; └─ qt-main is not installable because there are no viable options ├─ qt-main 5.15.8 would require │ └─ libxcb >=1.15,<1.16.0a0 , which conflicts with any installable versions previously reported; ├─ qt-main [5.15.2|5.15.3|5.15.4|5.15.6|5.15.8] would require │ └─ libxcb >=1.13,<1.14.0a0 , which conflicts with any installable versions previously reported; └─ qt-main 5.15.8 would require ├─ gst-plugins-base >=1.24.5,<1.25.0a0 , which conflicts with any installable versions previously reported; └─ gstreamer >=1.24.5,<1.25.0a0 , which conflicts with any installable versions previously reported. Pins seem to be involved in the conflict. Currently pinned specs: - python 3.12.* (labeled as 'pin-1') ```

Instead, if I create an empty conda environment, and I install all conda dependencies in a single command as suggested in this comment, which is:

conda install -c conda-forge ace asio assimp boost eigen freetype glew glfw glm graphviz gsl ipopt irrlicht libjpeg-turbo libmatio libode libxml2 nlohmann_json qhull "pcl>=1.11.1" "libopencv>=4.10.0" opencv portaudio qt-main sdl sdl2 sqlite tinyxml tinyxml2 spdlog lua soxr qhull cmake compilers make ninja pkg-config tomlplusplus libzlib "ffmpeg==6.*" onnxruntime-cpp bash-completion freeglut libdc1394 libi2c libselinux-cos7-x86_64 xorg-libxau libxcb xorg-libxdamage xorg-libxext xorg-libxfixes xorg-libxxf86vm xorg-libxrandr mesa-libgl-cos7-x86_64 mesa-libgl-devel-cos7-x86_64 libxshmfence-cos7-x86_64 libxshmfence-devel-cos7-x86_64 python numpy swig pybind11 pyqt matplotlib h5py tornado u-msgpack-python pyzmq ipython gst-plugins-good gst-plugins-bad pyqtwebengine qtpy pyyaml "pcl>=1.11.1" vtk gz-sim8

it works fine ( I am just installing gz-sim8, not gazebo).

Therefore, does it make sense to document it in the installation guide? @traversaro

traversaro commented 2 months ago

Sure! Do you have any suggestion on the best way to do that?

16239014 commented 2 months ago

@LoreMoretti can you please help me to understand what you say earlier
it works fine ( I am just installinggz-sim8, notgazebo)

  1. If you don't install a gazebo, how can you simulate it?
  2. what if I don't install gz-sim8 then what happens to simulation (effect of gz-sim8)?
LoreMoretti commented 2 months ago

Sure! Do you have any suggestion on the best way to do that?

What about something like:

> [!IMPORTANT]
> If it happens that conda cannot resolve the environment when sequentially installing the needed packages as reported later, please consider to install all the conda packages in a unique command.

placed just below the other IMPORTANT statements in the Source Installation section?

In case you like it, I can open a PR.

LoreMoretti commented 2 months ago

Hi @16239014

maybe this link can clarify a bit.

Basically, you can think of gz-sim as the new Gazebo, because the old one (or classic one), which we have been referring to as gazebo along this issue, is going to be dismissed.

This means that you can choose which one (modern or classic) to use for your simulations. Therefore, my suggestion is just use one.

16239014 commented 2 months ago

[!IMPORTANT] If it happens that conda cannot resolve the environment when sequentially installing the needed packages as reported later, please consider to install all the conda packages in a unique command.

Hi @LoreMoretti

I know when put all dependencies in a single command to new environment they will install but when you try to install it in pre-existed environment like the example you followed (robotology-superbuild) it will give an error.

so you suggest just installing either gazebo or gz-sim8 because both are the same?

LoreMoretti commented 2 months ago

so you suggest just installing either gazebo or gz-sim8 because both are the same?

Yes, I suggest to install either gazebo or gz-sim8.

But, note that they are note the same. Think at one as the newer version of the other.

traversaro commented 2 months ago

Sure! Do you have any suggestion on the best way to do that?

What about something like:

> [!IMPORTANT]
> If it happens that conda cannot resolve the environment when sequentially installing the needed packages as reported later, please consider to install all the conda packages in a unique command.

placed just below the other IMPORTANT statements in the Source Installation section?

In case you like it, I can open a PR.

Perfect, feel free to open the PR.