lightning was reported malicious
OSV:MAL-2026-3201 - Malicious code in lightning (PyPI)
lightning
2.3.0.dev20240526
This version was deleted from PyPI around 2026-04-30. Installing fails with:
$ pip3 install lightning==2.3.0.dev20240526
ERROR: Could not find a version that satisfies the requirement lightning==2.3.0.dev20240526
Install through StableBuild
You can install this package from StableBuild's PyPI snapshots from before the version was deleted:
pip3 install \
-i https://YOUR_API_KEY.pypimirror.stablebuild.com/2026-04-29/ \
lightning==2.3.0.dev20240526
Sign up for StableBuild to get an API key (it's free and takes <60 seconds!)
Or, download files manually
And install manually via pip: