π InstallationΒΆ
To begin with, install a Python version >=3.9,<3.13.
A working Fortran Compiler (
gfortran) is also required. If you do not havegccinstalled, the following commands depending on your operating system will take care of this requirement. Please note that installinggccsometimes might take couple minutes β³ π€¦ββοΈ. You can also check the standalonegfortraninstallers here.# Mac Users brew install gcc # Linux Users sudo apt install build-essential gfortran
Now, to install the library from PyPI simply run πββοΈ :
pip install slickml
or if you are a uv user, simply run πββοΈ :
uv add slickml
The SlickML does come with CLI tool which behaves similarly to many other CLIs for basic features. In order to find out which version of SlickML you are running, simply run πββοΈ :
slickml --version | -v | version
If you ever need more information on exactly what a certain command will do, use the
--helpor-hcommand. For example, to see all available commands, simply run πββοΈ :slickml --help | -h
In order to avoid any potential conflicts with other installed Python packages, it is recommended to use a virtual environment, e.g. uv, python virtualenv, pyenv virtualenv, or conda environment.
We highly recommend managing your projects using
uv. All SlickML developments are done via uv. To begin with, first installuvfollowing the installation documentation depending on your operating system.Once
uvis installed, sync the project dependencies fromuv.lockπββοΈ :uv sync