Skip to content

Improve installation speed in Google Colab notebooks using uv pip compared to conda #375

@janpeter19

Description

@janpeter19

Today the recommended installation of PyFMI is using conda-forge in a conda virtual environment.

When you use Google Colab notebooks it takes comparatively long time to first install miniconda and then PyFMI using conda-.forge channel, compared installing FMPy using uv pip.

Here is perhaps other ways to improve startup than switching from conda to uv pip that could be an alternative. I am interested to hear that too.

You can see for yourself at my GitHub page https://github.com/janpeter19. Each example has its own repository. And all examples can be run with either PyFMI or FMPy. Note the difference in time it takes to startup using PyFMI compared to FMPy.

For educational purpose it is useful to use Google Colab in this way. No installation on site. And students can run from the own computer at home as well using any Web-browser.

Metadata

Metadata

Labels

enhancementPR is adding an enhancement.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions