π InstallationΒΆ
To begin with, install a Python version >=3.8,<3.12.
A working Fortran Compiler (
gfortran
) is also required. If you do not havegcc
installed, the following commands depending on your operating system will take care of this requirement. Please note that installinggcc
sometimes might take couple minutes β³ π€¦ββοΈ. You can also check the standalonegfortran
installers 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 python poetry user, simply run πββοΈ :
poetry 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
--help
or-h
command. 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. python poetry, python virtualenv, pyenv virtualenv, or conda environment.
We highly recommend to manage your projects using
python-poetry
. All SlickML developments are done via python-poetry. To begin with, first installpoetry
following the installation documentation depending on your operating system.You can also easily manage your Python environments and easily switch between environments via
poetry
. To set thepoetry
environment using your preferredpython
version (i.e.3.9.18
) which is already installed on your system preferably viapyenv
, simply run πββοΈ :poetry env use 3.9.18