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
605 stars 103 forks source link

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

Closed Adarsh2425 closed 8 months ago

Adarsh2425 commented 9 months 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 9 months 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