Traceback (most recent call last):
File "/var/runtime/python3/bootstrap.py", line 133, in init_handler
func_handler = get_func_handler(file.rsplit(".", 1)[0], func)
File "/var/runtime/python3/bootstrap.py", line 159, in get_func_handler
mod = imp.load_module(mname, *imp.find_module(mname))
File "/var/lang/python3/lib/python3.6/imp.py", line 234, in load_module
return load_source(name, filename, file)
File "/var/lang/python3/lib/python3.6/imp.py", line 172, in load_source
module = _load(spec)
File "<frozen importlib._bootstrap>", line 675, in _load
File "<frozen importlib._bootstrap>", line 655, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 678, in exec_module
File "<frozen importlib._bootstrap>", line 205, in _call_with_frames_removed
File "/var/user/index.py", line 6, in <module>
import login
File "/opt/login.py", line 6, in <module>
from utils import *
File "/opt/utils.py", line 6, in <module>
from encrypt import *
File "/opt/encrypt.py", line 5, in <module>
from Crypto.Cipher import AES
File "/opt/Crypto/Cipher/__init__.py", line 27, in <module>
from Crypto.Cipher._mode_ecb import _create_ecb_cipher
File "/opt/Crypto/Cipher/_mode_ecb.py", line 47, in <module>
"""
File "/opt/Crypto/Util/_raw_api.py", line 308, in load_pycryptodome_raw_lib
raise OSError("Cannot load native module '%s': %s" % (name, ", ".join(attempts)))
OSError: Cannot load native module 'Crypto.Cipher._raw_ecb': Trying '_raw_ecb.cpython-36m-x86_64-linux-gnu.so': cannot load library '/opt/Crypto/Util/../Cipher/_raw_ecb.cpython-36m-x86_64-linux-gnu.so': /opt/Crypto/Util/../Cipher/_raw_ecb.cpython-36m-x86_64-linux-gnu.so: cannot open shared object file: No such file or directory. Additionally, ctypes.util.find_library() did not manage to locate a library called '/opt/Crypto/Util/../Cipher/_raw_ecb.cpython-36m-x86_64-linux-gnu.so', Trying '_raw_ecb.abi3.so': cannot load library '/opt/Crypto/Util/../Cipher/_raw_ecb.abi3.so': /opt/Crypto/Util/../Cipher/_raw_ecb.abi3.so: cannot open shared object file: No such file or directory. Additionally, ctypes.util.find_library() did not manage to locate a library called '/opt/Crypto/Util/../Cipher/_raw_ecb.abi3.so', Trying '_raw_ecb.so': cannot load library '/opt/Crypto/Util/../Cipher/_raw_ecb.so': /opt/Crypto/Util/../Cipher/_raw_ecb.so: cannot open shared object file: No such file or directory. Additionally, ctypes.util.find_library() did not manage to locate a library called '/opt/Crypto/Util/../Cipher/_raw_ecb.so'
相似问题