Missing module
tanderson92 opened this issue · 4 comments
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'
I realized almost immediately after I submitted this I needed to pull the git submodules before installing. A hint might be nice.
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'...
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).
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: