[Python] Missing file when installing a github repo with pip

Discussão em 'Python' iniciado por Stack, Agosto 10, 2025.

  1. Stack

    Stack Membro Participativo

    I tried to install https://github.com/facebookresearch/perception_models by

    pip install git+https://github.com/facebookresearch/perception_models.git

    Expectation was that it would basically clone the repository as a package, but after running my code I found that one of the files (core/vision_encoder/bpe_simple_vocab_16e6.txt.gz) was missing. It worked after I manually copied it into the installed package, but this does not feel like the proper way.

    README.md suggests usings git clone - is this the only way? I prefer not to clutter my repository with external modules that won't be modified.

    Continue reading...

Compartilhe esta Página