Installing Kikit on Windows or Linux - Error AttributeError: module 'kikit.plugin' has no attribute 'LayoutPlugin' #420
-
I was able to use the older version of Kikit but I have not been able to successfully use v1.1. I'm running Kicad 6.0.7 on both machines. I'm getting the error below in both a Windows 11 and a Linux machine. Here is the Windows error if I run kikit --version in Kicad command prompt: Traceback (most recent call last): I installed it through the Kicad command prompt in Windows using pip and on the Linux machine, I just installed it using pip. After installing the backend, I installed the package through PCM. Although the kikit show/hide references plugin is under the External Plugins menu, the panelization plugin is not. Any thoughts if I'm doing something wrong or if this is an error with v1.1? |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 4 replies
-
This seems like a corrupt installation to me (somehow, part of the project is at v1, and part of it is at v1.1) – please check what is the content of the file |
Beta Was this translation helpful? Give feedback.
-
I'm a little bit of a beginner with Python, but doesn't the blow mean it is pulling the module from the plugin folder instead of plugin.py? Here is what I got from the scripting console in pcbnew: Py 0.9.8 from kikit import plugin |
Beta Was this translation helpful? Give feedback.
-
Yeah, looks like that's the issue. That folder is in the PyPI package and is getting downloaded when installing with pip. Looking at the source code, that folder is not there anymore for version 1.1 |
Beta Was this translation helpful? Give feedback.
-
You are right! Somehow the directory plugin ended up in one type of Python package. I made a release 1.1.1 that should fix this. |
Beta Was this translation helpful? Give feedback.
-
Just updated through pip and it's working. Thanks for your work. Kikit is great! |
Beta Was this translation helpful? Give feedback.
Yeah, looks like that's the issue. That folder is in the PyPI package and is getting downloaded when installing with pip.
Looking at the source code, that folder is not there anymore for version 1.1