steemit / steem-python

The official Python (3) library for the Steem Blockchain.
https://steem.io
MIT License
154 stars 100 forks source link

can't run steempy #272

Closed xiewenlong1202 closed 5 years ago

xiewenlong1202 commented 5 years ago

Version of Python you are running

python 3.7.0

Version of steem-python you are running

1.0.1

Expected Behavior

run normal

Actual Behavior

can't run any command

Steps to reproduce

run any command of the steempy

Stack Trace

Traceback (most recent call last): File "/Users/xie/Src/venv/bin/steempy", line 7, in from steem.cli import legacyentry File "/Users/xie/Src/venv/lib/python3.7/site-packages/steem/init.py", line 2, in from .steem import Steem File "/Users/xie/Src/venv/lib/python3.7/site-packages/steem/steem.py", line 1, in from .commit import Commit File "/Users/xie/Src/venv/lib/python3.7/site-packages/steem/commit.py", line 10, in from steembase import memo File "/Users/xie/Src/venv/lib/python3.7/site-packages/steembase/memo.py", line 8, in from Crypto.Cipher import AES File "/Users/xie/Src/venv/lib/python3.7/site-packages/Crypto/Cipher/init.py", line 28, in from Crypto.Cipher._mode_cbc import _create_cbc_cipher File "/Users/xie/Src/venv/lib/python3.7/site-packages/Crypto/Cipher/_mode_cbc.py", line 37, in from Crypto.Util.py3compat import _copy_bytes ImportError: cannot import name '_copy_bytes' from 'Crypto.Util.py3compat' (/Users/xie/Src/venv/lib/python3.7/site-packages/Crypto/Util/py3compat.py)

cause

the Crypto has updated and some call still use the old one

xiewenlong1202 commented 5 years ago

after I uninstall and reinstall the pycryptodome package, it can work now

I thinks the reason is the install order of the crypto relevant package