hologram-io / hologram-python

Hologram device-side Python SDK - Send messages to the cloud in just 3 lines of code!
https://hologram.io/
MIT License
88 stars 46 forks source link

python_sdk_auth #84

Open Howie9600 opened 3 years ago

Howie9600 commented 3 years ago

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.

DomAmato commented 3 years ago

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.

Howie9600 commented 3 years ago

verison 2.7

DomAmato commented 3 years ago

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.

Howie9600 commented 3 years ago

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

DomAmato commented 3 years ago

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