acil-bwh / ChestImagingPlatform

Chest Imaging Platform (CIP)
Other
55 stars 34 forks source link

Chest Imaging Platform (CIP) installation Help #34

Open ShibaPrasad opened 4 years ago

ShibaPrasad commented 4 years ago

Hi All,

I need small help for the Chest Imaging Platform (CIP) installation in Linus Ubuntu & python set up and looking for the installation steps. Basically I would like to use the “GeneratePartialLungLabelMap” function in my main python code.

I am not sure which version of CIP - need to install for my whole lung segmentation. As it has two options for download - 1) CIP Library, 2) Slicer CIP Please advise me.

rsanjoseestepar commented 4 years ago

Hello Shiba,

You have the following choices to use CIP: -To build CIP Library on your computer. You can follow the steps on https://github.com/acil-bwh/ChestImagingPlatform/wiki and use the master branch. -Other option is using the CIP docker: https://hub.docker.com/r/acilbwh/chestimagingplatform Is well documented and your use case is one of the examples proposed. -Using Slicer CIP, that is a version of the software 3D Slicer with the CIP module already installed.

Hope this helps, -Ruben

ShibaPrasad commented 4 years ago

Hi Ruben,

Thank You. I am following the instructions for CIPLibrary installation. But Getting below . Would you please help me and give your comments. (Ubunutu Ubuntu 18.04.4 LTS and cmake 10.2)

/usr/bin/cmake: /opt/nfsopt/anaconda3/anaconda3-2019.10/lib/libcurl.so.4: no version information available (required by /usr/bin/cmake) /usr/bin/cmake: /opt/nfsopt/anaconda3/anaconda3-2019.10/lib/libcurl.so.4: no version information available (required by /usr/bin/cmake) [ 34%] Performing installpynrrd step for 'CIPPython' DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. /usr/bin/cmake: /opt/nfsopt/anaconda3/anaconda3-2019.10/lib/libcurl.so.4: no version information available (required by /usr/bin/cmake) /usr/bin/cmake: /opt/nfsopt/anaconda3/anaconda3-2019.10/lib/libcurl.so.4: no version information available (required by /usr/bin/cmake) [ 35%] Performing installpydicom step for 'CIPPython' DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. /usr/bin/cmake: /opt/nfsopt/anaconda3/anaconda3-2019.10/lib/libcurl.so.4: no version information available (required by /usr/bin/cmake) /usr/bin/cmake: /opt/nfsopt/anaconda3/anaconda3-2019.10/lib/libcurl.so.4: no version information available (required by /usr/bin/cmake) [ 36%] Completed 'CIPPython' /usr/bin/cmake: /opt/nfsopt/anaconda3/anaconda3-2019.10/lib/libcurl.so.4: no version information available (required by /usr/bin/cmake) /usr/bin/cmake: /opt/nfsopt/anaconda3/anaconda3-2019.10/lib/libcurl.so.4: no version information available (required by /usr/bin/cmake) /usr/bin/cmake: /opt/nfsopt/anaconda3/anaconda3-2019.10/lib/libcurl.so.4: no version information available (required by /usr/bin/cmake) /usr/bin/cmake: /opt/nfsopt/anaconda3/anaconda3-2019.10/lib/libcurl.so.4: no version information available (required by /usr/bin/cmake) [ 36%] Built target CIPPython Makefile:94: recipe for target 'all' failed make: *** [all] Error 2

Also getting below error:

-- Configuring incomplete, errors occurred! See also "/localscratch/Users/skuanar/tf/ChestImagingPlatform-build/OpenCV-build/CMakeFiles/CMakeOutput.log". See also "/localscratch/Users/skuanar/tf/ChestImagingPlatform-build/OpenCV-build/CMakeFiles/CMakeError.log". CMakeFiles/OpenCV.dir/build.make:105: recipe for target 'OpenCV-prefix/src/OpenCV-stamp/OpenCV-configure' failed make[2]: [OpenCV-prefix/src/OpenCV-stamp/OpenCV-configure] Error 1 CMakeFiles/Makefile2:110: recipe for target 'CMakeFiles/OpenCV.dir/all' failed make[1]: [CMakeFiles/OpenCV.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... done