I'm trying to install sparkpost sdk in the read me on git hub. I used the command:
pip install sparkpost
But I got this error:
Could not find a version that satisfies the requirement sparkpost (from versions: 1.0.0.dev1, 1.0.0.dev1)
The SparkPost Python SDK is currently in a pre-release version (that's what the .dev1
is at the end of the version).
Using pip > version 1.4.X you must explicitly define you want to use a pre-release package using the --pre
option of pip install [options] command.
Try with this and it should work:
pip install --pre sparkpost
You may need to run as sudo if you experience permission issues.
I have created a new issue in https://github.com/sparkpost/python-sparkpost repository and I'll add the workaround to the documentation.
Thanks for finding this.