Skip to content

Commit

Permalink
Expand on the Python installation instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
Shnatsel committed Feb 4, 2024
1 parent 7f4d446 commit d2f71f0
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d2f71f0

Please sign in to comment.