Hello All,
I have recently upgraded to the latest version of KiCAD by installing over the old installation. All has been functioning fine until I tried to run the Eeschema BOM scripts, which all return error message similar to the one below.
(1) Has anyone else experienced this problem after updating system?
(2) The error message suggests “Consider setting $PYTHONHOME to [:<exec_prefix>]” . Can anyone shed any light on how to set this ? ( I am not a programmer so not obvious to me )
(3) I am guessing a clean install may be the solution, but trying to avoid this as I am up against deadlines.
Many thanks in advance for any insights that are offered.
Kind regards
Jim
Console Error Message:
Run command:
python “C:\Program Files\KiCad\bin\scripting\plugins/Open Bionics KiCAD BOM V3.1.py” “G:\Shared drives\OB Development Drive\Projects\Sidekick\Sidekick Electronics\SK_V5M-00\SK_V5M-00.xml” “G:/Shared drives/OB Development Drive/Projects/Sidekick/Sidekick Electronics/SK_V5M-00/SK_V5M-00.html”
Command error. Return code 3
Error messages:
Could not find platform independent libraries
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to [:<exec_prefix>]
Fatal Python error: initfsencoding: unable to load the file system codec
ModuleNotFoundError: No module named ‘encodings’
Current thread 0x00000a00 (most recent call first):
Version Info:
Application: Eeschema
Version: (5.1.5)-2, release build
Libraries:
wxWidgets 3.0.4
libcurl/7.66.0 OpenSSL/1.1.1d (Schannel) zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.1.1) nghttp2/1.39.2
Platform: Windows 8 (build 9200), 64-bit edition, 64 bit, Little endian, wxMSW
Build Info:
wxWidgets: 3.0.4 (wchar_t,wx containers,compatible with 2.8)
Boost: 1.71.0
OpenCASCADE Community Edition: 6.9.1
Curl: 7.66.0
Compiler: GCC 9.2.0 with C++ ABI 1013
Build settings:
USE_WX_GRAPHICS_CONTEXT=OFF
USE_WX_OVERLAY=OFF
KICAD_SCRIPTING=ON
KICAD_SCRIPTING_MODULES=ON
KICAD_SCRIPTING_PYTHON3=OFF
KICAD_SCRIPTING_WXPYTHON=ON
KICAD_SCRIPTING_WXPYTHON_PHOENIX=OFF
KICAD_SCRIPTING_ACTION_MENU=ON
BUILD_GITHUB_PLUGIN=ON
KICAD_USE_OCE=ON
KICAD_USE_OCC=OFF
KICAD_SPICE=ON