Closed xiangfeidexiaohuo closed 2 years ago
操作系统信息
ubuntu 20.04 LTS python v3.8
错误描述
up_file = ali.upload_file(filePath, folder.file_id, fileName) 27 File "/home/runner/.local/lib/python3.8/site-packages/aligo/core/Create.py", line 229, in upload_file 28 part_info = self._pre_hash(file_path=file_path, file_size=file_size, name=name, 29 File "/home/runner/.local/lib/python3.8/site-packages/aligo/core/Create.py", line 69, in _pre_hash 30 pre_hash = hashlib.sha1(f.read(1024), usedforsecurity=False).hexdigest() 31 TypeError: openssl_sha1() takes at most 1 argument (2 given) 32 Error: Process completed with exit code 1.
试过把aligo 降级到v4.6.5是没问题的,v4.6.6更新了, 不兼容python3.8
v 4.6.7 已解决
操作系统信息
ubuntu 20.04 LTS python v3.8
错误描述
试过把aligo 降级到v4.6.5是没问题的,v4.6.6更新了, 不兼容python3.8