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

Fix failing segmentation workflows #163

Open
yrkim98 opened this issue Nov 29, 2023 · 1 comment
Open

Fix failing segmentation workflows #163

yrkim98 opened this issue Nov 29, 2023 · 1 comment

Comments

@yrkim98
Copy link
Collaborator

yrkim98 commented Nov 29, 2023

Currently segmentation workflows (actb) are failing with this error

AttributeError                            Traceback (most recent call last)
File ~/anaconda3/envs/ml-seg/lib/python3.10/site-packages/superqt/utils/_qthreading.py:617, in create_worker.<locals>.reraise(e=AttributeError("module 'itk' has no attribute 'GetImageFromArray'"))
    616 def reraise(e):
--> 617     raise e
        e = AttributeError("module 'itk' has no attribute 'GetImageFromArray'")

Need to make this fix on aics-segmentation

@yrkim98
Copy link
Collaborator Author

yrkim98 commented Jan 12, 2024

tried pinning to itk==5.2.1 but that version was not available on pypi.
tried pinning to itk==5.0.1 but that version fails with build errors

Building wheels for collected packages: itk
  Building wheel for itk (setup.py) ... error
  error: subprocess-exited-with-error
  
  × python setup.py bdist_wheel did not run successfully.
  │ exit code: 1
  ╰─> [9 lines of output]
      Traceback (most recent call last):
        File "/Users/brian.kim/anaconda3/envs/ml-seg/lib/python3.10/site-packages/skbuild/setuptools_wrap.py", line 645, in setup
          cmkr = cmaker.CMaker(cmake_executable)
        File "/Users/brian.kim/anaconda3/envs/ml-seg/lib/python3.10/site-packages/skbuild/cmaker.py", line 148, in __init__
          self.cmake_version = get_cmake_version(self.cmake_executable)
        File "/Users/brian.kim/anaconda3/envs/ml-seg/lib/python3.10/site-packages/skbuild/cmaker.py", line 105, in get_cmake_version
          raise SKBuildError(msg) from err
      
      Problem with the CMake installation, aborting build. CMake executable is cmake
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for itk
  Running setup.py clean for itk
Failed to build itk

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

1 participant