yaqwsx / KiKit

Automation tools for KiCAD
https://yaqwsx.github.io/KiKit
MIT License
1.49k stars 200 forks source link

kikit install to wrong folder in kicad 8 #655

Closed honzakutil closed 5 months ago

honzakutil commented 5 months ago

Prerequisites

KiKit version

1.5.0

KiCAD version

8.0

Operating system

windows 11

Description

when I install kikit backend according to the instructions (open kicad command prompt and type pip install kikit) kikit is installed successfully, but command kikit --help does not work, it return "operable program or batch file not found".

I found, that kikit was installed into c:\ .... \Documents\KiCad\8.0\3rdparty\Python311\Scripts, but this folder is not added to PATH of the kicad command prompt, there is only c:\ .... \Documents\KiCad\8.0\3rdparty\Python39\Scripts. Quickfix is to duplicate the Python311 folder and rename it to Python39. Another, cleaner solution is to add c:\ .... \Documents\KiCad\8.0\3rdparty\Python311\Scripts to the system PATH, it will be reflected also in kicad command prompt after closing it and opening it again.

It would be nice to install kikit into the correct folder or to add note into the documentation, that this problem could occur. It took for me a while to figure out, what is going on.

Steps to Reproduce

1) install kikit via KiCad8 command prompt 2) try to run kikit --help 3) add c:\ .... \Documents\KiCad\8.0\3rdparty\Python311\Scripts into system PATH and try again

yaqwsx commented 5 months ago

This is a duplicate of #647 and #653.