回到主页

How to install Pyradiomics?

getting started with Pyradiomics in Mac OsX

--如何下载pyradiomics

· Python,radimics

Detailed instruction available at pyradiomics.readthedocs.io

  1. Ensure that you have install python first. As I use Mac OS Sierra(version 10.12.3), I download the latest python 3.6.3. Python 2 is an earlier version, although still been updated, the new develop packages can be more compatible with Python 3. I downloaded Python in the link below  https://www.python.org/downloads/mac-osx/
broken image

2. Ensure you have the version control system git installed. I opened the terminal.app and checked whether I had git in my computer. Luckily, it accompanied with the OS system. git –version to check my git version. If you can’t find git, just go to the GitHub for solutions.

broken image

3. Clone the repository: type git clone git://github.com/Radiomics/pyradiomics in the terminal.app. if successfully clone, you can find a folder named pyradiomics.

broken image

4. For MacOS system, I used the following lines to install the pyradiomics

cd pyradiomics #or use pwd to make sure you are the directory of pyradiomics. I must confess although follow the instruction, I still tried several times and got errors dozens of times but Calvin, who is the core programmer in Youhaosuda (友好速搭 ), is really awesome, he just solve the problem within 10 seconds.

The following is the command line he suggested me to use to install

Python3 –m pip install – r requirement.txt

Python3 setup.py install

Then you can find the terminal run and get you a feedback as Finished processing.

broken image

Hope you can find it useful (blink).