AIM-Harvard / pyradiomics

Open-source python package for the extraction of Radiomics features from 2D and 3D images and binary masks. Support: https://discourse.slicer.org/c/community/radiomics

Home Page:http://pyradiomics.readthedocs.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fatal error

laurar2022 opened this issue · comments

Describe the bug
When I run the command python setup.py build_ext --inplace i get the following error:
fatal error C1083: 'basetsd.h': No such file or directory
error: command 'C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\x86_amd64\cl.exe' failed with exit status 2

PyRadiomics configuration
I just run this code:
from future import print_function
import six
import os # needed navigate the system to get the input data
import radiomics
from radiomics import featureextractor # This module is used for interaction with pyradiomics

But then I get this error:
Exception: Apparently running from root, but unable to load C extensions... Did you run "python setup.py build_ext --inplace"?

So i run the command python setup.py build_ext --inplace, but I get the previous fatal error.

Version (please complete the following information):

  • OS: Windows 10
  • Python version: 3.6.5
  • PyRadiomics version 3.1.0