Replies: 2 comments 2 replies
-
Could you consider turning this into a documentation file and submitting a PR? More people will find it there. |
Beta Was this translation helpful? Give feedback.
1 reply
-
For anyone who might find themselves reading this: As I commented on the issue, the approach I described above no longer worked for me either. But the script provided in the macos installation instructions works fine. The Python version has been bumped in KiCad 7 and you need to update the |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The MacOS installation instructions at https://github.com/yaqwsx/KiKit/blob/master/doc/macosInstallation.md expect KiCad to be installed via Homebrew. While this is always an option, I personally prefer installing KiCad using the official installation packages.
It turns out installing KiKit on top of .dmg packaged KiCad is surprisingly simple! The KiCad package includes the whole Python runtime in the installation. No
activate
script is provided, but you can manually "activate" that Python installation by inserting the Python bin directory to your shell $PATH:Or, on fish shell:
I have created scripts in my project directory with the above path setting command and
source
the file on the command line to activate the KiCad Python version.After setting PATH as above, it was possible to install KiKit with
pip3 install kikit
. (It is possible that I had to install some native dependency libraries with Homebrew.) I have tested this to work and give identical results to a Linux installation. wxWidgets gives some assertion errors but they don't seem to matter:I hope this is useful to some folks.
Beta Was this translation helpful? Give feedback.
All reactions