Jenifer
(jenifer T)
April 22, 2022, 11:23am
1
Hi, i am new in python please any one guide me to fix the error
Hi Jenifer,
Please don’t show screenshots or images of errors. When possible, please copy and paste the text of the exception, starting from the Traceback line.
Unfortunately the error (failure in a DLL initialisation routine) is hard to diagnose and fix. It probably requires deep knowledge of the open3d library.
I suggest you start by googling for relevant key words from the error message, e.g. like this:
https://www.startpage.com/sp/search?query=open3d.cpu.pybind+DLL+initialisation+routine
and see if something comes up that helps. This bug report seems promising:
opened 04:09PM - 19 Dec 21 UTC
build/install issue
windows
```
D:\>pip install --user --pre https://storage.googleapis.com/open3d-releases… -master/python-wheels/open3d-0.14.1+da463fb-cp39-cp39-win_amd64.whl
D:\>python -c "import open3d as o3d; print(o3d)"
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\vlada\AppData\Roaming\Python\Python39\site-packages\open3d\__init__.py", line 90, in <module>
from open3d.cpu.pybind import (camera, geometry, io, pipelines, utility, t)
ImportError: DLL load failed while importing pybind: A dynamic link library (DLL) initialization routine failed.
D:\>pip install open3d==0.14.1
D:\>python -c "import open3d as o3d; print(o3d)"
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\vlada\AppData\Roaming\Python\Python39\site-packages\open3d\__init__.py", line 90, in <module>
from open3d.cpu.pybind import (camera, geometry, io, pipelines, utility, t)
ImportError: DLL load failed while importing pybind: A dynamic link library (DLL) initialization routine failed.
```
- Operating system: Windows 10 64-bit
- Python version: Python 3.9.9
- Open3D version: 0.14.1
- Is this remote workstation?: no
- How did you install Open3D?: pip
Beyond that, you should double and triple-check that you have the right version of open3d installed. How did you install it?
Given how specialised this is, you will probably have better luck asking
for help at the dedicated Open3D forum:
Good luck! And if you do find a solution, please reply here so that others may share the knowledge.
Jenifer
(jenifer T)
April 24, 2022, 1:15pm
3
Thank you so much @steven.daprano
After several tries, the only thing that worked for me was install CUDA (and visual studio before, because demanded by CUDA). I had forgotten that wasn’t installed since my reinstallation of windows operating system…