I am not a python guru but have a done a few scripts for various things around KiCad and I am not sure what the best way is to set it all up.
It seems that to use the python scripting with pcbnew, it needs to use the python.exe that is included with the python install.
However, I also have another python.exe on my system that I am using.
Depending on how I set it up with my PATH, I get the system python.exe with the various installed packages that I need, but it can’t find the pcbnew package. If I change the path to not include the system python.exe it finds the kicad python with the pcbnew but it can’t find my other installed packages.
I tried to install the required packages on top of the kicad python but that also has trouble.
So what is the best way to have ‘one’ python environment for all my scripts including the pcbnew scripting?