Dear Developers,
I have encountered a trouble with the new conda package. Upon installing
it through conda, I am getting information that AmberTools is missing
>> import pkg_resources
>>> pkg_resources.get_distribution('ambertools')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File
"~/miniconda3/envs/new/lib/python3.8/site-packages/pkg_resources/__init__.py",
line 480, in get_distribution
dist = get_provider(dist)
File
"~/miniconda3/envs/new/lib/python3.8/site-packages/pkg_resources/__init__.py",
line 356, in get_provider
return working_set.find(moduleOrReq) or require(str(moduleOrReq))[0]
File
"~/miniconda3/envs/new/lib/python3.8/site-packages/pkg_resources/__init__.py",
line 899, in require
needed = self.resolve(parse_requirements(requirements))
File
"~/miniconda3/envs/new/lib/python3.8/site-packages/pkg_resources/__init__.py",
line 785, in resolve
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'ambertools' distribution was
not found and is required by the application
While with the previous version I got expected behavior:
>>> import pkg_resources
>>> pkg_resources.get_distribution('ambertools')
AmberTools 20.15 (~/miniconda3/envs/test_old/lib/python3.8/site-packages)
In both cases, conda list reports presence of the respective AmberTools
packages. However, I see that with the new version there is a new file
(AmberUtils-21.0-py3.8.egg-info) in site-packages but nothing for
AmberTools21.
Is this intentional? Should the packages depending on AmberTools now
adopt different import/requirements specifications?
Thank you.
With best wishes,
--
______________________________________________________
Jan Brezovsky, Ph.D.
Prof. UAM & IIMCB, Head of Laboratory of Biomolecular
Interactions and Transport
______________________________________________________
Institute of Molecular Biology and Biotechnology
Faculty of Biology
Adam Mickiewicz University
Uniwersytetu Poznanskiego 6, 61-614 Poznan, Poland
and
International Institute of Molecular and Cell Biology
Trojdena 4, 02-109 Warsaw, Poland
phone: +48 61 829 5839
e-mails: janbre.amu.edu.pl, jbrezovsky.iimcb.gov.pl
http://labbit.eu
______________________________________________________
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Wed May 05 2021 - 01:00:02 PDT