[ca...] Posted July 26, 2022 Share Posted July 26, 2022 Hello everyone, I have two questions about gom python repository. First, which command should I use to upgrade pip with install python package script? I have also a problem with some python packages. Although it says successfully installed, and I can see the package in the GOM>2021>Python file, still my script says that is not installed. What could be the reason of this kind of errror? Many Thanks, Canset Link to comment Share on other sites More sharing options...
[Fr...] Posted July 26, 2022 Share Posted July 26, 2022 The python wheels in GOM Inspect are not installed into the regular system python folders, but into %APPDATA%/gom/2021/python. This is to ensure that the installed wheels are matching the python version used in the application itself, which can change from version to version. So installation of wheels should be done via 'Scripting / Tools / Install Python Package' only to be sure to hit the correct location. If you already did this, you can have a look into that directory and verify that the python wheels are really present there (if not, something went wrong here). Also, you should check your python library path: import sys for p in sys.path: print (p) These are the path the application tries to load wheels from. Link to comment Share on other sites More sharing options...
[Ma...] Posted January 30 Share Posted January 30 In some cases Using Python wheelhouses — Add-On Documentation (zeissiqs.github.io) can resolve problems with installing packages (ZEISS INSPECT 2023 required). Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in