Closed greenscreenflicker closed 7 months ago
Try running python -mkikit.ui --version
instead. It is possible that KiCAD 8 on Windows doesn't include Python entry points in PATH:
works for now. Thanks. How to fix this for average joe?
You have to modify the PATH variable or report bug in Windows packaging of KiCAD.
Bug reported to KiCAD https://gitlab.com/kicad/code/kicad/-/issues/17156
Based on comments in KiCAD repository this is resolved and it will be a part of the next patch release. Closing.
@yaqwsx I've just used pip install kikit
on KiCad 8.0.2 (upgraded from 8.0.0 this morning). I did not have kikit on 8.0.0. I get the warning
WARNING: The script markdown2.exe is installed in 'C:\Users\name\Documents\KiCad\8.0\3rdparty\Python311\Scripts' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
WARNING: The scripts kikit-info.exe and kikit.exe are installed in 'C:\Users\name\Documents\KiCad\8.0\3rdparty\Python311\Scripts' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
and kikit --help
gets the response 'kikit' is not recognized as an internal or external command, operable program or batch file.
So I don't think it's fixed in the 8.0.2 patch on Win10.
I changed the Path
variable under 'User variables for [myUsername]' in System Properties->Environment Variables to %USERPROFILE%\Documents\KiCad\8.0\3rdparty\Python311\Scripts
. Then I reopened Kicad 8.0 Command Prompt and kikit --help
returned the expected results. Thanks for the workaround in the meantime.
Prerequisites
KiKit version
current/master
KiCAD version
8.0.0
Operating system
windows
Description
when trying to install, kikit cannot be found from kicad console.
Steps to Reproduce