ANTsPy icon indicating copy to clipboard operation
ANTsPy copied to clipboard

ANTsPy does not install (from source)

Open rohitrango opened this issue 1 year ago • 4 comments

Describe the bug Upon trying to install ANTsPy from source, the build fails with the following error:

image

To Reproduce Steps to reproduce the behavior:

  1. git clone https://github.com/ANTsX/ANTsPy
  2. cd ANTsPy
  3. python setup.py install

Commit ID: 7c9c3ed3d575ce30c4c19f6597772466d4457951

On step 3, the setup script downloads and installs ITK, but then the error above shows up. I also tried installing ITKv5 and setting ITK_DIR which the setup script recognizes, but I still face an error at the same point. Note that I'm able to install and run the original ANTs program (and the bash scripts) with the installed ITK.

Expected behavior Script should install ANTsPy.

Environment I used a fresh conda environment to install ANTsPy. Python version 3.7 (don't think this error has anything to do with this info though).

Desktop (please complete the following information):

  • OS: Ubuntu 22.04

rohitrango avatar Jul 04 '23 00:07 rohitrango