-
Notifications
You must be signed in to change notification settings - Fork 901
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ImportError when installing a package with a dependency on another package even though the required package is installed #2991
Comments
The fact that |
I believe you need to run with pip also fails to install this package with
Try |
(Added a note here: #2252) |
Thank you very much Charlie! That was it! |
No prob :) |
Issue
Hello,
I'm trying out
uv
and I'm encountering a weird error with it.The package
pytorch-fast-transformers
requirestorch
to be installed. Despite it being installed in the venv and appearing when doinguv pip show torch
, attempting to installpytorch-fast-transformers
will result in anImportError
.Example:
Will output the following:
Note
Output with
-v
flag belowDisclose here
With the following, however, we can see that
torch
is correctly installed and available:Running
import torch
from an interactivepython
session also works.Details
System: MacOS
Python Version: Python 3.10.12
UV Version: uv 0.1.31
The text was updated successfully, but these errors were encountered: