Pyjnius.jar not found for ImageJ with Python

Hi All,

I have been trying to integrate ImageJ into Python but I keep getting the following error.

Unable to import scyjava: pyjnius JAR not found.

ImportError: Unable to import scyjava dependency jnius.

This happens when initialize ImageJ in python using
ij= imagej.init()

I used conda to install pyimagej into a new environment. I followed all of the steps in when setting up.

I saw some other posts saying the cause of this error is that the path for PYJNIUS_JAR is incorrect, but conda already set both PYJNIUS_JAR and JAVA_HOME paths correctly.

I am on Windows.