wolph / numpy-stl

Simple library to make working with STL files (and 3D objects in general) fast and easy.
http://numpy-stl.readthedocs.org/
BSD 3-Clause "New" or "Revised" License
628 stars 107 forks source link

AttributeError: module 'stl' has no attribute 'BaseStl #215

Closed Adarsh2425 closed 1 year ago

Adarsh2425 commented 1 year ago

Adarsh2425 ➜ /workspaces/Slicer-for-multi-toolhead-application (main) $ /home/codespace/.python/current/bin/python3 /workspaces/Slicer-for-multi-toolhead-application/imex_slicer.py Traceback (most recent call last): File "/workspaces/Slicer-for-multi-toolhead-application/imex_slicer.py", line 15, in from stl import mesh File "/home/codespace/.python/current/lib/python3.10/site-packages/stl/mesh.py", line 4, in class mesh(stl.BaseStl): AttributeError: module 'stl' has no attribute 'BaseStl

i dont know what to do now

wolph commented 1 year ago

In most cases this is because a conflict with the stl package. Take a look at this issue for more info: https://github.com/wolph/numpy-stl/issues/55#issuecomment-307599781