URenko / Accesser

🌏一个解决SNI RST导致维基百科、Pixiv等站点无法访问的工具 | A tool for solving SNI RST
GNU General Public License v3.0
872 stars 77 forks source link

AttributeError: module 'cryptography.hazmat.primitives.serialization' has no attribute 'pkcs12' #160

Closed Xihihhh closed 6 months ago

Xihihhh commented 6 months ago

新的自动构建程序报错

Traceback (most recent call last):
  File "accesser\__main__.py", line 7, in <module>
  File "accesser\__init__.py", line 227, in run
  File "asyncio\runners.py", line 194, in run
  File "asyncio\runners.py", line 118, in run
  File "asyncio\base_events.py", line 685, in run_until_complete
  File "accesser\__init__.py", line 215, in main
  File "accesser\utils\importca.py", line 104, in import_ca
  File "accesser\utils\importca.py", line 62, in import_windows_ca
AttributeError: module 'cryptography.hazmat.primitives.serialization' has no attribute 'pkcs12'
[14176] Failed to execute script '__main__' due to unhandled exception!
URenko commented 6 months ago

应该是最近 pyinstaller 的更新揭露了这一导入错误