kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #26841
Re: PYTHONPATH and windows
Le 27/11/2016 à 14:18, Nick Østergaard a écrit :
> Hello Jean-Pierre,
>
> It has recently come to my attention that some people seemingly have
> problems running pcbnew on windows. It just segfaults, but now it
> seems that it could be related to the users having set a PYTHONPATH
> themselves which does not work with kicad. See [1] and [2].
>
> Does the fix [3] just commited in the 4.0 branch address that issue?
>
> Regards
> Nick Østergaard
>
> [1] https://forum.kicad.info/t/kicad-stable-pcbnew-crash-on-windows-10-python-problems/4201/18
> [2] https://forum.kicad.info/t/kicad-crashes-every-time-when-opening-pcb-file/1507/35
> [3] https://git.launchpad.net/kicad/commit/?id=8023c7a79478e2ee0955a6c1383a93a3fb1ca08e
>
Yes, this is the purpose of this patch.
On Windows it clears any PYTHONPATH and PYTHONHOME definition, if python.exe is found in Kicad
binaries, and forces kicad/bin as first folder to search executables.
Therefore, if an other python install exists, it should not create issues for kicad (theoretically...)
--
Jean-Pierre CHARRAS
Follow ups
References