Anup Parikh <anupp...@gmail.com> added the comment:
A typical python installation includes libpython libraries that C extensions can link to. Creating virtual environments with venv normally creates a replica of a python installation directory, including all the built in python modules. However, it doesn't seem to copy over the libpython libraries, so C extensions built with a venv activated can't seem to find the libpython (.so, .a, .dll) file to link against. For example, compare the installation directory of python with the venv directory. The libpython .so/.a/.dll files are missing in the venv ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue43334> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com