open3D not installing when opening ALPACA for the first time

I have Slicer 4.11.20210226 on Windows 10. When trying to use ALPACA for the first time, the software attempts to upgrade open3d however never manages to. I am met with the following errors.

Requirement already satisfied: cpdalp in c:\users\meilake\appdata\local\na-mic\slicer 4.11.20210226\lib\python\lib\site-packages (1.2.0)
Requirement already satisfied: numpy in c:\users\meilake\appdata\local\na-mic\slicer 4.11.20210226\lib\python\lib\site-packages (from cpdalp) (1.19.2)
WARNING: You are using pip version 20.3.3; however, version 21.3.1 is available.
You should consider upgrading via the 'C:\Users\meilake\AppData\Local\NA-MIC\Slicer 4.11.20210226\bin\python-real.exe -m pip install --upgrade pip' command.
ERROR: open3d-0.14.1+816263b-cp39-cp39-win_amd64.whl is not a supported wheel on this platform.
WARNING: You are using pip version 20.3.3; however, version 21.3.1 is available.
You should consider upgrading via the 'C:\Users\meilake\AppData\Local\NA-MIC\Slicer 4.11.20210226\bin\python-real.exe -m pip install --upgrade pip' command.
Traceback (most recent call last):
  File "C:/Users/meilake/AppData/Local/NA-MIC/Slicer 4.11.20210226/NA-MIC/Extensions-29738/SlicerMorph/lib/Slicer-4.11/qt-scripted-modules/ALPACA.py", line 146, in __init__
    slicer.util.pip_install(wheelPath)
  File "C:\Users\meilake\AppData\Local\NA-MIC\Slicer 4.11.20210226\bin\Python\slicer\util.py", line 2876, in pip_install
    _executePythonModule('pip', args)
  File "C:\Users\meilake\AppData\Local\NA-MIC\Slicer 4.11.20210226\bin\Python\slicer\util.py", line 2851, in _executePythonModule
    logProcessOutput(proc)
  File "C:\Users\meilake\AppData\Local\NA-MIC\Slicer 4.11.20210226\bin\Python\slicer\util.py", line 2820, in logProcessOutput
    raise CalledProcessError(retcode, proc.args, output=proc.stdout, stderr=proc.stderr)
subprocess.CalledProcessError: Command '['C:/Users/meilake/AppData/Local/NA-MIC/Slicer 4.11.20210226/bin/../bin\\PythonSlicer.EXE', '-m', 'pip', 'install', 'C:/Users/meilake/AppData/Local/NA-MIC/Slicer/cache/SlicerIO/open3d-0.14.1+816263b-cp39-cp39-win_amd64.whl']' returned non-zero exit status 1.

When I try to apply the fixed posted on a related forum post:

Then I get further messages and the problem is not resolved:

Requirement already satisfied: pywinpty==1.1.6 in c:\users\meilake\appdata\local\na-mic\slicer 4.11.20210226\lib\python\lib\site-packages (1.1.6)

WARNING: You are using pip version 20.3.3; however, version 21.3.1 is available.

You should consider upgrading via the 'C:\Users\meilake\AppData\Local\NA-MIC\Slicer 4.11.20210226\bin\python-real.exe -m pip install --upgrade pip' command.

Any help you could give me would be much appreciated.

@smrolfe @muratmaga Are you all providing a Python 3.9 whl for Slicer 4.11.20210226 which is using Python 3.6?

It is a bit complicated.

There are a lot of complications with getting open3d working particularly on Linux and maintaining different python versions between stable and preview and meanwhile making ALPACA consistently run on all platforms (there is some sort of a bug in their ransac implementation in certain open3d releases in mac and linux). Given the release of 5.0 stable is imminent, we put our efforts in making the preview version working reliably.

@Erik.Meilak If you have to use that version, please download a prepackaged Slicer installation with ALPACA and open3d installed and ready to go from here:

https://app.box.com/shared/static/xziombnoti3jbrc8hqp236v95ghcz2c2.zip

Do not update SlicerMorph or any of the extensions, unzip and use them as is.

1 Like

Although we may not continue supporting the Stable version, we have just pushed a fix to correct this issue.

@Erik.Meilak this error can also be fixed manually by running the following lines in the Python interactor:

slicer.util.pip_install('pywinpty==1.1.6')
slicer.util.pip_install('notebook==6.0.3')
slicer.util.pip_install('open3d==0.10.0')
slicer.util.pip_install('cpdalp')

Thank you all for your swift replies, I followed Sara’s instructions and it now works!

2 Likes

l have try all the methods in this topic,downlod the slicer5.1.0,but ALPACA can’t open,could you help me

Can you tell us your on what OS you are running, and what error message are you seeing if you expand the python console?

I just tried with the fresh install of the latest preview on windows (r30987). It takes about 1 minute for open3d to install on a new system, and then ALPACA is available:

Collecting cpdalp
  Using cached cpdalp-1.2.0-py3-none-any.whl (18 kB)
Requirement already satisfied: numpy in c:\users\murat\appdata\local\na-mic\slicer 5.1.0-2022-06-01\lib\python\lib\site-packages (from cpdalp) (1.22.1)
Installing collected packages: cpdalp
Successfully installed cpdalp-1.2.0
WARNING: You are using pip version 22.0.3; however, version 22.1.2 is available.
You should consider upgrading via the 'C:\Users\murat\AppData\Local\NA-MIC\Slicer 5.1.0-2022-06-01\bin\python-real.exe -m pip install --upgrade pip' command.
Processing c:\users\murat\desktop\open3d-0.14.1+816263b-cp39-cp39-win_amd64.whl
Collecting ipywidgets>=7.6.0
  Using cached ipywidgets-7.7.0-py2.py3-none-any.whl (123 kB)
Collecting jupyter-packaging~=0.10
  Downloading jupyter_packaging-0.12.1-py3-none-any.whl (15 kB)
Collecting pygments>=2.7.4
  Using cached Pygments-2.12.0-py3-none-any.whl (1.1 MB)
Requirement already satisfied: numpy>=1.18.0 in c:\users\murat\appdata\local\na-mic\slicer 5.1.0-2022-06-01\lib\python\lib\site-packages (from open3d==0.14.1+816263b) (1.22.1)
Collecting jupyterlab==3.*,>=3.0.0
  Using cached jupyterlab-3.4.2-py3-none-any.whl (8.8 MB)
Requirement already satisfied: setuptools>=40.8.0 in c:\users\murat\appdata\local\na-mic\slicer 5.1.0-2022-06-01\lib\python\lib\site-packages (from open3d==0.14.1+816263b) (60.9.3)
Requirement already satisfied: wheel>=0.36.0 in c:\users\murat\appdata\local\na-mic\slicer 5.1.0-2022-06-01\lib\python\lib\site-packages (from open3d==0.14.1+816263b) (0.37.1)
Collecting jupyter-server~=1.16
  Using cached jupyter_server-1.17.0-py3-none-any.whl (342 kB)
Requirement already satisfied: packaging in c:\users\murat\appdata\local\na-mic\slicer 5.1.0-2022-06-01\lib\python\lib\site-packages (from jupyterlab==3.*,>=3.0.0->open3d==0.14.1+816263b) (21.3)
Collecting nbclassic~=0.2
  Using cached nbclassic-0.3.7-py3-none-any.whl (13 kB)
Collecting jupyterlab-server~=2.10
  Using cached jupyterlab_server-2.14.0-py3-none-any.whl (54 kB)
Collecting ipython
  Downloading ipython-8.4.0-py3-none-any.whl (750 kB)
     ------------------------------------- 750.8/750.8 KB 15.8 MB/s eta 0:00:00
Collecting tornado>=6.1.0
  Using cached tornado-6.1-cp39-cp39-win_amd64.whl (422 kB)
Collecting jupyter-core
  Using cached jupyter_core-4.10.0-py3-none-any.whl (87 kB)
Collecting jinja2>=2.1
  Using cached Jinja2-3.1.2-py3-none-any.whl (133 kB)
Collecting traitlets>=4.3.1
  Downloading traitlets-5.2.2.post1-py3-none-any.whl (106 kB)
     -------------------------------------- 106.8/106.8 KB 6.0 MB/s eta 0:00:00
Collecting nbformat>=4.2.0
  Using cached nbformat-5.4.0-py3-none-any.whl (73 kB)
Collecting ipykernel>=4.5.1
  Using cached ipykernel-6.13.0-py3-none-any.whl (131 kB)
Collecting ipython-genutils~=0.2.0
  Using cached ipython_genutils-0.2.0-py2.py3-none-any.whl (26 kB)
Collecting jupyterlab-widgets>=1.0.0
  Using cached jupyterlab_widgets-1.1.0-py3-none-any.whl (245 kB)
Collecting widgetsnbextension~=3.6.0
  Using cached widgetsnbextension-3.6.0-py2.py3-none-any.whl (1.6 MB)
Collecting deprecation
  Using cached deprecation-2.1.0-py2.py3-none-any.whl (11 kB)
Collecting tomlkit
  Downloading tomlkit-0.11.0-py3-none-any.whl (34 kB)
Collecting jupyter-client>=6.1.12
  Using cached jupyter_client-7.3.1-py3-none-any.whl (130 kB)
Collecting debugpy>=1.0
  Using cached debugpy-1.6.0-cp39-cp39-win_amd64.whl (4.3 MB)
Collecting psutil
  Downloading psutil-5.9.1-cp39-cp39-win_amd64.whl (245 kB)
     ------------------------------------- 245.9/245.9 KB 14.7 MB/s eta 0:00:00
Collecting matplotlib-inline>=0.1
  Using cached matplotlib_inline-0.1.3-py3-none-any.whl (8.2 kB)
Collecting nest-asyncio
  Using cached nest_asyncio-1.5.5-py3-none-any.whl (5.2 kB)
Collecting pickleshare
  Using cached pickleshare-0.7.5-py2.py3-none-any.whl (6.9 kB)
Collecting decorator
  Using cached decorator-5.1.1-py3-none-any.whl (9.1 kB)
Collecting prompt-toolkit!=3.0.0,!=3.0.1,<3.1.0,>=2.0.0
  Using cached prompt_toolkit-3.0.29-py3-none-any.whl (381 kB)
Collecting backcall
  Using cached backcall-0.2.0-py2.py3-none-any.whl (11 kB)
Collecting stack-data
  Using cached stack_data-0.2.0-py3-none-any.whl (21 kB)
Collecting colorama
  Using cached colorama-0.4.4-py2.py3-none-any.whl (16 kB)
Collecting jedi>=0.16
  Using cached jedi-0.18.1-py2.py3-none-any.whl (1.6 MB)
Collecting MarkupSafe>=2.0
  Using cached MarkupSafe-2.1.1-cp39-cp39-win_amd64.whl (17 kB)
Collecting pyzmq>=17
  Downloading pyzmq-23.1.0-cp39-cp39-win_amd64.whl (991 kB)
     ------------------------------------- 992.0/992.0 KB 31.7 MB/s eta 0:00:00
Collecting Send2Trash
  Using cached Send2Trash-1.8.0-py3-none-any.whl (18 kB)
Collecting anyio<4,>=3.1.0
  Using cached anyio-3.6.1-py3-none-any.whl (80 kB)
Collecting argon2-cffi
  Using cached argon2_cffi-21.3.0-py3-none-any.whl (14 kB)
Collecting terminado>=0.8.3
  Using cached terminado-0.15.0-py3-none-any.whl (16 kB)
Collecting websocket-client
  Using cached websocket_client-1.3.2-py3-none-any.whl (54 kB)
Collecting pywinpty
  Using cached pywinpty-2.0.5-cp39-none-win_amd64.whl (1.4 MB)
Collecting nbconvert>=6.4.4
  Using cached nbconvert-6.5.0-py3-none-any.whl (561 kB)
Collecting prometheus-client
  Using cached prometheus_client-0.14.1-py3-none-any.whl (59 kB)
Collecting pywin32>=1.0
  Using cached pywin32-304-cp39-cp39-win_amd64.whl (12.2 MB)
Collecting importlib-metadata>=3.6
  Downloading importlib_metadata-4.11.4-py3-none-any.whl (18 kB)
Collecting babel
  Using cached Babel-2.10.1-py3-none-any.whl (9.5 MB)
Collecting jsonschema>=3.0.1
  Downloading jsonschema-4.6.0-py3-none-any.whl (80 kB)
     ---------------------------------------- 80.4/80.4 KB ? eta 0:00:00
Collecting json5
  Using cached json5-0.9.8-py2.py3-none-any.whl
Requirement already satisfied: requests in c:\users\murat\appdata\local\na-mic\slicer 5.1.0-2022-06-01\lib\python\lib\site-packages (from jupyterlab-server~=2.10->jupyterlab==3.*,>=3.0.0->open3d==0.14.1+816263b) (2.27.1)
Collecting notebook<7
  Using cached notebook-6.4.11-py3-none-any.whl (9.9 MB)
Collecting notebook-shim>=0.1.0
  Using cached notebook_shim-0.1.0-py3-none-any.whl (13 kB)
Collecting fastjsonschema
  Using cached fastjsonschema-2.15.3-py3-none-any.whl (22 kB)
Requirement already satisfied: pyparsing!=3.0.5,>=2.0.2 in c:\users\murat\appdata\local\na-mic\slicer 5.1.0-2022-06-01\lib\python\lib\site-packages (from packaging->jupyterlab==3.*,>=3.0.0->open3d==0.14.1+816263b) (3.0.7)
Requirement already satisfied: idna>=2.8 in c:\users\murat\appdata\local\na-mic\slicer 5.1.0-2022-06-01\lib\python\lib\site-packages (from anyio<4,>=3.1.0->jupyter-server~=1.16->jupyterlab==3.*,>=3.0.0->open3d==0.14.1+816263b) (3.3)
Collecting sniffio>=1.1
  Using cached sniffio-1.2.0-py3-none-any.whl (10 kB)
Collecting zipp>=0.5
  Using cached zipp-3.8.0-py3-none-any.whl (5.4 kB)
Collecting parso<0.9.0,>=0.8.0
  Using cached parso-0.8.3-py2.py3-none-any.whl (100 kB)
Collecting attrs>=17.4.0
  Using cached attrs-21.4.0-py2.py3-none-any.whl (60 kB)
Collecting pyrsistent!=0.17.0,!=0.17.1,!=0.17.2,>=0.14.0
  Using cached pyrsistent-0.18.1-cp39-cp39-win_amd64.whl (61 kB)
Requirement already satisfied: python-dateutil>=2.8.2 in c:\users\murat\appdata\local\na-mic\slicer 5.1.0-2022-06-01\lib\python\lib\site-packages (from jupyter-client>=6.1.12->ipykernel>=4.5.1->ipywidgets>=7.6.0->open3d==0.14.1+816263b) (2.8.2)
Collecting entrypoints
  Using cached entrypoints-0.4-py3-none-any.whl (5.3 kB)
Collecting bleach
  Using cached bleach-5.0.0-py3-none-any.whl (160 kB)
Collecting tinycss2
  Using cached tinycss2-1.1.1-py3-none-any.whl (21 kB)
Collecting beautifulsoup4
  Using cached beautifulsoup4-4.11.1-py3-none-any.whl (128 kB)
Collecting defusedxml
  Using cached defusedxml-0.7.1-py2.py3-none-any.whl (25 kB)
Collecting mistune<2,>=0.8.1
  Using cached mistune-0.8.4-py2.py3-none-any.whl (16 kB)
Collecting nbclient>=0.5.0
  Downloading nbclient-0.6.4-py3-none-any.whl (71 kB)
     ---------------------------------------- 71.8/71.8 KB ? eta 0:00:00
Collecting jupyterlab-pygments
  Using cached jupyterlab_pygments-0.2.2-py2.py3-none-any.whl (21 kB)
Collecting pandocfilters>=1.4.1
  Using cached pandocfilters-1.5.0-py2.py3-none-any.whl (8.7 kB)
Collecting wcwidth
  Using cached wcwidth-0.2.5-py2.py3-none-any.whl (30 kB)
Collecting argon2-cffi-bindings
  Using cached argon2_cffi_bindings-21.2.0-cp36-abi3-win_amd64.whl (30 kB)
Requirement already satisfied: pytz>=2015.7 in c:\users\murat\appdata\local\na-mic\slicer 5.1.0-2022-06-01\lib\python\lib\site-packages (from babel->jupyterlab-server~=2.10->jupyterlab==3.*,>=3.0.0->open3d==0.14.1+816263b) (2022.1)
Requirement already satisfied: certifi>=2017.4.17 in c:\users\murat\appdata\local\na-mic\slicer 5.1.0-2022-06-01\lib\python\lib\site-packages (from requests->jupyterlab-server~=2.10->jupyterlab==3.*,>=3.0.0->open3d==0.14.1+816263b) (2021.10.8)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in c:\users\murat\appdata\local\na-mic\slicer 5.1.0-2022-06-01\lib\python\lib\site-packages (from requests->jupyterlab-server~=2.10->jupyterlab==3.*,>=3.0.0->open3d==0.14.1+816263b) (1.26.8)
Requirement already satisfied: charset-normalizer~=2.0.0 in c:\users\murat\appdata\local\na-mic\slicer 5.1.0-2022-06-01\lib\python\lib\site-packages (from requests->jupyterlab-server~=2.10->jupyterlab==3.*,>=3.0.0->open3d==0.14.1+816263b) (2.0.12)
Collecting pure-eval
  Using cached pure_eval-0.2.2-py3-none-any.whl (11 kB)
Collecting executing
  Using cached executing-0.8.3-py2.py3-none-any.whl (16 kB)
Collecting asttokens
  Using cached asttokens-2.0.5-py2.py3-none-any.whl (20 kB)
Requirement already satisfied: six>=1.5 in c:\users\murat\appdata\local\na-mic\slicer 5.1.0-2022-06-01\lib\python\lib\site-packages (from python-dateutil>=2.8.2->jupyter-client>=6.1.12->ipykernel>=4.5.1->ipywidgets>=7.6.0->open3d==0.14.1+816263b) (1.16.0)
Requirement already satisfied: cffi>=1.0.1 in c:\users\murat\appdata\local\na-mic\slicer 5.1.0-2022-06-01\lib\python\lib\site-packages (from argon2-cffi-bindings->argon2-cffi->jupyter-server~=1.16->jupyterlab==3.*,>=3.0.0->open3d==0.14.1+816263b) (1.15.0)
Collecting soupsieve>1.2
  Using cached soupsieve-2.3.2.post1-py3-none-any.whl (37 kB)
Collecting webencodings
  Using cached webencodings-0.5.1-py2.py3-none-any.whl (11 kB)
Requirement already satisfied: pycparser in c:\users\murat\appdata\local\na-mic\slicer 5.1.0-2022-06-01\lib\python\lib\site-packages (from cffi>=1.0.1->argon2-cffi-bindings->argon2-cffi->jupyter-server~=1.16->jupyterlab==3.*,>=3.0.0->open3d==0.14.1+816263b) (2.21)
Installing collected packages: webencodings, wcwidth, Send2Trash, pywin32, pure-eval, pickleshare, mistune, json5, ipython-genutils, fastjsonschema, executing, backcall, zipp, websocket-client, traitlets, tornado, tomlkit, tinycss2, soupsieve, sniffio, pyzmq, pywinpty, pyrsistent, pygments, psutil, prompt-toolkit, prometheus-client, parso, pandocfilters, nest-asyncio, MarkupSafe, jupyterlab-widgets, jupyterlab-pygments, entrypoints, defusedxml, decorator, debugpy, colorama, bleach, babel, attrs, asttokens, terminado, stack-data, matplotlib-inline, jupyter-core, jsonschema, jinja2, jedi, importlib-metadata, deprecation, beautifulsoup4, argon2-cffi-bindings, anyio, nbformat, jupyter-packaging, jupyter-client, ipython, argon2-cffi, nbclient, ipykernel, nbconvert, notebook, jupyter-server, widgetsnbextension, notebook-shim, jupyterlab-server, nbclassic, ipywidgets, jupyterlab, open3d
  WARNING: The script send2trash.exe is installed in 'C:\Users\murat\AppData\Local\NA-MIC\Slicer 5.1.0-2022-06-01\lib\Python\Scripts' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
  WARNING: The script pyjson5.exe is installed in 'C:\Users\murat\AppData\Local\NA-MIC\Slicer 5.1.0-2022-06-01\lib\Python\Scripts' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
  WARNING: The script wsdump.exe is installed in 'C:\Users\murat\AppData\Local\NA-MIC\Slicer 5.1.0-2022-06-01\lib\Python\Scripts' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
  WARNING: The script pygmentize.exe is installed in 'C:\Users\murat\AppData\Local\NA-MIC\Slicer 5.1.0-2022-06-01\lib\Python\Scripts' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
  WARNING: The script pybabel.exe is installed in 'C:\Users\murat\AppData\Local\NA-MIC\Slicer 5.1.0-2022-06-01\lib\Python\Scripts' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
  WARNING: The scripts jupyter-migrate.exe, jupyter-troubleshoot.exe and jupyter.exe are installed in 'C:\Users\murat\AppData\Local\NA-MIC\Slicer 5.1.0-2022-06-01\lib\Python\Scripts' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
  WARNING: The script jsonschema.exe is installed in 'C:\Users\murat\AppData\Local\NA-MIC\Slicer 5.1.0-2022-06-01\lib\Python\Scripts' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
  WARNING: The script jupyter-trust.exe is installed in 'C:\Users\murat\AppData\Local\NA-MIC\Slicer 5.1.0-2022-06-01\lib\Python\Scripts' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
  WARNING: The scripts jupyter-kernel.exe, jupyter-kernelspec.exe and jupyter-run.exe are installed in 'C:\Users\murat\AppData\Local\NA-MIC\Slicer 5.1.0-2022-06-01\lib\Python\Scripts' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
  WARNING: The scripts ipython.exe and ipython3.exe are installed in 'C:\Users\murat\AppData\Local\NA-MIC\Slicer 5.1.0-2022-06-01\lib\Python\Scripts' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
  WARNING: The script jupyter-execute.exe is installed in 'C:\Users\murat\AppData\Local\NA-MIC\Slicer 5.1.0-2022-06-01\lib\Python\Scripts' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
  WARNING: The scripts jupyter-dejavu.exe and jupyter-nbconvert.exe are installed in 'C:\Users\murat\AppData\Local\NA-MIC\Slicer 5.1.0-2022-06-01\lib\Python\Scripts' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
  WARNING: The scripts jupyter-bundlerextension.exe, jupyter-nbextension.exe, jupyter-notebook.exe and jupyter-serverextension.exe are installed in 'C:\Users\murat\AppData\Local\NA-MIC\Slicer 5.1.0-2022-06-01\lib\Python\Scripts' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
  WARNING: The script jupyter-server.exe is installed in 'C:\Users\murat\AppData\Local\NA-MIC\Slicer 5.1.0-2022-06-01\lib\Python\Scripts' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
  WARNING: The script jupyter-nbclassic.exe is installed in 'C:\Users\murat\AppData\Local\NA-MIC\Slicer 5.1.0-2022-06-01\lib\Python\Scripts' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
  WARNING: The scripts jlpm.exe, jupyter-lab.exe, jupyter-labextension.exe and jupyter-labhub.exe are installed in 'C:\Users\murat\AppData\Local\NA-MIC\Slicer 5.1.0-2022-06-01\lib\Python\Scripts' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
  WARNING: The script open3d.exe is installed in 'C:\Users\murat\AppData\Local\NA-MIC\Slicer 5.1.0-2022-06-01\lib\Python\Scripts' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Successfully installed MarkupSafe-2.1.1 Send2Trash-1.8.0 anyio-3.6.1 argon2-cffi-21.3.0 argon2-cffi-bindings-21.2.0 asttokens-2.0.5 attrs-21.4.0 babel-2.10.1 backcall-0.2.0 beautifulsoup4-4.11.1 bleach-5.0.0 colorama-0.4.4 debugpy-1.6.0 decorator-5.1.1 defusedxml-0.7.1 deprecation-2.1.0 entrypoints-0.4 executing-0.8.3 fastjsonschema-2.15.3 importlib-metadata-4.11.4 ipykernel-6.13.0 ipython-8.4.0 ipython-genutils-0.2.0 ipywidgets-7.7.0 jedi-0.18.1 jinja2-3.1.2 json5-0.9.8 jsonschema-4.6.0 jupyter-client-7.3.1 jupyter-core-4.10.0 jupyter-packaging-0.12.1 jupyter-server-1.17.0 jupyterlab-3.4.2 jupyterlab-pygments-0.2.2 jupyterlab-server-2.14.0 jupyterlab-widgets-1.1.0 matplotlib-inline-0.1.3 mistune-0.8.4 nbclassic-0.3.7 nbclient-0.6.4 nbconvert-6.5.0 nbformat-5.4.0 nest-asyncio-1.5.5 notebook-6.4.11 notebook-shim-0.1.0 open3d-0.14.1+816263b pandocfilters-1.5.0 parso-0.8.3 pickleshare-0.7.5 prometheus-client-0.14.1 prompt-toolkit-3.0.29 psutil-5.9.1 pure-eval-0.2.2 pygments-2.12.0 pyrsistent-0.18.1 pywin32-304 pywinpty-2.0.5 pyzmq-23.1.0 sniffio-1.2.0 soupsieve-2.3.2.post1 stack-data-0.2.0 terminado-0.15.0 tinycss2-1.1.1 tomlkit-0.11.0 tornado-6.1 traitlets-5.2.2.post1 wcwidth-0.2.5 webencodings-0.5.1 websocket-client-1.3.2 widgetsnbextension-3.6.0 zipp-3.8.0
WARNING: You are using pip version 22.0.3; however, version 22.1.2 is available.
You should consider upgrading via the 'C:\Users\murat\AppData\Local\NA-MIC\Slicer 5.1.0-2022-06-01\bin\python-real.exe -m pip install --upgrade pip' command.

image

thank you for your reply. i use windows system.
python interactor show as picture

It appears that you cannot download the open3d wheel for some reason. Not clearly why.

What happens if you type this address to a web browser, can you download the file?
https://app.box.com/shared/static/friq8fhfi8n4syklt1v47rmuf58zro75.whl

If it does download, open Slicer, go to Python interactor and try:
pip_install("/your/download/path/to/open3d-0.14.1+816263b-cp39-cp39-win_amd64.whl")
and replace /your/download/path/to/ with the actual path of this wheel on your computer.

l can download,ihave try,python show as the picture

You have typo in your path take out the first / before D and re-try

when l removed / the same result,but i noticed “requirement D:/anzhuang/open3d…amd64.whl looks like a filename,but the file does not exist”i wound whether the command malformed

Can you find the locate the wheel file in the windows explorer? It is not clear to me if the wheel is not correctly or it is being downloaded to path that pip cannot find…

M

1 Like

Consider executing the following snippet and updating the value associated the variable wheel_filepath until it does not fail with the Invalid path assertion.

import os

wheel_filepath = "D:/your/download/path/to/open3d-0.14.1+816263b-cp39-cp39-win_amd64.whl"
assert os.path.exists(wheel_filepath), "Invalid path"

once it succeeds, you should be able to run:

pip_install(wheel_filepath)
1 Like

i made it ,i am grateful for your help

Glad you were able to sort out the problem :100:

So that what you discovered is helpful to others, could you share your findings ? What was the root cause of the problems ?

i followed your process,i found it first removed the open3d-0. 15(i don’t know why and when it download)and then i close and reopen,i found success