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

Add information to README regarding externally managed environments #469

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,22 @@ conda install -c conda-forge radian
```
In this case, it is recommended to install R via conda to ensure consistency in C runtime libraries.

### Note about externally managed environments

Many Unix-based distributions now comply with [PEP-668](https://peps.python.org/pep-0668), which prevents installing python packages outside a virtual environment. To install _radian_ without overriding this behavior, create a virtual environment in your `~/.local` directory with this command:

```sh
python3 -m venv ~/.local --system-site-packages
```

Now use the pip3 binary in your `~/.local` folder to install _radian_

```sh
~/.local/bin/pip3 install radian
```

Given that `~/.local/bin`, is on your path, you should then be able to execute _radian_ normally.

## Alias on unix system

You could alias `r` to _radian_ by putting
Expand Down