Jump to content
Private Messaging is activated - check "How to" on how to disable it ×

Script no longer working in 2025


---
 Share

Recommended Posts

Running the script produces an error message which unfortunately I cannot save or copy (made a screenshot)
It suggest to try the following pip install --use-pep517

I have added pep517.whl in Apps but that does not solve the problem

I do not understand what pep517 is and how to install it properly

The scripts runs fine in 2023

 

Picture1.png

Link to comment
Share on other sites

Please sign in to view this quote.

 

Look at the first line where it says "Unknown or unregistered error:" and then gives a location. Is it looking for "setup.py" there? What is in that zipped file? Maybe map it to the Python directory where setup.py is?

 

Link to comment
Share on other sites

Hi

Please sign in to view this username.

,

It seems the error is caused by installing the Python wheel mplcursors · PyPI (version 0.5.2). You might try to install a newer version of this wheel.

mplcursors is used together with matplotlib/matplotlib: matplotlib: plotting with Python. The versions of the Python installation used by ZEISS INSPECT (currently v3.9) and the Python wheels have to be compatible. When I just tried to install mplcursors in ZEISS INSPECT 2025, I got mplcursors v0.6, matplotlib v3.9.4 and many other wheels (due to package dependencies).

PEP517 is not a Python package, but a Python standard (see PEP 517 – A build-system independent format for source trees | peps.python.org). The error message above says that the command line package installer `pip` has a switch to apply this standard as an option (for older packages?).

Best regards,

Matthias

 

Link to comment
Share on other sites

Matthias,

Thanks, updating mplcursor did the trick

Regards

Romke

Edited
Link to comment
Share on other sites

 Share

×
×
  • Create New...