Skip to content

Missing module #8

Open
Open

Description

@tanderson92

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'

Activity

  1. tanderson92 commented on Jun 3, 2022

    @tanderson92
    Author

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

  2. Rheinwalt commented on Jun 23, 2022

    @Rheinwalt

    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'...
    
  3. tanderson92 commented on Jun 23, 2022

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

  4. Rheinwalt commented on Jun 24, 2022

    @Rheinwalt

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions