[Python] pip install using a separate build machine

Discussão em 'Python' iniciado por Stack, Julho 5, 2025.

  1. Stack

    Stack Membro Participativo

    I have two same-architecture Linux boxes running identical versions of pypy, installed via pyenv. Consider one a "production" machine and one a "build" machine, such that the production machine cannot easily collect and configure all required build dependencies for modern source packages. I need to install a package on the production machine for which PyPI provides a source distribution but no pre-built wheel.

    python -m pip install example-package


    works fine on the build machine, but some of the build dependencies are impractical to get/configure/make/install on the production machine. Is there a convenient method to migrate the python packages pip built from PyPI onto another computer?

    Continue reading...

Compartilhe esta Página