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
http://pyradiomics.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
1.11k stars 485 forks source link

Fatal error #839

Open laurar2022 opened 9 months ago

laurar2022 commented 9 months ago

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):