native-api

Results 407 comments of native-api

> ERROR: Could not find an activated virtualenv (required). This error message happens when `PIP_REQUIRE_VIRTUALENV` or `PIP_REQUIRE_VENV` envvars are set, or the corresponding switches are passed to Pip. But `pyenv-virtualenv`...

@yyuu , since it was you who added the warning, could you comment? My guess is that it's because Virtualenv themselves were going to do that. ...and IIRC already did...

> This still looks broken for me? Did it ever work? From what I see in the code, Pyenv-Installer didn't ever edit shell startup files automatically.

> > fixed by manually adding to `~/.bashrc` the lines: > Check [Pyenv's](https://github.com/pyenv/pyenv#readme) and [Pyenv-Virtualenv's](https://github.com/pyenv/pyenv-virtualenv#readme) README for the proper setup. With the code you gave, `pyenv activate` won't work. E.g....

@yyuu has approved it in https://github.com/pyenv/pyenv/issues/2337#issuecomment-1107797056. I trust his judgement here so no objections from me, either. Go ahead but do heed his warnings about possible side effects -- in...

If you're interested in something to be done, why not request privileges for the project [like I did](https://github.com/pyenv/pyenv/issues/1899)? Then you'll be able to do that without waiting for anyone.

Most probably, Virtualenv didn't support Fish when this code was written but now, it does. So feel free to submit a PR.

Either install with a Git checkout, or use https://github.com/pyenv/pyenv-installer/blob/master/bin/pyenv-offline-installer which allows you to install from a bundled tarball. For the record, Python-Build has always required `patch`, it just doesn't always...

That said, there is an outstanding PR: https://github.com/pyenv/pyenv-installer/pull/126 but it requires some work. If you're interested, you can implement those changes to help move it along. The best would be...

Virtualenv is already preferred if it's installed for the active Python version or if `-p` is specified: https://github.com/pyenv/pyenv-virtualenv/blob/6742d0ef108450ca607ca9db7007c4a84db06531/bin/pyenv-virtualenv#L158-L165