Installation¶
Python version¶
Pycasino is compatible with Python 3.10 and higher.
Dependencies¶
These packages will be installed automatically when installing Pycasino.
numba is an open source JIT compiler for subset of Python and NumPy functions.
numpy is fundamental package for scientific computing with Python.
scipy - is package for mathematics, science, and engineering.
mpi4py - Python bindings for the Message Passing Interface (MPI) standard.
Before installing mpi4py package, you need to install the system library:
$ sudo apt install libopenmpi-dev
Virtual environments¶
It is a good practice to separate the dependencies of different Python projects with the use of virtual environments which is easier to do with pipx.
Install Pycasino¶
The latest official release of Pycasino can be installed from the Python Package Index Casino:
$ pipx install casino
Developing¶
In order to have access to the source code and stay up-to-date with the latest developments, Pycasino can be installed directly from the GitHub repository.
To install Pycasino from the Git repository run:
$ git clone https://github.com/Konjkov/pycasino
$ cd pycasino
$ pip install -e .[dev]
Note that the -e option installs the repository in editable mode and the .[dev] specification includes the optional dependencies for development.
If Pip complains about setup.py not being found, please update pip to the latest version.