ami-iit / training-conda-robotics

A repo containing training material related to the use of Conda in robotics context.
MIT License
9 stars 1 forks source link

Update create-icub-gazebo-env.md #5

Open kouroshD opened 2 years ago

kouroshD commented 2 years ago

When I run following line I have the following result:

kourosh@kourosh:~/mambaforge/condabin$ mamba activate robenv
Run 'mamba init' to be able to run mamba activate/deactivate
and start a new shell session. Or use conda to activate/deactivate.

    $ conda activate robenv

So, I thought to update the file documentation.

kouroshD commented 2 years ago

cc @traversaro

kouroshD commented 2 years ago

OK, I have checked, with mamba init it works later on the mamba activate command. What made me to open the PR was that when running mamba help it will say:

Currently, only install, create, list, search, run, info and clean are supported through mamba.

where activate and deactivate are not listed. So, I thought it was a typo in the documentation. Please feel free to merge or close this PR without changes!

traversaro commented 2 years ago

Thanks for mentioning the issue. I think that the problem is actually in the superbuild docs that do not mention the mamba init step, see https://github.com/robotology/robotology-superbuild/pull/1019 .

traversaro commented 2 years ago

OK, I have checked, with mamba init it works later on the mamba activate command. What made me to open the PR was that when running mamba help it will say:

Currently, only install, create, list, search, run, info and clean are supported through mamba.

where activate and deactivate are not listed. So, I thought it was a typo in the documentation. Please feel free to merge or close this PR without changes!

That seems a mamba problem, reported in https://github.com/mamba-org/mamba/pull/1476 .