TotalSegmentator License Activation Issues

I recently obtained a license in order to use the heartchambers highres option. I am unable to activate my license. When I put the code sent to my email in the python console, I get a syntax error. Not sure if this is the correct place to activate the license and I cannot find any help online

if you use slicer 5.6, you can do it directly form the totalsegmentator extension

Hello,

Could you tell me how to obtain a licence activation in order to segment the CT with the model tissue.

Tx in advance,
Camille

For non-commercial license you can go there Streamlit

For a commercial license contact jakob.wasserthal@usb.ch)

1 Like

Hi,everyone,
The error information during TotalSegmentator installing as below:
Traceback (most recent call last):
File “/Applications/Slicer.app/Contents/bin/Python/slicer/util.py”, line 3255, in tryWithErrorDisplay
yield
File “/Applications/Slicer.app/Contents/Extensions-32448/TotalSegmentator/lib/Slicer-5.6/qt-scripted-modules/TotalSegmentator.py”, line 334, in onSetLicense
self.logic.setupPythonRequirements()
File “/Applications/Slicer.app/Contents/Extensions-32448/TotalSegmentator/lib/Slicer-5.6/qt-scripted-modules/TotalSegmentator.py”, line 806, in setupPythonRequirements
skippedRequirements = self.pipInstallSelective(
File “/Applications/Slicer.app/Contents/Extensions-32448/TotalSegmentator/lib/Slicer-5.6/qt-scripted-modules/TotalSegmentator.py”, line 708, in pipInstallSelective
slicer.util.pip_install(requirement)
File “/Applications/Slicer.app/Contents/bin/Python/slicer/util.py”, line 3887, in pip_install
_executePythonModule(“pip”, args)
File “/Applications/Slicer.app/Contents/bin/Python/slicer/util.py”, line 3848, in _executePythonModule
logProcessOutput(proc)
File “/Applications/Slicer.app/Contents/bin/Python/slicer/util.py”, line 3814, in logProcessOutput
raise CalledProcessError(retcode, proc.args, output=proc.stdout, stderr=proc.stderr)
subprocess.CalledProcessError: Command ‘[’/Applications/Slicer.app/Contents/bin/../bin/PythonSlicer’, ‘-m’, ‘pip’, ‘install’, ‘dicom2nifti’]’ returned non-zero exit status 2.
What is the reason about this and how to solve the issue?
Thanksm

Have you solved it? I encountered the same problem and the license setting failed.

Original message

请问您解决了吗,我遇到了相同问题,license设置失败

See more details here: TotalSegmentator Extra Task License Not Saved in Slicer 6.2 - #14 by bulala

@bulala Please give a chance for people to respond before posting the same question at multiple places. In exceptional cases, if you are desperate to get an answer as soon as possible from as many people as possible at the same time, then it might be acceptable to post to several topics at once, but then at least add a link to all other places where you asked to make people aware of this.

The problem has not been solved until now.

First, replace the following Python file in the directory (you can make a backup copy if you wish):
C:\Users\XXXXX\AppData\Local\slicer.org\Slicer 5.8.1\slicer.org\Extensions-33241\TotalSegmentator\lib\Slicer-5.8\qt-scripted-modules
Then try entering your license number again.
Please let me know if it worked for you.