You are not logged in.

#1 2021-01-13 06:27:36

JustMe
Member
Registered: 2013-02-26
Posts: 11

[SOLVED] [kicad] Fails to open pcbnew with Python 3.9.1

I am having the same problem as outlined in this bug report which was closed.


https://bugs.archlinux.org/task/68904

Sven (svenschwermer) wrote:

When starting pcbnew, I'm getting the following messages:

libpython3.8.so.1.0: cannot open shared object file: No such file or directory
Failed to load kiface library "/usr/bin/_pcbnew.kiface"

It looks like Python 3.8 got replaced by 3.9 recently.

Additional info:
* Kicad 5.1.8-3
* Python 3.9.0-1

Steps to reproduce:
* Run `pcbnew`


I also get it when picking schematic symbols in the schematic editor but the program does not crash completely.
Any help would be greatly appreciated!

Edit: My kicad-git version is: 5.99.0-7115-gd59053b775 and python 3.9.1

Last edited by JustMe (2021-01-15 11:05:35)

Offline

#2 2021-01-13 06:56:36

skunktrader
Member
From: Brisbane, Australia
Registered: 2010-02-14
Posts: 1,543

Re: [SOLVED] [kicad] Fails to open pcbnew with Python 3.9.1

Any reason why your kicad is not up to date? Version 5.1.9 was published on 23 December.

Offline

#3 2021-01-13 08:25:43

JustMe
Member
Registered: 2013-02-26
Posts: 11

Re: [SOLVED] [kicad] Fails to open pcbnew with Python 3.9.1

Oh sorry I didn't clarify that I did not make that bug report.

My kicad-git install is 5.99.0-7115-gd59053b775 so it might not have anything to do with that bug report.


Application: KiCad

Version: (5.99.0-7115-gd59053b775), release build

Libraries:
	wxWidgets 3.0.5
	libcurl/7.74.0 OpenSSL/1.1.1i zlib/1.2.11 zstd/1.4.5 libidn2/2.3.0 libpsl/0.21.1 (+libidn2/2.3.0) libssh2/1.9.0 nghttp2/1.41.0

Platform: Linux 5.10.6-arch1-1 x86_64, 64 bit, Little endian, wxGTK, , tty

Build Info:
	Date: Nov 20 2020 04:08:25
	wxWidgets: 3.0.5 (wchar_t,wx containers,compatible with 2.8) GTK+ 3.24
	Boost: 1.72.0
	OCC: 7.5.0
	Curl: 7.73.0
	ngspice: 33
	Compiler: GCC 10.2.0 with C++ ABI 1014

Build settings:
	KICAD_SCRIPTING=ON
	KICAD_SCRIPTING_MODULES=ON
	KICAD_SCRIPTING_PYTHON3=ON
	KICAD_SCRIPTING_WXPYTHON=ON
	KICAD_SCRIPTING_WXPYTHON_PHOENIX=ON
	KICAD_SCRIPTING_ACTION_MENU=ON
	KICAD_USE_OCC=ON
	KICAD_SPICE=ON
$ python -V
Python 3.9.1

Thanks for replying so quickly.

Offline

#4 2021-01-15 11:03:47

JustMe
Member
Registered: 2013-02-26
Posts: 11

Re: [SOLVED] [kicad] Fails to open pcbnew with Python 3.9.1

Reinstalling kicad git using

yay -S kicad-git

and doing a clean build worked for me. I guess the dependency reference needed to be compiled into KiCAD?

New version for me: 5.99.0-8413-g54cf67dad2

Last edited by JustMe (2021-01-15 11:24:49)

Offline

Board footer

Powered by FluxBB