0

I'm having an issue while trying to build on visual studio :

I'm working on the KiCAD EDA open source project : KiCAD EDA Developer Documentation

Everytime I try to launch the debug this error shows up :

Fatal Python error: failed to get the Python codec of the filesystem encoding

Fatal Python error: failed to get the Python codec of the filesystem encoding

I've have seen this issue discussed here : Python discussion and here : Stackoverflow

I've tried :

  • Chaging the PYTHONHOME and PYTHONPATH to where the python package was installed by vcpkg
  • Removed the PYTHONHOME and PYTHONPATH variables, as discussed here : Solution
  • Clearing CMake cache and Reconfiguring

Nothing worked.

CMake generation did finished successfully and has found Python correctly :

1> [CMake] -- Found PythonInterp: C:/Users/.../Desktop/kicad-source/kicad/build/x64-Debug/vcpkg_installed/x64-windows/tools/python3/python.exe (found suitable version "3.9.10", minimum required is "3.6")

1> [CMake] -- Python module install path: C:/Users/.../Desktop/kicad-source/kicad/build/install/x64-Debug/bin/Lib/site-packages
Polymood
  • 157
  • 1
  • 9

0 Answers0