sync notes(auto)
Some checks are pending
Build and Test / build-and-test (macos-latest) (push) Waiting to run
Build and Test / build-and-test (ubuntu-latest) (push) Waiting to run
Build and Test / build-and-test (windows-latest) (push) Waiting to run
Build and Test / publish-tag (push) Waiting to run
/ test (push) Waiting to run
Deploy Quartz site to GitHub Pages / build (push) Waiting to run
Deploy Quartz site to GitHub Pages / deploy (push) Blocked by required conditions
Some checks are pending
Build and Test / build-and-test (macos-latest) (push) Waiting to run
Build and Test / build-and-test (ubuntu-latest) (push) Waiting to run
Build and Test / build-and-test (windows-latest) (push) Waiting to run
Build and Test / publish-tag (push) Waiting to run
/ test (push) Waiting to run
Deploy Quartz site to GitHub Pages / build (push) Waiting to run
Deploy Quartz site to GitHub Pages / deploy (push) Blocked by required conditions
This commit is contained in:
parent
d5e92a95cc
commit
10e2f77072
2 changed files with 34 additions and 0 deletions
34
content/20240917170012 kikitがinstallできない、動かない.md
Normal file
34
content/20240917170012 kikitがinstallできない、動かない.md
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
# 20240917170012 kikitがinstallできない、動かない
|
||||||
|
|
||||||
|
#kicad #kikit #workaround
|
||||||
|
|
||||||
|
KiKitはKiCadの基板エディタ上(またはpythonコマンドライン)で動作する、面付けなどの色々な操作ができる便利なプラグイン。 [GitHub - yaqwsx/KiKit: Automation tools for KiCAD](https://github.com/yaqwsx/KiKit)
|
||||||
|
|
||||||
|
|
||||||
|
## 困
|
||||||
|
KiCadのバージョンを更新したりした場合、PCBエディタを起動すると
|
||||||
|
|
||||||
|
このような画面が表示され、KiKitが使えない。
|
||||||
|
|
||||||
|
![[Pasted image 20240917170247.png]]
|
||||||
|
|
||||||
|
|
||||||
|
まず、これは毎回アップデートするたびに、Backend installationの操作が必要。
|
||||||
|
[Intro - KiKit — Automation for KiCAD](https://yaqwsx.github.io/KiKit/latest/installation/intro/#running-kikit-in-ci-or-isolated-environment-via-docker)
|
||||||
|
|
||||||
|
ここに書いてある通りにやれば良い・・・はずなのだが、この通りにやると、
|
||||||
|
`kikit --version` でnumpyのバージョンが違う的なエラーが出る。
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
## 解決方法
|
||||||
|
windows11での方法。他だと別かもしれない。原因は、KiCadのpythonにプリインストールされているnumpyのバージョンと、KiKitが要求しているnumpyのバージョンが違うからのようだ。 ・・・ようだ、というのはイマイチ確証が持てないためで、 numpy 1.x系と2.x系の違いかと思いきや、そうでもなく、一度解決するとエラーが出なくなってしまうため。
|
||||||
|
|
||||||
|
KiCad8.0 Command Promptを「管理者として実行」して、
|
||||||
|
```
|
||||||
|
pip uninstall numpy
|
||||||
|
pip install numpy
|
||||||
|
pip install kicad
|
||||||
|
```
|
||||||
|
|
||||||
|
とやると、エラーが出なくなり、KiKitが使えるようになった。
|
BIN
content/assets/Pasted image 20240917170247.png
Normal file
BIN
content/assets/Pasted image 20240917170247.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 16 KiB |
Loading…
Reference in a new issue