Hey so I ran into this.
It can be solved by installing python 3.11
There is a dependency issue that isn't fully upgraded to support 3.12 yet
The best way to do it is through the use of virtual environments. Download and install python 3.11, and create a virtual environment in your project folder using the following:
Py 3.11 -m venv <.venv_name>
Activate the virtual environment
.\<.venv_name>\Scripts\activate<extension for your shell, either .bat or PS1>
Verify that the right python version is activated
Python --version
If 3.11 is active you can now use pip to install the package to the virtual environment
pip install junos-eznc
You also have to install any dependencies in this virtual environment as it is empty. For windows this is pip and ecdsa.
Hope this helps!
-Em