Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Instructions on how to run? #11

Open
cnlohr opened this issue Aug 10, 2023 · 2 comments
Open

Instructions on how to run? #11

cnlohr opened this issue Aug 10, 2023 · 2 comments

Comments

@cnlohr
Copy link

cnlohr commented Aug 10, 2023

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.

@cnlohr
Copy link
Author

cnlohr commented Aug 10, 2023

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

@yaqwsx
Copy link
Owner

yaqwsx commented Aug 11, 2023

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants