Prerequisites: Use Python 3.8.x or later (3.8.x, 3.9.x, 3.10.x). We also recommend you install in a virtual environment (learn how).
pip install lightning
# needed for M1/M2/M3 export GRPC_PYTHON_BUILD_SYSTEM_OPENSSL=1 export GRPC_PYTHON_BUILD_SYSTEM_ZLIB=1 pip install lightning
# install pip # install git # setup an alias for Python: python=python3 # Add the root folder of Lightning to the Environment Variables to PATH
If you encounter issues during installation join our community discord and share the output of the following command:
pip list | grep lightning