pyjnius icon indicating copy to clipboard operation
pyjnius copied to clipboard

Incompatibility of zip.dll between pyjnius and libzip on Windows conda

Open floriandeboissieu opened this issue 2 years ago • 0 comments

When both installed, e.g. conda create -n pyjnius pyjnius libzip, it leads to a ClobberError on "zip.dll" between openjdk and libzip, which then leads to an error at JVM initialization:

$ python -c "import jnius"
C:\Users\Toto\miniconda3\envs\pyjnius\Library
C:\Users\Toto\miniconda3\envs\pyjnius\Library
Error occurred during initialization of VM
Corrupted ZIP library: C:\Users\Toto\miniconda3\envs\ptdvenv4\Library\bin\zip.dll

An issue has been opened also on openjdk-feedstock: https://github.com/conda-forge/openjdk-feedstock/issues/86

floriandeboissieu avatar Nov 15 '21 10:11 floriandeboissieu