Skip to content

Commit

Permalink
note about pep517
Browse files Browse the repository at this point in the history
  • Loading branch information
david-cortes committed Feb 8, 2021
1 parent 92f0fef commit a6d4e2f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,10 @@ pip install hpfrec
```
(Alternatively, can also pass argument `enable-omp` to the setup.py file: `python setup.py install enable-omp`)

**Note2:** the setup script uses a PEP517 environment, which means it will create an isolated virtual environment, install its build dependencies there, compile, and then copy to the actual environment. This can causes issues - for example, if one has NumPy<1.20 and the build environment installs NumPy>=1.20, there will be a binary incompatibility which will make the package fail to import. To avoid PEP517, install with:
```
pip install --no-use-pep517 hpfrec

This comment has been minimized.

Copy link
@astrojuanlu

This comment has been minimized.

Copy link
@david-cortes

david-cortes Apr 15, 2021

Author Owner

Thanks, that solves it indeed, will push an update.

```

## Sample usage

Expand Down

0 comments on commit a6d4e2f

Please sign in to comment.