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

mesh.section error #667

Closed
datased2019 opened this issue Dec 16, 2019 · 3 comments
Closed

mesh.section error #667

datased2019 opened this issue Dec 16, 2019 · 3 comments

Comments

@datased2019
Copy link

Just give a test on
slice = mesh.section(plane_origin=mesh.centroid, plane_normal=[0,1,0])

and get DLL error:
from shapely import vectorized
File "C:\Users\jerry\AppData\Local\Programs\Python\Python37\lib\site-packages\shapely\vectorized_init_.py", line 3, in
from ._vectorized import (contains, touches)
ImportError: DLL load failed:

Any comment ? Thx.

@mikedh
Copy link
Owner

mikedh commented Dec 16, 2019

Hey, I think that's an issue with shapely, you probably need to reinstall it using a different install method, check out their install guide for windows: https://shapely.readthedocs.io/en/latest/project.html#installing-shapely-1-6

@datased2019
Copy link
Author

I just follow the method and use the wheels at https://www.lfd.uci.edu/~gohlke/pythonlibs/#shapely

@datased2019
Copy link
Author

Clear all the env and libs and try it again. It works. @mikedh
Thx Mike.

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