Skip to content

Python Documentation / Conda Versions.  #3273

Closed
@gattia

Description

@gattia

I went to conda install opensim 4.4 (which is amazing!) and noticed 2 things that I have some feedback/questions about.

  1. The description here mentioned recommending installing in the base environment

Conda has a base environment but allows creation of environments with different python versions, it is less likely to have problems if you install the opensim package in the base environment so you have access to it in other created environments

In my experience this is actually the opposite of what most people would want to do and what is generally recommended. My understanding/experience is that having many packages installed in base conda can actually slow down conda itself quite considerably - particularly when its trying to solve to install new packages. Mamba helps speed this up - but I think the problem still exists. I've actually wiped my entire conda folder and re-started for exactly this reason. So, it is normally strongly suggested that all new programs/pacakges/projects create a conda environment specific for that project and work from that. I think that conda still cache's all downloaded versions (e.g., python 3.9, opensim 4.4) for use in other environments (even if you install it in a virtual environment and not base).

  1. I notice Mac python 3.8 version of Opensim is missing in the list of available versions. This isn't a big deal, but it sort of failed silently for me, which was a bit strange and might catch some people up. E.g., I conda installed opensim in a 3.8 environment, which seemed to go through successfully and then when I tried to import opensim it just gave a package not found error. Looking back it looked like it downloaded a python 3.9 version, but just didn't even try to use it for whatever reason. I then created a python 3.9 environment, conda installed and everything has been working as expected. Not a big issue, but worth noting.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions