You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I run python -m build --wheel --no-isolation in the source directory, I get the following output:
==> Starting build()...
Building phase
* Getting build dependencies for wheel...
running egg_info
writing SAM_2.egg-info/PKG-INFO
writing dependency_links to SAM_2.egg-info/dependency_links.txt
writing requirements to SAM_2.egg-info/requires.txt
writing top-level names to SAM_2.egg-info/top_level.txt
reading manifest template 'MANIFEST.in'
adding license file 'LICENSE'
adding license file 'LICENSE_cctorch'
writing manifest file 'SAM_2.egg-info/SOURCES.txt'
ERROR Missing dependencies:
torch>=2.5.1
sympy==1.13.1
==> ERROR: A failure occurred in build().
Aborting...
This would indicate to me that I have a missing torch and sympy. However, both of these are installed on the system, and of the proper version.
sympy first:
[evert@Evert python-sam2-git]$ yay -Qi python-sympy
Name : python-sympy
Version : 1.13.3-2
Description : Symbolic manipulation package (Computer Algebra System), written in pure Python
Architecture : any
URL : https://sympy.org/en/index.html
Licenses : BSD
Groups : None
Provides : None
Depends On : python-mpmath
Optional Deps : ipython: user friendly interface for isympy
python-symengine: optimized backend, set USE_SYMENGINE=1 to use
Required By : python-pytorch-cuda python-torchvision-cuda
Optional For : python-fonttools python-networkx
Conflicts With : None
Replaces : None
Installed Size : 93.30 MiB
Packager : Jelle van der Waa <[email protected]>
Build Date : 2024-11-16T22:45:55 CAT
Install Date : 2024-12-22T18:02:34 CAT
Install Reason : Installed as a dependency for another package
Install Script : No
Validated By : Signature
It seems to be installed in /usr/lib/python3.13/site-packages:
Hi there!
Hopefully this is an easy one. ;)
When I run python -m build --wheel --no-isolation in the source directory, I get the following output:
This would indicate to me that I have a missing torch and sympy. However, both of these are installed on the system, and of the proper version.
sympy first:
It seems to be installed in /usr/lib/python3.13/site-packages:
torch next:
This package is also installed in /usr/lib/python3.13/site-packages:
What am I doing wrong here? Are there any switches that I can set so that sam2 finds the installed packages?
The text was updated successfully, but these errors were encountered: