HABINHGU 2021-01-18 03:03 采纳率: 100%
浏览 1285
已采纳

用py安装pyradiomics包时出现错误,无法正确安装

  1. 确保计算机已经安装python,并且版本在2.7或者3.4以上

  2. 在https://github.com/Radiomics/pyradiomics上把项目下载下来并解压

  3. 打开cmd,并进入解压后的目录

  4. 在cmd中运行:python -m pip install -r requirements.txt(用于安装pyradiomics所需的依赖)

  5. 在cmd中运行:python setup.py install

  6. 安装完成,打开python,import radiomics,如果不报错,则表示安装成功

现在已经按上面步骤完成了第4部,到第5部时出现错误,没能正常安装

 

展开全部

  • 写回答

11条回答 默认 最新

  • 无厘头编程 2021-01-18 06:27
    关注

    接着用你的测一次:

    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

    吗?

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(10条)
编辑
预览

报告相同问题?

悬赏问题

  • ¥15 请教前后端分离的问题
  • ¥100 冷钱包突然失效,急寻解决方案
  • ¥15 下载honeyd时报错 configure: error: you need to instal a more recent version of libdnet
  • ¥15 距离软磁铁一定距离的磁感应强度大小怎么求
  • ¥15 霍尔传感器hmc5883l的xyz轴输出和该点的磁感应强度大小的关系是什么
  • ¥15 vscode开发micropython,import模块出现异常
  • ¥20 Excel数据自动录入表单并提交
  • ¥30 silcavo仿真,30分钟,只需要代码
  • ¥15 FastReport 怎么实现打印后马上关闭打印预览窗口
  • ¥15 利用3支股票数据估计其均值和方差的95%置信区间。
手机看
程序员都在用的中文IT技术交流社区

程序员都在用的中文IT技术交流社区

专业的中文 IT 技术社区,与千万技术人共成长

专业的中文 IT 技术社区,与千万技术人共成长

关注【CSDN】视频号,行业资讯、技术分享精彩不断,直播好礼送不停!

关注【CSDN】视频号,行业资讯、技术分享精彩不断,直播好礼送不停!

客服 返回
顶部