Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue when executing the script #10

Open
thebest8815 opened this issue Sep 18, 2020 · 1 comment
Open

Issue when executing the script #10

thebest8815 opened this issue Sep 18, 2020 · 1 comment
Assignees

Comments

@thebest8815
Copy link

When I execute the code, it shows the following:

C:\Users\Mike\Documents\Fun\PKGenerator_Checker>python PkMaker.py
Traceback (most recent call last):
File "PkMaker.py", line 65, in
pk = os.urandom(32).encode("hex")
AttributeError: 'bytes' object has no attribute 'encode'

Any idea?

@Frankenmint Frankenmint self-assigned this Sep 20, 2020
@Frankenmint
Copy link
Owner

yeah this was happening because you were attempting to run this using python3. I've decided to dust off the ole script and update it to python 3 as well. Took more time than I expected, but it was fun. Hope you like it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants