Closed shivanetha closed 5 years ago
How did you install anyconfig?
AFAIK, pkg_resources is in setuptools and it should be installed along with anyconfig if pip was used. If not, please try to install required modules listed in https://github.com/ssato/python-anyconfig/blob/master/pkg/requirements_full.txt.
Excuse me that I forgot to specify the dependency to setuptools in setup.cfg and that is resolved with the commit 740d90b.
Until the fixed version is released, please install setuptools explicitly also along with anyconfig. Sorry for the inconvenience.
I've just released the latest 0.9.8 version contains the fixes for this issue and let it closed. Please let me know if you have any further related issues on this.
Thanks again for your report!
i'm trying to use anyconfig library in AWS Lambda, i'm getting the following error
Unable to import module 'service': No module named pkg_resources
any idea how to fix this