EasyEDAFootprintScraper
EasyEDAFootprintScraper copied to clipboard
Instructions on how to run?
I spent about 15 minutes trying to get this to run on my system, but I have been unable to figure out how to install prerequisites appropriately or how it is supposed to be run. I.e. poking around pip3 and then trying to run it from my hosts' python3, and then kicad's python environment.
I'm clearly missing some major aspect of how to run this.
EDIT: Note: my OS is Windows 10.
If I try running on Ubuntu 20.04.6 LTS, I get the following errors:
$ sudo ./installDependencies_Ubuntu.sh
...
Get:34 http://archive.ubuntu.com/ubuntu focal-backports/universe amd64 Packages [25.0 kB]
Get:35 http://archive.ubuntu.com/ubuntu focal-backports/universe amd64 c-n-f Metadata [880 B]
Fetched 13.6 MB in 5s (2706 kB/s)
Reading package lists... Done
E: Invalid operation update
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package kicad
E: Invalid operation update
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package npm
npm ERR! code EINVALIDTAGNAME
": Tags may not have any characters that encodeURIComponent encodes.
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2023-08-10T10_39_10_402Z-debug.log
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package openctm-tools
Hi! All the important parts are specified in the readme: you need to have installed KiCAD, easyeda2kicad, and ctmconv. All these have to available in your path. And since you are on Windows, you have to run this script using the Python interpreter bundled with Python (the easiest way is to use Kicad command line
in the start menu).
Nevertheless; this project wasn't updated in a while and at the moment, it is incompatible with KiCAD 7. I've lost my drive for keeping this updated, as https://github.com/uPesy/easyeda2kicad.py popped up and it gained more users (and it seems to be well maintained).