Closed drj42 closed 5 years ago
Thank you for bringing this to our attention. We are looking into it.
For the moment the workaround is to run:
pip install requests
This workaround doesn't work for me. I'm using smartystreets with the serverless framework and https://www.npmjs.com/package/serverless-python-requirements and I only get one requirements file.
3.2.0 works though
This should be fixed now. We've moved the __version__
variable to its own package that doesn't have any external dependencies (https://github.com/smartystreets/smartystreets-python-sdk/commit/7d4ba8cf250fb142da6253213c8f3769d9928642)
Please download and install version 4.0.1
.
This appears to be related to the library importing itself during setup, to read the version string in
__init__.py
. Strangely, it works for me on python 2 (but obviously that isn't a sufficient work around).If
requests
is already installed in the environment,pip install
works. Ifrequests
is absent, it fails: