You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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...
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.
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
The text was updated successfully, but these errors were encountered: