native-api
native-api
https://github.com/pyenv/pyenv/blob/master/plugins/python-build/README.md#package-download-cache
For starters, I suggest you to reduce the number of parallel Make tasks with [`export PYTHON_MAKE_FLAGS="-j"`](https://github.com/pyenv/pyenv/blob/master/plugins/python-build/README.md#special-environment-variables). Raspberry Pi Zero 2W has 4 cores but ony 512 MB of memory --...
We've patched the build and added `python-config` to envs in https://github.com/pyenv/pyenv-virtualenv/issues/459 . But in all appearance, `python-config` does not seem to be designed to run inside a virtual environment. It...
> The issue is just that there is nothing in these directories. And there shouldn't be. In a virtual environment, `python-config` should print include directories from the base installation.
https://github.com/python/cpython/blob/025a2135eff848abf24f9dc52c81386eea9da397/Lib/venv/__init__.py#L178-L188 : ```python # PEP 405 says venvs should create a local include directory. # See https://peps.python.org/pep-0405/#include-files # XXX: This directory is not exposed in sysconfig or anywhere else, and...
Sudo runs commands as root. So yes, the default installation path, `~/.pyenv`, would resolve to `/root/.pyenv`. You can overide that by manually setting the `PYENV_ROOT` envvar -- but the created...
AFAIK, if you are root, you can run a command as any other user with `runuser -u -- `