Failed to install Python dependencies:
Command ‘[‘C:/ProgramData/slicer.org/Slicer 5.7.0-2024-09-03/bin/…/bin\PythonSlicer.EXE’, ‘-m’, ‘pip’, ‘install’, ‘pandas’]’ returned non-zero exit status 1.
Please follow these instructions. Thank you!
Computer configuration: NVIDIA GeForce RTX 4070 Ti, Intel(R) Core™ i9-10850K CPU @3.60GHz, 128GB RAM
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘SSLError(SSLEOFError(8, ‘EOF occurred in violation of protocol (_ssl.c:1129)’))’: /simple/pandas/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘SSLError(SSLEOFError(8, ‘EOF occurred in violation of protocol (_ssl.c:1129)’))’: /simple/pandas/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘SSLError(SSLEOFError(8, ‘EOF occurred in violation of protocol (_ssl.c:1129)’))’: /simple/pandas/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘SSLError(SSLEOFError(8, ‘EOF occurred in violation of protocol (_ssl.c:1129)’))’: /simple/pandas/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘SSLError(SSLEOFError(8, ‘EOF occurred in violation of protocol (_ssl.c:1129)’))’: /simple/pandas/
Could not fetch URL https://pypi.org/simple/pandas/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host=‘pypi.org’, port=443): Max retries exceeded with url: /simple/pandas/ (Caused by SSLError(SSLEOFError(8, ‘EOF occurred in violation of protocol (_ssl.c:1129)’))) - skipping
ERROR: Could not find a version that satisfies the requirement pandas (from versions: none)
ERROR: No matching distribution found for pandas
Traceback (most recent call last):
File “C:/ProgramData/slicer.org/Slicer 5.7.0-2024-09-18/slicer.org/Extensions-33015/TotalSegmentator/lib/Slicer-5.7/qt-scripted-modules/TotalSegmentator.py”, line 717, in setupPythonRequirements
import pandas
ModuleNotFoundError: No module named ‘pandas’
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “C:/ProgramData/slicer.org/Slicer 5.7.0-2024-09-18/slicer.org/Extensions-33015/TotalSegmentator/lib/Slicer-5.7/qt-scripted-modules/TotalSegmentator.py”, line 274, in onApplyButton
self.logic.setupPythonRequirements()
File “C:/ProgramData/slicer.org/Slicer 5.7.0-2024-09-18/slicer.org/Extensions-33015/TotalSegmentator/lib/Slicer-5.7/qt-scripted-modules/TotalSegmentator.py”, line 719, in setupPythonRequirements
slicer.util.pip_install(“pandas”)
File “C:\ProgramData\slicer.org\Slicer 5.7.0-2024-09-18\bin\Python\slicer\util.py”, line 3927, in pip_install
_executePythonModule(“pip”, args)
File “C:\ProgramData\slicer.org\Slicer 5.7.0-2024-09-18\bin\Python\slicer\util.py”, line 3888, in _executePythonModule
logProcessOutput(proc)
File “C:\ProgramData\slicer.org\Slicer 5.7.0-2024-09-18\bin\Python\slicer\util.py”, line 3854, in logProcessOutput
raise CalledProcessError(retcode, proc.args, output=proc.stdout, stderr=proc.stderr)
subprocess.CalledProcessError: Command ‘[‘C:/ProgramData/slicer.org/Slicer 5.7.0-2024-09-18/bin/…/bin\PythonSlicer.EXE’, ‘-m’, ‘pip’, ‘install’, ‘pandas’]’ returned non-zero exit status 1.
[Python] Failed to install required packages.
[Python] Command ‘[‘C:/ProgramData/slicer.org/Slicer 5.7.0-2024-09-18/bin/…/bin\PythonSlicer.EXE’, ‘-m’, ‘pip’, ‘install’, ‘pandas’]’ returned non-zero exit status 1.
I am not a computer major, do not know how to solve
Thanks, this additional information helps a lot. It is likely that your institution interferes with your internet access.
You can find several similar topics, see for example [1] and [2].
Probably the simplest solution is to install Slicer and extensions on a computer with proper internet access and then copy that Slicer to the computers where you need to use it. Slicer is fully portable, so if you only copy the Slicer installation folder and downloaded TotalSegmentator weights from your user folder then it should all work.
I find PyTorch doesn’t seem to be installed. How can I fix it
You can choose a GPU (cuda) computation backend and click install.
However, since you seem to have an internet connectivity issue, you need to do this on a different computer or ask help from local IT personnel to get usable internet connection.
My network can get online, are you talking about my 3D slicer network connection problem? How to fix it?
It is not a 3D Slicer network connection problem, but an issue with your computer network settings (e.g., invalid/temporary SSL certificates issued by Zscaler or similar network security software on your computer) or your internet connection (e.g., aggressive proxy server preventing internet access of applications).
Ouch! How to solve this problem? Please give me some Pointers! So how do you do that?