python
秋山大壮
这个作者很懒,什么都没留下…
展开
-
ValueError: (7FE0,0010) Pixel Data has an undefined length indicating that it‘s compressed, but the
ValueError: (7FE0,0010) Pixel Data has an undefined length indicating that it's compressed, but the data isn't encapsulated as required. See pydicom.encaps.encapsulate() for more information解决办法:newim_array = sitk.GetArrayFromImage(newimage)ds.PixelData =原创 2022-06-01 19:19:36 · 904 阅读 · 0 评论 -
Mac 新建虚拟环境
先安装python3 方法1:brew install python3 安装最新版 方法2: 官网下载地址:Python Release Python 3.6.7 | Python.org 按照流程安装即可,会默认配置python3 环境。 查看方法which python3 新建虚拟环境 pip3 install pipenv 把pipenv 命令写成指令 ln -s /usr/local/python3/bin/pipenv /usr/bin/pipenv 如果报错 /usr/原创 2022-02-17 15:43:30 · 613 阅读 · 0 评论