Hello,
Forgive me if I'm making mistakes, have not programmed in python for a couple of years now. I suspect the library is not compiled against the processor I'm using, but perhaps I'm wrong. When trying to use pyminizip and running the script I'm making I get the following error:
Traceback (most recent call last):
File "/myproject/main.py", line 2, in <module>
import pyminizip
ImportError: dlopen(/myproject/myproject.env/lib/python3.9/site-packages/pyminizip.cpython-39-darwin.so, 0x0002): tried: '/myproject/myproject.env/lib/python3.9/site-packages/pyminizip.cpython-39-darwin.so' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e')), '/usr/local/lib/pyminizip.cpython-39-darwin.so' (no such file), '/usr/lib/pyminizip.cpython-39-darwin.so' (no such file)
The package is installed with pip:
pip list
Package Version
---------- -------
pathlib 1.0.1
pip 22.0.3
pyminizip 0.2.6
setuptools 60.5.0
System using:
M1 Pro
Darwin Kernel Version 21.2.0: Sun Nov 28 20:28:41 PST 2021; root:xnu-8019.61.5~1/RELEASE_ARM64_T6000 arm64
Hello, Forgive me if I'm making mistakes, have not programmed in python for a couple of years now. I suspect the library is not compiled against the processor I'm using, but perhaps I'm wrong. When trying to use pyminizip and running the script I'm making I get the following error:
The package is installed with pip:
System using: M1 Pro
code: