Install GitHub dependency that uses requirements.txt #7199
Replies: 2 comments 2 replies
-
Poetry will use the metadata reported by the package's build-system, in this case setuptools. It appears that whisper is attempting to expose their requirements.txt in their metadata (https://github.com/openai/whisper/blob/main/setup.py#L17-L22); building wheels and investigating what metadata is captured in the |
Beta Was this translation helpful? Give feedback.
-
For anyone else reading this tread, ultimately I decided to manage my python dependencies with pip, pyenv, pyenv-virtualenv, and a The reason I decided against Poetry was I was having a lot of trouble getting different wheels of the PyTorch library installed in my different environments. These environments included:
Using pip made it easy to install the correct PyTorch wheel for each environment. |
Beta Was this translation helpful? Give feedback.
-
I'd like to install whisper using poetry. I tried doing this by adding the following line to my
pyproject.toml
file:And then I ran
poetry update whisper
.While this does work to install whisper, it doesn't install any of whisper's dependencies listed in its
requirements.txt
. I could manually download all of these dependencies, but this is really something I would expect my package manager to do. Is it possible to use poetry to automatically download whisper and its dependencies?Or, would I need to switch to another python package dependency manager (such as pipenv) in order to easily install this package?
Beta Was this translation helpful? Give feedback.
All reactions