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

SVG module dependency is broken #24

Open
zirafa opened this issue May 9, 2018 · 1 comment
Open

SVG module dependency is broken #24

zirafa opened this issue May 9, 2018 · 1 comment

Comments

@zirafa
Copy link

zirafa commented May 9, 2018

The PR #18, Make svg2mod installable via pip has broken manual installation of svg2mod. Although package managers are convenient, it should still be possible to install and run this script without one.

Steps to reproduce (Python 2.7 environment)

  1. Clone repo
  2. Run python setup.py install
  3. In the svg2mod subdir run python svg2mod.py -i ../examples/dt-logo.svg

I expected the script to work and output a kicad_mod file but instead saw this error:

$ python svg2mod.py -i ../examples/dt-logo.svg
Traceback (most recent call last):
  File "svg2mod.py", line 10, in <module>
    import svg2mod.svg as svg
  File "svg2mod/svg2mod/svg2mod.py", line 10, in <module>
    import svg2mod.svg as svg
ImportError: No module named svg
@rakonsake
Copy link

I have the same issue "import svg2mod.svg as svg" Error.. even though I operate on macOS..

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