ANTsX / ANTsPy

A fast medical imaging analysis library in Python with algorithms for registration, segmentation, and more.
https://antspyx.readthedocs.io
Apache License 2.0
586 stars 161 forks source link

partially initialized module 'ants' has no attribute 'image_read' #613

Closed yuanpengpeng closed 2 months ago

yuanpengpeng commented 2 months ago

My environment is linux, python37 pip install antspyx import ants Read data after running Error partially initialized module 'ants' has no attribute 'image_read'

cookpa commented 2 months ago

This can be caused by circular imports. Do you happen to have a directory "ants" on your local system that might be confused for a module?