[pypy-issue] Issue #2647: Unable to install headers in virtualenv (pypy/pypy)

Zhihao Yuan issues-reply at bitbucket.org
Wed Sep 6 22:58:36 EDT 2017

New issue 2647: Unable to install headers in virtualenv

Zhihao Yuan:

The include directory should be virtualized in virtualenv -- such that `venv/include` is a real directory, `venv/include/pypy` links to `/usr/lib/pypy/include` so that a package can install C headers into `venv/include/site`.  But right now virtualenv links `venv/include` to `/usr/lib/pypy/include`, causes the header installations fail.

Steps to reproduce:

  virtualenv -p pypy venv
  . venv/bin/activate  # bash assumed
  pip install bsddb3==6.2.3  # 6.2.4 has another bug under fixing

At the last step, permission denied, although the package installs.

More information about the pypy-issue mailing list