-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I cannot install the dependencies. #46
Comments
There is a long list of dependencies that has to be installed. It might take a while. To make sure that it is actually progressing and is not stuck, can you please share the content of "Python Console" with me? Python Console is a panel at the bottom of the Slicer window. If you can't see it, press Ctrl+3. |
self._target(*self._args, **self._kwargs) |
self._target(*self._args, **self._kwargs) |
Thank you for your prompt and detailed response to my query. I followed
your suggestion and opened the Python Console in 3D Slicer to check the
progress of the dependency installation. Below is the error message I found:
self._target(*self._args, **self._kwargs)
File "D:/MedSAMSlicer-0.12/MedSAMSlicer-0.12/MedSAMLite/MedSAMLite.py",
line 622, in run
pip_install_wrapper slicer.util.pip_install(command)
File "D:/Software/New/Slicer 5.6.2/bin/Python/slicer/util.py", line 3887,
in pip_install
_executePythonModule("pip", args)
File "D:/Software/New/Slicer 5.6.2/bin/Python/slicer/util.py", line 3848,
in _executePythonModule
logProcessOutput(proc)
File "D:/Software/New/Slicer 5.6.2/bin/Python/slicer/util.py", line 3814,
in logProcessOutput
raise CalledProcessError(retcode, proc.args, output=proc.stdout,
stderr=proc.stderr)
subprocess.CalledProcessError: Command '['D:/Software/New/Slicer
5.6.2/bin/../bin\PythonSlicer.EXE', '-m', 'pip', 'install',
'onnx>=1.16.2']' returned non-zero exit status 2.
It seems that the installation process encountered an error while trying to
install onnx>=1.16.2. Could you please advise on how to resolve this issue?
I have a few additional details that might help troubleshoot the problem:
1. My operating system is [specify your OS, e.g., Windows 10].
2. I am using 3D Slicer version 5.6.2.
3. I have ensured that Python and pip are correctly configured within
Slicer.
If you need any other logs or information, please let me know. I truly
appreciate your assistance and guidance on this matter.
Best regards,
Caiming Weng
Reza Asakereh ***@***.***> 于2024年10月29日周二 13:02写道:
… There is a long list of dependencies that has to be installed. It might
take a while. To make sure that it is actually progressing and is not
stuck, can you please share the content of "Python Console" with me? Python
Console is a panel at the bottom of the Slicer window. If you can't see it,
press Ctrl+3.
—
Reply to this email directly, view it on GitHub
<#46 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BMMK7NLGC4ZXLDX4SBQVKG3Z54JF7AVCNFSM6AAAAABQXVASXOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINBTGIYTQNBYGU>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
As onnx is the first dependency in the list, i'd say the problem isn't with the package itself, but the whole installation. first, make sure you are using a stable network connection and you're not behind any restrictive firewall. |
I successfully imported the MesSAM extension into 3D Slicer according to the installation guide on YouTube, but when prompted to install the dependencies, the progress stays stuck on the installation screen.
The text was updated successfully, but these errors were encountered: