Using conda
SyncroSim allows you to use conda environments to manage all of the software dependencies associated with a SyncroSim Package. You can also use conda environments with custom packages (see the Adding conda environments tutorial). Conda environments are useful for managing dependencies and ensuring that SyncroSim libraries run consistently across different systems.
Installing a SyncroSim package with conda support
If you attempt to install a SyncroSim package that supports conda, and SyncroSim detects that you have not yet installed conda or created the conda environments required by the package, you can follow these steps to install the package and activate conda support.
- From File, select Local Packages to open the packages window.
- Click Install from Server…, Install from Folder... or Install from File… in the bottom-left corner to install your SyncroSim package.
- Once you select the package you wish to install, SyncroSim should display the following pop-up window:

- If you select Install Package(s) and Miniconda, then Miniconda will be installed into a folder within your SyncroSim installation. If you select Install Package(s) only, the package will still be installed, but you will not be able to activate conda environments until you install Miniconda. Selecting Cancel will result in cancellation of the package installation altogether.
- If you selected Install Package(s) and Miniconda in the previous step, once the Miniconda Installer finishes, the following pop-up will be displayed in SyncroSim Studio:

- If you select Yes, then the conda environment(s) required to run the package will be created. Note that this will take a few minutes. If you select No, the package will still be installed, but you will not be able to activate conda until you create the necessary conda environments. Selecting Cancel will result in cancellation of the package installation altogether.
- Once you have installed Miniconda and created the conda environments for a package, SyncroSim will not ask you to go through these set-up steps again.
Adding conda support to an installed package
If the package is already installed, follow these steps to turn conda environments on in SyncroSim Studio:
- Navigate to File > Local Packages to open the packages window.
- Enable the Conda checkbox for the SyncroSim package.

- If you have not previously installed Miniconda or created the necessary conda environments for the given SyncroSim package (e.g. during installation of the SyncroSim package), then you will be prompted to do so now.
Using a custom conda installation
If you have a conda installation that you would like to use with SyncroSim (i.e. Miniconda or Anaconda) rather than installing conda through SyncroSim, you can use the following steps to point SyncroSim to your existing conda installation:
- When installing a SyncroSim package that uses conda environments, select No when prompted to install Miniconda. The package will still be installed and useable without conda environments.
- From File, select Settings to open the Settings window.
- Under Conda installation folder, change the text to the proper system location or select Browse… to browse through your system files for the conda installation folder.
- Once you have set the custom conda installation folder, when you enable Conda for a SyncroSim package from File > Local Packages, you will be prompted to create the necessary conda environments for the package.

- Select Yes to create the new environment(s) using your configured conda installation. If you select No or Cancel, then Conda will remain disabled.
Turning conda on and off for a library
Even if you have the conda environment set up for a package, you can still turn conda on or off for a library. This can be useful if you want to run a library in the base environment. To turn conda on or off for a library:
- Open the Library Datasheets by right-clicking on the library in the Explorer and selecting Open.
- Navigate to the System > Options > General tab.
- In the Model run section, select the Use conda checkbox to turn conda on, or deselect the checkbox to turn conda off.
