Can't upgrade open3d

Hi,
When I first load ALPACA, it failed to upgrade and it hit “Error: please check the url of the open3d wheel in the script” .
I have tried the version 5.0.3 and 5.1.0. My computer system is windows 11.
I have searched in the forum and find a similar situation(Can't load open3d) and tried
type pip_install("open3d") into your python console and paste log.
After the pip install, type import open3d into your console, and paste the error message (if there is one).
it showed
Python 3.9.10 (main, Jul 8 2022, 02:32:50) [MSC v.1930 64 bit (AMD64)] on win32

pip_install(“open3d”)

Collecting open3d

Using cached open3d-0.15.1-cp39-cp39-win_amd64.whl (117.0 MB)

Requirement already satisfied: jupyter-packaging~=0.10 in d:\3d\slicer 5.0.3\lib\python\lib\site-packages (from open3d) (0.12.3)

Requirement already satisfied: wheel>=0.36.0 in d:\3d\slicer 5.0.3\lib\python\lib\site-packages (from open3d) (0.37.1)

Requirement already satisfied: setuptools>=40.8.0 in d:\3d\slicer 5.0.3\lib\python\lib\site-packages (from open3d) (60.9.3)

Requirement already satisfied: ipywidgets>=7.6.0 in d:\3d\slicer 5.0.3\lib\python\lib\site-packages (from open3d) (8.0.2)

Requirement already satisfied: numpy>=1.18.0 in d:\3d\slicer 5.0.3\lib\python\lib\site-packages (from open3d) (1.22.1)

Requirement already satisfied: jupyterlab==3.*,>=3.0.0 in d:\3d\slicer 5.0.3\lib\python\lib\site-packages (from open3d) (3.4.7)

Requirement already satisfied: pygments>=2.7.4 in d:\3d\slicer 5.0.3\lib\python\lib\site-packages (from open3d) (2.13.0)

Requirement already satisfied: notebook<7 in d:\3d\slicer 5.0.3\lib\python\lib\site-packages (from jupyterlab==3.*,>=3.0.0->open3d) (6.4.12)

Requirement already satisfied: tornado>=6.1.0 in d:\3d\slicer 5.0.3\lib\python\lib\site-packages (from jupyterlab==3.*,>=3.0.0->open3d) (6.2)

Requirement already satisfied: jupyter-core in d:\3d\slicer 5.0.3\lib\python\lib\site-packages (from jupyterlab==3.*,>=3.0.0->open3d) (4.11.1)

Requirement already satisfied: ipython in d:\3d\slicer 5.0.3\lib\python\lib\site-packages (from jupyterlab==3.*,>=3.0.0->open3d) (8.5.0)

Requirement already satisfied: packaging in d:\3d\slicer 5.0.3\lib\python\lib\site-packages (from jupyterlab==3.*,>=3.0.0->open3d) (21.3)

Requirement already satisfied: jupyterlab-server~=2.10 in d:\3d\slicer 5.0.3\lib\python\lib\site-packages (from jupyterlab==3.*,>=3.0.0->open3d) (2.15.1)

Requirement already satisfied: nbclassic in d:\3d\slicer 5.0.3\lib\python\lib\site-packages (from jupyterlab==3.*,>=3.0.0->open3d) (0.4.3)

Requirement already satisfied: tomli in d:\3d\slicer 5.0.3\lib\python\lib\site-packages (from jupyterlab==3.*,>=3.0.0->open3d) (2.0.1)

Requirement already satisfied: jupyter-server~=1.16 in d:\3d\slicer 5.0.3\lib\python\lib\site-packages (from jupyterlab==3.*,>=3.0.0->open3d) (1.18.1)

Requirement already satisfied: jinja2>=2.1 in d:\3d\slicer 5.0.3\lib\python\lib\site-packages (from jupyterlab==3.*,>=3.0.0->open3d) (3.1.2)

Requirement already satisfied: jupyterlab-widgets~=3.0 in d:\3d\slicer 5.0.3\lib\python\lib\site-packages (from ipywidgets>=7.6.0->open3d) (3.0.3)

Requirement already satisfied: ipykernel>=4.5.1 in d:\3d\slicer 5.0.3\lib\python\lib\site-packages (from ipywidgets>=7.6.0->open3d) (6.15.3)

Requirement already satisfied: widgetsnbextension~=4.0 in d:\3d\slicer 5.0.3\lib\python\lib\site-packages (from ipywidgets>=7.6.0->open3d) (4.0.3)

Requirement already satisfied: traitlets>=4.3.1 in d:\3d\slicer 5.0.3\lib\python\lib\site-packages (from ipywidgets>=7.6.0->open3d) (5.4.0)

Requirement already satisfied: tomlkit in d:\3d\slicer 5.0.3\lib\python\lib\site-packages (from jupyter-packaging~=0.10->open3d) (0.11.4)

Requirement already satisfied: deprecation in d:\3d\slicer 5.0.3\lib\python\lib\site-packages (from jupyter-packaging~=0.10->open3d) (2.1.0)

Requirement already satisfied: jupyter-client>=6.1.12 in d:\3d\slicer 5.0.3\lib\python\lib\site-packages (from ipykernel>=4.5.1->ipywidgets>=7.6.0->open3d) (7.3.5)

Requirement already satisfied: debugpy>=1.0 in d:\3d\slicer 5.0.3\lib\python\lib\site-packages (from ipykernel>=4.5.1->ipywidgets>=7.6.0->open3d) (1.6.3)

Requirement already satisfied: matplotlib-inline>=0.1 in d:\3d\slicer 5.0.3\lib\python\lib\site-packages (from ipykernel>=4.5.1->ipywidgets>=7.6.0->open3d) (0.1.6)

Requirement already satisfied: nest-asyncio in d:\3d\slicer 5.0.3\lib\python\lib\site-packages (from ipykernel>=4.5.1->ipywidgets>=7.6.0->open3d) (1.5.5)

Requirement already satisfied: psutil in d:\3d\slicer 5.0.3\lib\python\lib\site-packages (from ipykernel>=4.5.1->ipywidgets>=7.6.0->open3d) (5.9.2)

Requirement already satisfied: pyzmq>=17 in d:\3d\slicer 5.0.3\lib\python\lib\site-packages (from ipykernel>=4.5.1->ipywidgets>=7.6.0->open3d) (24.0.0)

Requirement already satisfied: jedi>=0.16 in d:\3d\slicer 5.0.3\lib\python\lib\site-packages (from ipython->jupyterlab==3.*,>=3.0.0->open3d) (0.18.1)

Requirement already satisfied: stack-data in d:\3d\slicer 5.0.3\lib\python\lib\site-packages (from ipython->jupyterlab==3.*,>=3.0.0->open3d) (0.5.0)

Requirement already satisfied: prompt-toolkit<3.1.0,>3.0.1 in d:\3d\slicer 5.0.3\lib\python\lib\site-packages (from ipython->jupyterlab==3.*,>=3.0.0->open3d) (3.0.31)

Requirement already satisfied: pickleshare in d:\3d\slicer 5.0.3\lib\python\lib\site-packages (from ipython->jupyterlab==3.*,>=3.0.0->open3d) (0.7.5)

Requirement already satisfied: backcall in d:\3d\slicer 5.0.3\lib\python\lib\site-packages (from ipython->jupyterlab==3.*,>=3.0.0->open3d) (0.2.0)

Requirement already satisfied: colorama in d:\3d\slicer 5.0.3\lib\python\lib\site-packages (from ipython->jupyterlab==3.*,>=3.0.0->open3d) (0.4.5)

Requirement already satisfied: decorator in d:\3d\slicer 5.0.3\lib\python\lib\site-packages (from ipython->jupyterlab==3.*,>=3.0.0->open3d) (5.1.1)

Requirement already satisfied: MarkupSafe>=2.0 in d:\3d\slicer 5.0.3\lib\python\lib\site-packages (from jinja2>=2.1->jupyterlab==3.*,>=3.0.0->open3d) (2.1.1)

Requirement already satisfied: anyio<4,>=3.1.0 in d:\3d\slicer 5.0.3\lib\python\lib\site-packages (from jupyter-server~=1.16->jupyterlab==3.*,>=3.0.0->open3d) (3.6.1)

Requirement already satisfied: websocket-client in d:\3d\slicer 5.0.3\lib\python\lib\site-packages (from jupyter-server~=1.16->jupyterlab==3.*,>=3.0.0->open3d) (1.4.1)

Requirement already satisfied: Send2Trash in d:\3d\slicer 5.0.3\lib\python\lib\site-packages (from jupyter-server~=1.16->jupyterlab==3.*,>=3.0.0->open3d) (1.8.0)

Requirement already satisfied: nbformat>=5.2.0 in d:\3d\slicer 5.0.3\lib\python\lib\site-packages (from jupyter-server~=1.16->jupyterlab==3.*,>=3.0.0->open3d) (5.5.0)

Requirement already satisfied: argon2-cffi in d:\3d\slicer 5.0.3\lib\python\lib\site-packages (from jupyter-server~=1.16->jupyterlab==3.*,>=3.0.0->open3d) (21.3.0)

Requirement already satisfied: terminado>=0.8.3 in d:\3d\slicer 5.0.3\lib\python\lib\site-packages (from jupyter-server~=1.16->jupyterlab==3.*,>=3.0.0->open3d) (0.15.0)

Requirement already satisfied: nbconvert>=6.4.4 in d:\3d\slicer 5.0.3\lib\python\lib\site-packages (from jupyter-server~=1.16->jupyterlab==3.*,>=3.0.0->open3d) (7.0.0)

Requirement already satisfied: prometheus-client in d:\3d\slicer 5.0.3\lib\python\lib\site-packages (from jupyter-server~=1.16->jupyterlab==3.*,>=3.0.0->open3d) (0.14.1)

Requirement already satisfied: pywinpty in d:\3d\slicer 5.0.3\lib\python\lib\site-packages (from jupyter-server~=1.16->jupyterlab==3.*,>=3.0.0->open3d) (2.0.8)

Requirement already satisfied: pywin32>=1.0 in d:\3d\slicer 5.0.3\lib\python\lib\site-packages (from jupyter-core->jupyterlab==3.*,>=3.0.0->open3d) (304)

Requirement already satisfied: requests in d:\3d\slicer 5.0.3\lib\python\lib\site-packages (from jupyterlab-server~=2.10->jupyterlab==3.*,>=3.0.0->open3d) (2.27.1)

Requirement already satisfied: babel in d:\3d\slicer 5.0.3\lib\python\lib\site-packages (from jupyterlab-server~=2.10->jupyterlab==3.*,>=3.0.0->open3d) (2.10.3)

Requirement already satisfied: json5 in d:\3d\slicer 5.0.3\lib\python\lib\site-packages (from jupyterlab-server~=2.10->jupyterlab==3.*,>=3.0.0->open3d) (0.9.10)

Requirement already satisfied: importlib-metadata>=3.6 in d:\3d\slicer 5.0.3\lib\python\lib\site-packages (from jupyterlab-server~=2.10->jupyterlab==3.*,>=3.0.0->open3d) (4.12.0)

Requirement already satisfied: jsonschema>=3.0.1 in d:\3d\slicer 5.0.3\lib\python\lib\site-packages (from jupyterlab-server~=2.10->jupyterlab==3.*,>=3.0.0->open3d) (4.16.0)

Requirement already satisfied: ipython-genutils in d:\3d\slicer 5.0.3\lib\python\lib\site-packages (from notebook<7->jupyterlab==3.*,>=3.0.0->open3d) (0.2.0)

Requirement already satisfied: notebook-shim>=0.1.0 in d:\3d\slicer 5.0.3\lib\python\lib\site-packages (from nbclassic->jupyterlab==3.*,>=3.0.0->open3d) (0.1.0)

Requirement already satisfied: pyparsing!=3.0.5,>=2.0.2 in d:\3d\slicer 5.0.3\lib\python\lib\site-packages (from packaging->jupyterlab==3.*,>=3.0.0->open3d) (3.0.7)

Requirement already satisfied: sniffio>=1.1 in d:\3d\slicer 5.0.3\lib\python\lib\site-packages (from anyio<4,>=3.1.0->jupyter-server~=1.16->jupyterlab==3.*,>=3.0.0->open3d) (1.3.0)

Requirement already satisfied: idna>=2.8 in d:\3d\slicer 5.0.3\lib\python\lib\site-packages (from anyio<4,>=3.1.0->jupyter-server~=1.16->jupyterlab==3.*,>=3.0.0->open3d) (3.3)

Requirement already satisfied: zipp>=0.5 in d:\3d\slicer 5.0.3\lib\python\lib\site-packages (from importlib-metadata>=3.6->jupyterlab-server~=2.10->jupyterlab==3.*,>=3.0.0->open3d) (3.8.1)

Requirement already satisfied: parso<0.9.0,>=0.8.0 in d:\3d\slicer 5.0.3\lib\python\lib\site-packages (from jedi>=0.16->ipython->jupyterlab==3.*,>=3.0.0->open3d) (0.8.3)

Requirement already satisfied: attrs>=17.4.0 in d:\3d\slicer 5.0.3\lib\python\lib\site-packages (from jsonschema>=3.0.1->jupyterlab-server~=2.10->jupyterlab==3.*,>=3.0.0->open3d) (22.1.0)

Requirement already satisfied: pyrsistent!=0.17.0,!=0.17.1,!=0.17.2,>=0.14.0 in d:\3d\slicer 5.0.3\lib\python\lib\site-packages (from jsonschema>=3.0.1->jupyterlab-server~=2.10->jupyterlab==3.*,>=3.0.0->open3d) (0.18.1)

Requirement already satisfied: entrypoints in d:\3d\slicer 5.0.3\lib\python\lib\site-packages (from jupyter-client>=6.1.12->ipykernel>=4.5.1->ipywidgets>=7.6.0->open3d) (0.4)

Requirement already satisfied: python-dateutil>=2.8.2 in d:\3d\slicer 5.0.3\lib\python\lib\site-packages (from jupyter-client>=6.1.12->ipykernel>=4.5.1->ipywidgets>=7.6.0->open3d) (2.8.2)

Requirement already satisfied: nbclient>=0.5.0 in d:\3d\slicer 5.0.3\lib\python\lib\site-packages (from nbconvert>=6.4.4->jupyter-server~=1.16->jupyterlab==3.*,>=3.0.0->open3d) (0.6.8)

Requirement already satisfied: pandocfilters>=1.4.1 in d:\3d\slicer 5.0.3\lib\python\lib\site-packages (from nbconvert>=6.4.4->jupyter-server~=1.16->jupyterlab==3.*,>=3.0.0->open3d) (1.5.0)

Requirement already satisfied: mistune<3,>=2.0.3 in d:\3d\slicer 5.0.3\lib\python\lib\site-packages (from nbconvert>=6.4.4->jupyter-server~=1.16->jupyterlab==3.*,>=3.0.0->open3d) (2.0.4)

Requirement already satisfied: bleach in d:\3d\slicer 5.0.3\lib\python\lib\site-packages (from nbconvert>=6.4.4->jupyter-server~=1.16->jupyterlab==3.*,>=3.0.0->open3d) (5.0.1)

Requirement already satisfied: tinycss2 in d:\3d\slicer 5.0.3\lib\python\lib\site-packages (from nbconvert>=6.4.4->jupyter-server~=1.16->jupyterlab==3.*,>=3.0.0->open3d) (1.1.1)

Requirement already satisfied: defusedxml in d:\3d\slicer 5.0.3\lib\python\lib\site-packages (from nbconvert>=6.4.4->jupyter-server~=1.16->jupyterlab==3.*,>=3.0.0->open3d) (0.7.1)

Requirement already satisfied: jupyterlab-pygments in d:\3d\slicer 5.0.3\lib\python\lib\site-packages (from nbconvert>=6.4.4->jupyter-server~=1.16->jupyterlab==3.*,>=3.0.0->open3d) (0.2.2)

Requirement already satisfied: lxml in d:\3d\slicer 5.0.3\lib\python\lib\site-packages (from nbconvert>=6.4.4->jupyter-server~=1.16->jupyterlab==3.*,>=3.0.0->open3d) (4.9.1)

Requirement already satisfied: beautifulsoup4 in d:\3d\slicer 5.0.3\lib\python\lib\site-packages (from nbconvert>=6.4.4->jupyter-server~=1.16->jupyterlab==3.*,>=3.0.0->open3d) (4.11.1)

Requirement already satisfied: fastjsonschema in d:\3d\slicer 5.0.3\lib\python\lib\site-packages (from nbformat>=5.2.0->jupyter-server~=1.16->jupyterlab==3.*,>=3.0.0->open3d) (2.16.1)

Requirement already satisfied: wcwidth in d:\3d\slicer 5.0.3\lib\python\lib\site-packages (from prompt-toolkit<3.1.0,>3.0.1->ipython->jupyterlab==3.*,>=3.0.0->open3d) (0.2.5)

Requirement already satisfied: argon2-cffi-bindings in d:\3d\slicer 5.0.3\lib\python\lib\site-packages (from argon2-cffi->jupyter-server~=1.16->jupyterlab==3.*,>=3.0.0->open3d) (21.2.0)

Requirement already satisfied: pytz>=2015.7 in d:\3d\slicer 5.0.3\lib\python\lib\site-packages (from babel->jupyterlab-server~=2.10->jupyterlab==3.*,>=3.0.0->open3d) (2022.2.1)

Requirement already satisfied: charset-normalizer~=2.0.0 in d:\3d\slicer 5.0.3\lib\python\lib\site-packages (from requests->jupyterlab-server~=2.10->jupyterlab==3.*,>=3.0.0->open3d) (2.0.12)

Requirement already satisfied: certifi>=2017.4.17 in d:\3d\slicer 5.0.3\lib\python\lib\site-packages (from requests->jupyterlab-server~=2.10->jupyterlab==3.*,>=3.0.0->open3d) (2021.10.8)

Requirement already satisfied: urllib3<1.27,>=1.21.1 in d:\3d\slicer 5.0.3\lib\python\lib\site-packages (from requests->jupyterlab-server~=2.10->jupyterlab==3.*,>=3.0.0->open3d) (1.26.8)

Requirement already satisfied: asttokens in d:\3d\slicer 5.0.3\lib\python\lib\site-packages (from stack-data->ipython->jupyterlab==3.*,>=3.0.0->open3d) (2.0.8)

Requirement already satisfied: executing in d:\3d\slicer 5.0.3\lib\python\lib\site-packages (from stack-data->ipython->jupyterlab==3.*,>=3.0.0->open3d) (1.0.0)

Requirement already satisfied: pure-eval in d:\3d\slicer 5.0.3\lib\python\lib\site-packages (from stack-data->ipython->jupyterlab==3.*,>=3.0.0->open3d) (0.2.2)

Requirement already satisfied: six>=1.5 in d:\3d\slicer 5.0.3\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) (1.16.0)

Requirement already satisfied: cffi>=1.0.1 in d:\3d\slicer 5.0.3\lib\python\lib\site-packages (from argon2-cffi-bindings->argon2-cffi->jupyter-server~=1.16->jupyterlab==3.*,>=3.0.0->open3d) (1.15.0)

Requirement already satisfied: soupsieve>1.2 in d:\3d\slicer 5.0.3\lib\python\lib\site-packages (from beautifulsoup4->nbconvert>=6.4.4->jupyter-server~=1.16->jupyterlab==3.*,>=3.0.0->open3d) (2.3.2.post1)

Requirement already satisfied: webencodings in d:\3d\slicer 5.0.3\lib\python\lib\site-packages (from bleach->nbconvert>=6.4.4->jupyter-server~=1.16->jupyterlab==3.*,>=3.0.0->open3d) (0.5.1)

Requirement already satisfied: pycparser in d:\3d\slicer 5.0.3\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) (2.21)

Installing collected packages: open3d

WARNING: The script open3d.exe is installed in ‘D:\3D\Slicer 5.0.3\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 open3d-0.15.1

WARNING: You are using pip version 22.0.3; however, version 22.2.2 is available.

You should consider upgrading via the ‘D:\3D\Slicer 5.0.3\bin\python-real.exe -m pip install --upgrade pip’ command.

import open3d
I was wondering what would I do next.

Thanks.

We are now using a specific version of open3d that’s compatible with ALPACA and Slicer, and manually doing pip_install(“open3d”) will not help you.

The error suggests there was a problem reaching out to the URL link to download the wheel. Are you behind a firewall? What operating system are you trying this one? Can you get to these URL on that computer?

windows: https://app.box.com/shared/static/friq8fhfi8n4syklt1v47rmuf58zro75.whl
Mac: https://app.box.com/shared/static/ixhac95jrx7xdxtlagwgns7vt9b3mbqu.whl
Linux https://app.box.com/shared/static/wyzk0f9jhefrbm4uukzym0sow5bf26yi.whl

Thanks for your reply!
There might be a firewall, and I usually use Virtual Private Network to browse the web. I have tried Windos 11 and mac os(12.5.1) . I can get the URL both on windos and mac. Whether the downloaded .whl file should be put in a specific folder?

Thanks

So you can download wheels from the URL, but the ALPACA open3d install fails? Or did you download the wheels from a computer other than the one that open3d install fail?

Anyways, if you rename the wheels appropriately you can do
pip_install("path_to_correct_wheel")

For windows rename the wheel to open3d-0.14.1+816263b-cp39-cp39-win_amd64.whl
For mac rename it to open3d-0.14.1+816263b-cp39-cp39-macosx_10_15_x86_64.whl

Hi everyone,

I have a student working with me who is getting this error when attempting this solution. He is on Mac and has Slicer 5.2.2.

Is this generated by the ALPACA module of the SlicerMorph extension when installing, or are you trying to install open3d on your own? it is not clear where the error is generated from. Normally you would use the extension manager to install SlicerMorph, and when you switch to ALPACA the first time, it should download and install packages for you automatically (barring any network issues).

In any event, I think they key is the “Certificate Verify Failed” message. Are you behind a firewall or a corporate network? They can interfere with package installs. Is it possible for you to try this on a more open network and see if it resolves?