Hello,
I am trying to follow this script for kikit, the last post from WebDust21 in here Is it possible to panelize different boards in to one panel? · Discussion #242 · yaqwsx/KiKit · GitHub
If I run it in KiCad 6.0 command promt I am getting the error:
C:\Users\User\Documents\KiCad\6.0>Pnlz.py
Fatal Python error: init_import_size: Failed to import the site module
Python runtime state: initialized
Traceback (most recent call last):
File “C:\Program Files\KiCad\6.0\bin\lib\site.py”, line 73, in
import os
File “C:\Program Files\KiCad\6.0\bin\lib\os.py”, line 29, in
from _collections_abc import _check_methods
File “C:\Program Files\KiCad\6.0\bin\lib_collections_abc.py”, line 12, in
GenericAlias = type(list[int])
TypeError: ‘type’ object is not subscriptable
C:\Users\User\Documents\KiCad\6.0>python --version
Python 3.9.10
Can you please write what is the problem with __collections_abc.py and what is it trying to do with type(list[int]) and how to resolve it?