miurahr / py7zr

7zip in python3 with ZStandard, PPMd, LZMA2, LZMA1, Delta, BCJ, BZip2, and Deflate compressions, and AES encryption.

Home Page:https://pypi.org/project/py7zr/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

import py7zr when script is called from VBA (Excel)

henne23 opened this issue · comments

Hello,

when I run a Python script from VBA in Excel I get the following error during the import of the py7zr module.

"ERROR main DLL load failed while importing _hashlib: The specified module could not be found."

Has anyone seen this error before and knows how to fix this? It only appears on this module. Furthermore to my knowledge the hashlib module is preinstalled within Python, so I am even more confused.

Thanks in advance for feedback.

Python: 3.9.7
py7zr: 0.19.0
Excel 2019

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days