Open3d: DLL load failed

Created on 22 May 2019  路  16Comments  路  Source: intel-isl/Open3D

Describe the bug
I tried to install open3d-python on a new computer, it didn't work. The python install is cleaned. I also tried with Python 3.6.8, I have the same issue.

To Reproduce
Steps to reproduce the behavior:

  1. pip install open3d-python
  2. python -c "import open3d"

Traceback
Traceback (most recent call last):
File "", line 1, in
File "C:\Python37\lib\site-packages\open3d__init__.py", line 28, in
from .open3d import * # py2 py3 compatible
ImportError: DLL load failed: The specified module could not be found.

Environment

  • OS: Windows 10 build 17134 64 bits
  • Python version: 3.7.2 64 bits
  • Open3D version: 0.6.0.0
  • Is this remote workstation?: No
  • How did you install Open3D?: pip
possible bug

Most helpful comment

Describe the bug
I tried to install open3d-python on a new computer, it didn't work. The python install is cleaned. I also tried with Python 3.6.8, I have the same issue.

To Reproduce
Steps to reproduce the behavior:

  1. pip install open3d-python
  2. python -c "import open3d"

Traceback
Traceback (most recent call last):
File "", line 1, in
File "C:\Python37\lib\site-packages\open3d__init__.py", line 28, in
from .open3d import * # py2 py3 compatible
ImportError: DLL load failed: The specified module could not be found.

Environment

  • OS: Windows 10 build 17134 64 bits
  • Python version: 3.7.2 64 bits
  • Open3D version: 0.6.0.0
  • Is this remote workstation?: No
  • How did you install Open3D?: pip

I resolved by deleting the "." before open3d:
from open3d import * # py2 py3 compatible

All 16 comments

Is there any update on this? I am also facing the same issue while importing open3d-python.
Traceback:
Traceback (most recent call last):
File "", line 1, in
File "C:\Python3.5\lib\site-packages\open3d__init__.py", line 13, in
from open3d.win32 import *
File "C:\Python3.5\lib\site-packages\open3d\win32__init__.py", line 11, in
globals().update(importlib.import_module('open3d.win32.64b.open3d').__dict__)
File "C:\Python3.5\lib\importlib__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "C:\Python3.5\lib\site-packages\open3d\win32\64b__init__.py", line 7, in
globals().update(importlib.import_module('open3d.win32.64b.open3d').__dict__)
File "C:\Python3.5\lib\importlib__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
ImportError: DLL load failed: The specified procedure could not be found.

Environment:
OS: Windows 10 64 bits
Python version: 3.5
Open3D version: 0.7.0.0
installed using pip.

We are looking into it. @yxlao

I just had the same problem but I've solved it by installing:

  • microsoft visual c++ 2015 redistributable
  • microsoft visual c++ 2013 redistributable
  • microsoft visual c++ 2012 redistributable

don't know which it was, I just installed them all.
@germanros1987 Could you please add this as a dependencies?
Just a little hint would have saved me a lot of time...

Hi all, the problem occurred when I use Python 3.8.0 on Win 10, and I have solved it by switching to Python 3.7.0. Considering this bug is caused by Python.

Hello is there a valid solution to this problem?
I am on Win10. I have microsoft visual c++ 2017 redistributable installed
and I have also downgraded Python to 3.6 but I still get the error

me too

To Reproduce
Steps to reproduce the behavior:

    pip install open3d
    python -c "import open3d"

Environment

    OS: Windows 10 64 bits
    Python version: 3.7.3 64 bits
    Open3D version: 0.9.0.0
    Is this remote workstation?: No
    How did you install Open3D?: pip

@protactinium91 @kingaza I had a same problem and solved now.
I also had "ImportError: DLL load failed" error.

My environments before,
Windows 10 64bit, Visual studio 2017,
Python 3.7.5 (with Anaconda), Open3D 0.9.0.0 installed from pip

And then I installed "Microsoft Visual C++ Redistributable for Visual Studio 2015, 2017 and 2019".

First, visit below.
And install x86 and x64 packages in "Visual Studio 2015, 2017 and 2019" section.
https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloads

After install packages, reboot windows. Then the Open3D runs normally.

@protactinium91 @kingaza I had a same problem and solved now.
I also had "ImportError: DLL load failed" error.

My environments before,
Windows 10 64bit, Visual studio 2017,
Python 3.7.5 (with Anaconda), Open3D 0.9.0.0 installed from pip

And then I installed "Microsoft Visual C++ Redistributable for Visual Studio 2015, 2017 and 2019".

First, visit below.
And install x86 and x64 packages in "Visual Studio 2015, 2017 and 2019" section.
https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloads

After install packages, reboot windows. Then the Open3D runs normally.

I have tried this, but still can't work at all.
but somehow I have solved it with the old version (Open3D 0.6).

I also had "ImportError: DLL load failed" error. and I use conda environment. and also I use windows 10.

First, follow @ivorycirrus step (installing Microsoft Visual C++ Redistributable ). If you still had bug, continue to the next step

Second, i just create new environment conda with python 3.6
"conda create -n python=3.6"
and activate it
"conda activate "

third. download packages library from here
https://anaconda.org/open3d-admin/open3d/files?sort=ndownloads&sort_order=desc&version=0.6.0.0&type=conda
for my case, I download win64 py36.

fourth. install it with this command (makes sure that you are in your environment)
"conda install "

fifth. when I tried to run "import open3d", I got an error, because numpy hasn't installed yet. So I tried to install it with
"conda install numpy"

Then, somehow... it works.

(sorry for my broken English)

Describe the bug
I tried to install open3d-python on a new computer, it didn't work. The python install is cleaned. I also tried with Python 3.6.8, I have the same issue.

To Reproduce
Steps to reproduce the behavior:

  1. pip install open3d-python
  2. python -c "import open3d"

Traceback
Traceback (most recent call last):
File "", line 1, in
File "C:\Python37\lib\site-packages\open3d__init__.py", line 28, in
from .open3d import * # py2 py3 compatible
ImportError: DLL load failed: The specified module could not be found.

Environment

  • OS: Windows 10 build 17134 64 bits
  • Python version: 3.7.2 64 bits
  • Open3D version: 0.6.0.0
  • Is this remote workstation?: No
  • How did you install Open3D?: pip

I resolved by deleting the "." before open3d:
from open3d import * # py2 py3 compatible

got the same problem, impossible to solve, tried to remove the dot at "from open3d import * # py2 py3 compatible" but didnt resolve

I had same problem

OS: Windows 10
Python version: 3.7.6
Open3D version: 0.9.0.0

I resolved by installed VC++ DLL x86,x64 both package.

x86: vc_redist.x86.exe
x64: vc_redist.x64.exe

if show dll load error yet
I recomend check dependency of lib\site-packages\open3d\open3d.cp37-win_amd64.pyd
with Dependecies tool.

Dependencies
https://github.com/lucasg/Dependencies
https://github.com/lucasg/Dependencies/releases/download/v1.9/Dependencies_x64_Release.zip

I had same problem

OS: Windows 10
Python version: 3.7.6
Open3D version: 0.9.0.0

I resolved by installed VC++ DLL x86,x64 both package.

x86: vc_redist.x86.exe
x64: vc_redist.x64.exe

if show dll load error yet
I recomend check dependency of lib\site-packages\open3d\open3d.cp37-win_amd64.pyd
with Dependecies tool.

Dependencies
https://github.com/lucasg/Dependencies
https://github.com/lucasg/Dependencies/releases/download/v1.9/Dependencies_x64_Release.zip

ty, worked for me

I had same problem

OS: Windows 10
Python version: 3.7.6
Open3D version: 0.9.0.0

I resolved by installed VC++ DLL x86,x64 both package.

x86: vc_redist.x86.exe
x64: vc_redist.x64.exe

if show dll load error yet
I recomend check dependency of lib\site-packages\open3d\open3d.cp37-win_amd64.pyd
with Dependecies tool.

Dependencies
https://github.com/lucasg/Dependencies
https://github.com/lucasg/Dependencies/releases/download/v1.9/Dependencies_x64_Release.zip
image
thanks,I download this dll,then it work

I tested Open3D 0.9.0 pip and Conda installation under Windows 10 64-bit with python3.7 and they're all working for me.

Here's the full terminal recording for pip install:
https://terminalizer.com/view/fcc321e93273

Here's the full terminal recording for conda install:
https://terminalizer.com/view/0c3811b03274

Please try with the exact same command (including creating a fresh environment and activating it), and see if the problem still exists.

Please check discussions in here. In short, the reported issue is not reproducible with up-to-date python env and open3d package. Closing issue.

@protactinium91 @kingaza I had a same problem and solved now.
I also had "ImportError: DLL load failed" error.

My environments before,
Windows 10 64bit, Visual studio 2017,
Python 3.7.5 (with Anaconda), Open3D 0.9.0.0 installed from pip

And then I installed "Microsoft Visual C++ Redistributable for Visual Studio 2015, 2017 and 2019".

First, visit below.
And install x86 and x64 packages in "Visual Studio 2015, 2017 and 2019" section.
https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloads

After install packages, reboot windows. Then the Open3D runs normally.

This works for me, thanks!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

DKandrew picture DKandrew  路  3Comments

samarth-robo picture samarth-robo  路  3Comments

masonsun picture masonsun  路  3Comments

mike239x picture mike239x  路  3Comments

Timu777 picture Timu777  路  3Comments