SyntaxError: invalid hexadecimal literal

 

Traceback (most recent call last):
  File "<frozen importlib._bootstrap>", line 1078, in _handle_fromlist

    from Crypto.Cipher import AES
  File "/Users/cloud/opt/anaconda3/envs/801/lib/python3.10/site-packages/Crypto/Cipher/__init__.py", line 31, in <module>
    from Crypto.Cipher._mode_ctr import _create_ctr_cipher
  File "/Users/cloud/opt/anaconda3/envs/801/lib/python3.10/site-packages/Crypto/Cipher/_mode_ctr.py", line 37, in <module>
    from Crypto.Util.number import long_to_bytes
  File "/Users/cloud/opt/anaconda3/envs/801/lib/python3.10/site-packages/Crypto/Util/number.py", line 399
    s = pack('>I', n & 0xffffffffL) + s
                                ^
SyntaxError: invalid hexadecimal literal
python-BaseException

  

pip install -U pycryptodome

posted @ 2023-08-02 09:00  DaisyLinux  阅读(325)  评论(0编辑  收藏  举报