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

Missing module #8

Open
tanderson92 opened this issue Jun 3, 2022 · 4 comments
Open

Missing module #8

tanderson92 opened this issue Jun 3, 2022 · 4 comments

Comments

@tanderson92
Copy link

After running the recommended install command I receive the following error:

In [1]: import wildmeshing as wm                                                          
---------------------------------------------------------------------------
ModuleNotFoundError                       Traceback (most recent call last)
<ipython-input-1-8703ac452926> in <module>
----> 1 import wildmeshing as wm

~/.local/lib/python3.9/site-packages/wildmeshing/__init__.py in <module>
      4 from .wildmeshing import boolean_operation
      5 from .wildmeshing import Tetrahedralizer
----> 6 from .triangulate_svg import triangulate_svg

~/.local/lib/python3.9/site-packages/wildmeshing/triangulate_svg.py in <module>
      1 import json
      2 import math
----> 3 import wildmeshing.parse_svg.svgpathtools as svg
      4 import numpy as np
      5 

ModuleNotFoundError: No module named 'wildmeshing.parse_svg'

@tanderson92
Copy link
Author

I realized almost immediately after I submitted this I needed to pull the git submodules before installing. A hint might be nice.

@Rheinwalt
Copy link

How did that work for you? If I do the following inside master it just hangs in the air doing nothing.

git submodule update --init --recursive
Cloning into '/home/a/src/wildmeshing-python/wildmeshing/parse_svg'...

@tanderson92
Copy link
Author

First make sure you can clone the repository (you can use this instead of using submodules, in a pinch) that git is trying to pull in from .git/config (it's not the vanilla svgpathtools, that caused me some headache to figure out).

@Rheinwalt
Copy link

Thanks for the tip, that's what I did now. Still had another problem with the collections module and svgpathtools that I had deal with, but nowit works! I'll post that problem there, but for others:

docs.python.org/3/library/collections.abc.html

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