seung-lab / connected-components-3d

Connected components on discrete and continuous multilabel 3D & 2D images. Handles 26, 18, and 6 connected variants; periodic boundaries (4, 8, & 6)
GNU Lesser General Public License v3.0
356 stars 42 forks source link

Cannot find reference 'dust' in 'cc3d.py' #105

Closed maxrohleder closed 1 year ago

maxrohleder commented 1 year ago

I installed cc3d on windows 10 for python 3.6.12:

Requirement already satisfied: connected-components-3d in c:\users\max\miniconda3\lib\site-packages (3.10.3)
Requirement already satisfied: numpy in c:\users\max\miniconda3\lib\site-packages (from connected-components-3d) (1.18.5)

When I try to use dust() as shown in the Readme, I get the following error: AttributeError: module 'cc3d' has no attribute 'dust'

Am I missing something?

william-silversmith commented 1 year ago

Hi Mr. Rohleder,

Python 3.6 is EOL and I stopped uploading binaries for it a while back. If you downloaded the source dist and compiled, it's surprising dust isn't present. If not, then it's likely the binary loaded is just too old. I would recommend updating Python to at least 3.7 and try again.

Will

william-silversmith commented 1 year ago

Closing due to inactivity. Please re-open if you still need help!