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
D435 "Import Error: DLL load failed: The Specified module could not be found" #1948
Comments
[Realsense Customer Engineering Team Comment] did you use the prebuild library from the Realsense SDK, rather than build it from source ? (2) please check if either Miscrosoft Visual c++ 2015 Redistributable (X64) or Microsoft Visual c++2017 is installed on your PC, if no, please install either one |
I have still the same problems (#1877 - unfortunately all hints doesn't work for me. Miscrosoft Visual c++ 2015 Redistributable (X64) is installed.) You say, the binaries cannot import using Python 3 - @dorodnic said:
At .../Intel RealSense SDK 2.0/bin/ I can find only /x64 and /x86 folders - I assume these are for python 2.7 and do not work for 3.6? So there is no workaround and we have to build the library form source? |
[Realsense Customer Engineering Team Comment] at https://github.com/IntelRealSense/librealsense/tree/development/wrappers/python by the way, on your setup, even with the VC++ redistributable (X64) is installed, using Python 2.7 still not able to import the pre-compiled library? |
The D435 is part of a robot project that already has many thousands of lines of code. So I will not go back to 2.7.
Kind regards, Marcus |
[Realsense Customer Engineering Team Comment]
once checked, press configure button ex :C:/Users/wangwill/AppData/Local/Programs/Python/Python36/python.exe press generate button to generate the solution once completed you can press open project to launch the solution then build the library or sample code under the build/release or build/debug folder, you should able to find realsense.dll and pyrealsense2.cp36-win_amd64.pyd which you need |
Hi @RealSense-Customer-Engineering Yes it's Win10, 64Bit, Intel Celeron CPU N3450.
When I doublecklick on any python-file it's interpreted by Python 3, so the environment pathes should be ok. When I set the two paths, there is no popup. Now I can just Add an Cache Entry (Name, Type, Value, Description) and Configure: Regards, Marcus |
[Realsense Customer Engineering Team Comment] the CMAKE gui need to access the CMakeLists.txt to import the options please check if there is additional folder layer such as C:/.../RealSense D435/librealsense-2.12.0/ librealsense |
Hi @RealSense-Customer-Engineering |
[Realsense Customer Engineering Team Comment] you should see something like below when you press configure button The CXX compiler identification is MSVC 19.14.26430.0 |
[Realsense Customer Engineering Team Comment] |
Ok, I came a little further... Generator So I reinstalled, but with no success. What I have installed is "Microsoft Visual C++ 2017 Redistributable (x64) - 14.14.26429". |
[Realsense Customer Engineering Team Comment] The
No, it should work fine with VS 2017. weikent commented on Mar 12It worked. Thank you for your help. |
@RealSense-Customer-Engineering - Thank you for the help and your patience! It's working!!! :-D To summarize the problems:
So for me everything is fine now. If it's also working for @jasonjsong we can now close this issue. |
Working for me as well now! My primary issue was installing Visual Studio Community 2017, thanks for all the help everyone! |
Before opening a new issue, we wanted to provide you with some useful suggestions (Click "Preview" above for a better view):
All users are welcomed to report bugs, ask questions, suggest or request enhancements and generally feel free to open new issue, even if they haven't followed any of the suggestions above :)
Issue Description
Hello all! I am trying to set up some code for my D435 Intel Realsense Camera, and have already installed the SDK as well as the GitHub librealsense folder. I have set the appropriate environmental variables (I believe), and after dragging the realsense dll file and the pyealsense2.pyd files into my project folder, as well as copying them into Python folder and setting the appropriate path variables, I am now met with the issue of "Import Error: DLL load failed: The Specified module could not be found". Any help would be greatly appreciated, thanks!
The text was updated successfully, but these errors were encountered: