接着用你的测一次:
D:\pycode\pyradiomics-master>python -m pip install -r requirements.txt
Requirement already satisfied: numpy>=1.9.2 in c:\python38\lib\site-packages (from -r requirements.txt (line 1)) (1.18.4)
Requirement already satisfied: SimpleITK>=0.9.1 in c:\python38\lib\site-packages (from -r requirements.txt (line 2)) (2.0.2)
Requirement already satisfied: PyWavelets>=0.4.0 in c:\python38\lib\site-packages (from -r requirements.txt (line 3)) (1.1.1)
Requirement already satisfied: pykwalify>=1.6.0 in c:\python38\lib\site-packages (from -r requirements.txt (line 4)) (1.8.0)
Requirement already satisfied: six>=1.10.0 in c:\users\homan\appdata\roaming\python\python38\site-packages (from -r requirements.txt (line 5)) (1.15.0)
Requirement already satisfied: docopt>=0.6.2 in c:\python38\lib\site-packages (from pykwalify>=1.6.0->-r requirements.txt (line 4)) (0.6.2)
Requirement already satisfied: ruamel.yaml>=0.16.0 in c:\python38\lib\site-packages (from pykwalify>=1.6.0->-r requirements.txt (line 4)) (0.16.12)
Requirement already satisfied: python-dateutil>=2.8.0 in c:\python38\lib\site-packages (from pykwalify>=1.6.0->-r requirements.txt (line 4)) (2.8.1)
Requirement already satisfied: ruamel.yaml.clib>=0.1.2 in c:\python38\lib\site-packages (from ruamel.yaml>=0.16.0->pykwalify>=1.6.0->-r requirements.txt (line 4)) (0.2.2)
它说成功。
下一步,setup.py:
D:\pycode\pyradiomics-master>python setup.py install
running install
running bdist_egg
running egg_info
。。。
Using c:\python38\lib\site-packages
Searching for ruamel.yaml.clib==0.2.2
Best match: ruamel.yaml.clib 0.2.2
Adding ruamel.yaml.clib 0.2.2 to easy-install.pth file
Using c:\python38\lib\site-packages
Finished processing dependencies for pyradiomics==0+unknown
D:\pycode\pyradiomics-master>
也没事。开头你用什么来着?是
python -m pip install pyradiomics
吗?