How to let pip use compiled wheel rather than build from source again and again? #864
Unanswered
jianglongye
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
My
python
project relies on pytorch3d and I want to cache the compiled wheel for github action.In my
requirements.txt
, it issince pip doc says
The workflow (cache and pip parts) is
The workflow log (
pytorch3d
part) isIt looks like compiled wheel is stored in
/home/runner/.cache/pip/wheels/
, but I do not know why pip still compiles the wheel at next time.Note that all other dependencies are cached successfully, here is some log:
By the way, I have tried
--prefer-binary
option forpip
, this does not work either.Thanks in advance for help in any form!
Beta Was this translation helpful? Give feedback.
All reactions