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
{{ message }}
Repository navigation
Package pkg_resources not found when running quantmsutilsc #685
Thanks for the packages and workflows, very useful!
But I encountered this error when debugging a SDRF locally. quantmsutilsc was installed from pypi.
Running command and error:
>>> quantmsutilsc checksamplesheet --exp_design "samplesheet.sdrf.tsv" --is_sdrf --skip_factor_validation
Determination of memory status is not supported on this
platform, measuring for memoryleaks will never fail
Traceback (most recent call last):
File "/Users/apca/anaconda3/envs/quantmsutils/bin/quantmsutilsc", line 3, in<module>
from quantmsutils.quantmsutilsc import main
File "/Users/apca/anaconda3/envs/quantmsutils/lib/python3.14/site-packages/quantmsutils/quantmsutilsc.py", line 4, in<module>
from quantmsutils.diann.dianncfg import dianncfg
File "/Users/apca/anaconda3/envs/quantmsutils/lib/python3.14/site-packages/quantmsutils/diann/dianncfg.py", line 12, in<module>
from sdrf_pipelines.openms.unimod import UnimodDatabase
File "/Users/apca/anaconda3/envs/quantmsutils/lib/python3.14/site-packages/sdrf_pipelines/openms/unimod.py", line 4, in<module>
import pkg_resources
ModuleNotFoundError: No module named 'pkg_resources'>
/usr/local/lib/python3.13/site-packages/sdrf_pipelines/openms/unimod.py:4: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81.
Thanks for reposrting the issue; can you let me know how are you using independently the package; we are moving some of the functionalities to sdrf-pipelines and will love to know how are users using this package
We were building an SDRF file to be run with quantms and thought it is faster to have a local installation to iterate on the error messages of the first two steps in quantms.
Ok, go it perfect; I think this issue comes from SDRF old version needed the setuputils and these have been removed in the recent version of conda; in the next release I already remove that dependency.
Activity
apalleja commentedon Mar 12, 2026
I see this as a warning:
ypriverol commentedon Mar 12, 2026
Thanks for reposrting the issue; can you let me know how are you using independently the package; we are moving some of the functionalities to sdrf-pipelines and will love to know how are users using this package
enryH commentedon Mar 12, 2026
We were building an SDRF file to be run with quantms and thought it is faster to have a local installation to iterate on the error messages of the first two steps in quantms.
ypriverol commentedon Mar 12, 2026
Ok, go it perfect; I think this issue comes from SDRF old version needed the setuputils and these have been removed in the recent version of conda; in the next release I already remove that dependency.
jpfeuffer commentedon Mar 12, 2026
No, @ypriverol please do not spread this misconception!
This comes from https://github.com/bigbio/sdrf-pipelines/blob/0636ac86e063b42544668c9b2cfb401c1f609a7d/sdrf_pipelines/openms/unimod.py#L4
which was removed long ago. Setuptools is totally fine to use!