← Back to team overview

kicad-developers team mailing list archive

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



I have built pcbnew.exe x64-Debug with vs2019 16.10.2 KiCAD commit 00b4134eb827 + some changes I am doing and am getting the above message on startup.

I have no idea what to do to resolve the issue and no idea what code is causing it: no exceptions thrown to help debug.

Typing in Python in cmd results in.
Python 3.9.1 (tags/v3.9.1:1e5d33e, Dec  7 2020, 17:08:21) [MSC v.1927 64 bit (AMD64)] on win32 

Can anyone point me in the right direction?


Markus Bonk
Senior Software Engineer

3Dconnexion GmbH
Clarita-Bernhard-Str. 18
81249 München


Geschäftsführer: Antonio Pascucci 
Sitz der Gesellschaft: München
Registergericht: München HRB 99232

This email and any files transmitted with are from 3Dconnexion GmbH. The contents of this email and any attachments are confidential to the intended recipient. They may not be disclosed to or used by or copied in any way by anyone other than the intended recipient. If this email is received in error, please contact 3Dconnexion GmbH by calling +49 89 8974542-0 and then delete it. Please note that neither 3Dconnexion GmbH nor the sender accepts any responsibility for viruses and it is your responsibility to scan or otherwise check this email and any attachments. Any opinion expressed in this email are those of the individual and not necessarily those of 3Dconnexion GmbH. 
3Dconnexion GmbH processes and stores for commercial purposes your personal data, collected upon your consent, in accordance with its privacy policy available at https://www.3dconnexion.eu/privacy.html, which has been drafted in accordance with Regulation (EU) no. 679/2016 and all applicable local data protection laws and regulations of the countries where the company operates. To revoke your consent or exercise all your rights with regards to personal data, please contact us at privacy@xxxxxxxxxxxxxxx.

Follow ups