From d2f71f0d76a17f929b5a9d617ff250a735d32904 Mon Sep 17 00:00:00 2001 From: "Sergey \"Shnatsel\" Davidoff" Date: Sun, 4 Feb 2024 19:12:09 +0000 Subject: [PATCH] Expand on the Python installation instructions --- README.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 60f9c67..a578abb 100644 --- a/README.md +++ b/README.md @@ -70,9 +70,17 @@ fn main() { ### Python +Follow the instructions at https://rustup.rs/ to install Rust, then switch to the nightly channel with + +```bash +rustup default nightly +``` + +Then you can install PhastFT itself: + ```bash pip install numpy -pip install git+https://github.com/QuState/PhastFT#subdirectory=pybindings +RUSTFLAGS='-Ctarget-cpu=native' pip install git+https://github.com/QuState/PhastFT#subdirectory=pybindings ``` ```python