Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: Add conda-forge install instructions #84

Merged

Conversation

matthewfeickert
Copy link
Contributor

Resolves #83

  • Add install instructions from conda-forge for pixi and conda.
  • Add conda-forge badge.

@matthewfeickert
Copy link
Contributor Author

@arturbekasov this is ready for review.

* Add install instructions from conda-forge for pixi and conda.
* Add conda-forge badge.
@matthewfeickert matthewfeickert force-pushed the docs/add-conda-forge-install branch from f19e7f7 to 05da59d Compare December 20, 2024 21:07
To install from PyPI:
```
pip install nflows
python -m pip install nflows
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this preferable to the more common ‘pip install’?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This pattern is the only way to make sure that the pip you want is the pip you get, as even in a virtual environment it is possible to mess up paths and get a pip elsewhere which is not the pip tied to the python that created the environment. It is also the recommended pattern by the pip and Python docs. Example: https://docs.python.org/3/installing/index.html

@arturbekasov arturbekasov merged commit 5d22344 into bayesiains:master Dec 27, 2024
1 check passed
@matthewfeickert matthewfeickert deleted the docs/add-conda-forge-install branch December 28, 2024 05:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Interest in being added as conda-forge feedstock maintainer?
2 participants