This repository was archived by the owner on Mar 23, 2020. It is now read-only.
setup.py: use pycryptodome instad of pycrypto #70
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Should fix
Traceback (most recent call last):
File "/opt/code/telegram.py", line 16, in
from piston import Steem
File "/usr/local/lib/python3.6/site-packages/piston/init.py", line 1, in
from .steem import Steem
File "/usr/local/lib/python3.6/site-packages/piston/steem.py", line 9, in
from pistonbase import memo
File "/usr/local/lib/python3.6/site-packages/pistonbase/memo.py", line 4, in
from Crypto.Cipher import AES
File "/usr/local/lib/python3.6/site-packages/Crypto/Cipher/init.py", line 3, in
from Crypto.Cipher._mode_ecb import _create_ecb_cipher
File "/usr/local/lib/python3.6/site-packages/Crypto/Cipher/_mode_ecb.py", line 29, in
from Crypto.Util._raw_api import (load_pycryptodome_raw_lib,
File "/usr/local/lib/python3.6/site-packages/Crypto/Util/_raw_api.py", line 32, in
from Crypto.Util.py3compat import byte_string
ImportError: cannot import name 'byte_string'