How do I integrate these installed extensions and python into the EXE installation package?

Operating system:Windows 11
Slicer version:5.8.1
Expected behavior:
Actual behavior:

Thank you 3D Slicer for providing such a handy medical imaging software. Due to network issues, I installed some extension packages offline. However, many of the Python packages required by these extensions are not installed. What should I do to install the corresponding versions of these Python packages?

It would be hard to install all dependencies manually. I would recommend to perform segmentation once with each model you want to use to ensure all required Python libraries and models are installed. All Python package are stored in the application’s folder and so later you will not need network connection. You can even copy the application folder to different computers and it will just work, you just have to move the model files over to the new computer.

1 Like

Thank you for your reply. I have packaged all the files under the installation path,C:\Users\320280359\AppData\Roaming\slicer.org. Do I need any other files?

1.All files under the installation path

2.C:\Users\320280359\AppData\Roaming\slicer.org

Zipped everything in Slicer 5.8.1. And it worked for me.

请问还有啥文件,我感觉好乱,尤其C盘,它解决了py包问题,但是还是有一些冲突

就是安装路径下的所有文件都打包就可以了。