hologram-python icon indicating copy to clipboard operation
hologram-python copied to clipboard

python_sdk_auth

Open Howie9600 opened this issue 4 years ago • 5 comments
trafficstars

while trying to install the software

Could not find a version that satisfies the requirement python_sdk_auth~=0.3.0 (from versions: 0.1.2, 0.1.3, 0.1.5, 0.1.6, 0.1.7, 0.1.8, 0.2.0, 0.2.1, 0.2.2) No matching distribution found for python_sdk_auth~=0.3.0

Expected behavior

after running pip install hologram-python

i get the error above and am unable to get further.

Howie9600 avatar Jun 10 '21 15:06 Howie9600

you are likely trying to install the library on python2 which is not compatible. Can you run pip -V and check the output? We don't support python 2 anymore since its EOL was the beginning of last year.

DomAmato avatar Jun 10 '21 15:06 DomAmato

verison 2.7

Howie9600 avatar Jun 10 '21 16:06 Howie9600

if you want to use our SDK with python 2 you will need to pin the version to 0.8.3. The new version of the auth library is not compatible with the older SDK which is the error you experiencing above.

DomAmato avatar Jun 10 '21 16:06 DomAmato

what i need to do is run the device with a 3rd party sim and from what i can see the only way to do that is clone the got and modify the files then install which is where i am having the issues. unless there is another way

Howie9600 avatar Jun 10 '21 16:06 Howie9600

you can use python 3 instead. Its probably aliased to pip3 on your system or something like that. If you really want to use python 2 you can grab code from the previous releases: https://github.com/hologram-io/hologram-python/releases/tag/v0.8.3

DomAmato avatar Jun 10 '21 16:06 DomAmato