You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
>>> import baidubce
Traceback (most recent call last):
File "<input>", line 1, in <module>
import baidubce
File "/cmdb/.venv/lib/python3.6/site-packages/baidubce/__init__.py", line 18, in <module>
from . import protocol
File "/cmdb/.venv/lib/python3.6/site-packages/baidubce/protocol.py", line 20, in <module>
from .utils import Expando
File "/cmdb/.venv/lib/python3.6/site-packages/baidubce/utils.py", line 32, in <module>
from Crypto.Cipher import AES
File "/cmdb/.venv/lib/python3.6/site-packages/Crypto/Cipher/__init__.py", line 27, in <module>
from Crypto.Cipher._mode_ecb import _create_ecb_cipher
File "/cmdb/.venv/lib/python3.6/site-packages/Crypto/Cipher/_mode_ecb.py", line 29, in <module>
from Crypto.Util._raw_api import (load_pycryptodome_raw_lib,
File "/cmdb/.venv/lib/python3.6/site-packages/Crypto/Util/_raw_api.py", line 33, in <module>
from Crypto.Util.py3compat import byte_string
ImportError: cannot import name 'byte_string'
>>>
The text was updated successfully, but these errors were encountered:
sinkcoder
changed the title
use pycryptodome instad of pycrypto
use pycryptodome instead of pycrypto
Dec 3, 2019
The text was updated successfully, but these errors were encountered: