Installing from PyPI#

Braincode can be installed via pip from PyPI.


We recommend the most updated version of pip to install from PyPI.

Below are the installation commands for the most common use cases.

pip install braindecode

Braindecode can also be installed along MOABB to download open datasets:

pip install moabb

To use the potential of the deep learning modules PyTorch with GPU, we recommend the following sequence before installing the braindecode:

  1. Install the latest NVIDIA driver.

  2. Check PyTorch Official Guide, for the recommended CUDA versions. For the Pip package, the user must download the CUDA manually, install it on the system, and ensure CUDA_PATH is appropriately set and working!

  3. Continue to follow the guide and install PyTorch.

See Troubleshooting section if you have a problem.