question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Python 2.7 support; RHEL support

See original GitHub issue

What operating system are you using for this?

The default amazon ami uses python 2.7 and the following line fails

return 2000 + (int.from_bytes(hashlib.sha256(i.encode()).digest()[-2:], byteorder=sys.byteorder) // 2)

as python 2.7 does not have int.from_bytes() attribute.

Issue Analytics

  • State:open
  • Created 7 years ago
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
jonleightoncommented, Sep 15, 2016

I got tripped up by this because it looks like the currently released version (0.2.1) doesn’t have the fix for Python 2.7. I figured out that I could install directly from git like this:

pip install git+https://github.com/kislyuk/keymaker.git
0reactions
kislyukcommented, Sep 25, 2016

I have released v0.3.3 from master.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Python 2.x End Of Life and python version upgrade.
Issue. In our environment we are using python version 2.7.5 and as you know that support for Python 2.7.x has officially stopped, and...
Read more >
Install Python 3 / Python 2.7 on CentOS 8|RHEL 8
This guide will show you how to Install Python 3 or Python 2.7 on CentOS 8 / RHEL 8 Linux. RHEL / CentOS...
Read more >
Installing Python 2.7 on older RHEL-based package installations
Steps for installing Python 2.7 on older distributions such as CentOS 6.5. ... Have a question or want live help from a DataStax...
Read more >
Python2 support : r/redhat - Reddit
Python 2 will be sunset in 2024. (https://access.redhat.com/solutions/4455511). It will not be supported after that. (The RPM will probably ...
Read more >
RHEL 8 install Python 3 or Python 2 using yum - nixCraft
How to Install Python 3 / Python 2.7 on RHEL 8 · Open the Terminal application or window. · Search for python package...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found