πŸ›  Installation#

  • To begin with, install a Python version >=3.8,<3.12.

  • A working Fortran Compiler (gfortran) is also required. If you do not have gcc installed, the following commands depending on your operating system will take care of this requirement. Please note that installing gcc sometimes might take couple minutes ⏳ πŸ€¦β€β™‚οΈ. You can also check the standalone gfortran 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 install poetry 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 the poetry environment using your preferred python version (i.e. 3.9.13) which is already installed on your system preferably via pyenv, simply run πŸƒβ€β™€οΈ :

    poetry env use 3.9.13