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

ModuleNotFoundError: No module named 'numpy2stl' #8

Open
PatrickM84 opened this issue Oct 23, 2017 · 2 comments · May be fixed by #14
Open

ModuleNotFoundError: No module named 'numpy2stl' #8

PatrickM84 opened this issue Oct 23, 2017 · 2 comments · May be fixed by #14

Comments

@PatrickM84
Copy link

Hello,

I followed your instructions but when i try to use image2stl in command line i get the following error:
Im using Linux Mint 18.2

image2stl leen.png
Traceback (most recent call last):
File "/usr/local/bin/image2stl", line 11, in
load_entry_point('stl-tools==0.3.0', 'console_scripts', 'image2stl')()
File "/usr/local/lib/python3.6/dist-packages/pkg_resources/init.py", line 570, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/local/lib/python3.6/dist-packages/pkg_resources/init.py", line 2755, in load_entry_point
return ep.load()
File "/usr/local/lib/python3.6/dist-packages/pkg_resources/init.py", line 2409, in load
return self.resolve()
File "/usr/local/lib/python3.6/dist-packages/pkg_resources/init.py", line 2415, in resolve
module = import(self.module_name, fromlist=['name'], level=0)
File "/usr/local/lib/python3.6/dist-packages/stl_tools/image2stl.py", line 4, in
from numpy2stl import numpy2stl
ModuleNotFoundError: No module named 'numpy2stl'

Any ideas how i can repair this? - Google does not know this error

@jlobie
Copy link

jlobie commented Dec 9, 2017

Hi, I run into the same issue while trying stl_tools on a current python windows environment.
Did you find a solution/workaround?
Jens
EDIT: works on Windows with Python 2.7...

@catskul
Copy link

catskul commented May 28, 2020

Looks like the import should be from stl_tools.numpy2stl import numpy2stl editing it does the trick. Made a PR #14 but there are PRs in queue from several years ago so not sure how likely it is to be merged.

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

Successfully merging a pull request may close this issue.

3 participants