Items with no label
3335 Discussions

D415 cannot be detected after switch of python interpreter

DDD
New Contributor I
1,377 Views

I already succeeded in connecting in python 2.7.15 and 3.6.0 for a while. However, after I reinstalled the python interpreter, it did not work anymore. Then I tried on another PC, at first it worked in python 3.6.0 well, then I reinstalled the open3d through cmake, it did not work either. Both report following error:

And I tested with the realsense viewer and python 2.7, both of them worked. So the cam should be OK.

Anyone knows what caused the issue? Thanks

0 Kudos
1 Solution
idata
Employee
511 Views

Hello AronBroklyn,

 

 

Thank you for your interest in the Intel RealSense D415 Camera.

 

Can you try the files installed with https://github.com/IntelRealSense/librealsense/releases/download/v2.12.0/Intel.RealSense.SDK.exe Intel.RealSense.SDK.exe? Under we provide x86 and x64 versions for both python 2.7 and 3.6.

 

You will need to look at your Python paths and ensure that your Python code can find the RealSense dlls, and pyd files.

 

You can put those files in the same directory as where your python script is or where the Python path points to.

 

The following github post might prove useful: https://github.com/IntelRealSense/librealsense/issues/1877

 

 

Let me know if this works.

 

 

Best regards,

 

Casandra

View solution in original post

0 Kudos
3 Replies
idata
Employee
512 Views

Hello AronBroklyn,

 

 

Thank you for your interest in the Intel RealSense D415 Camera.

 

Can you try the files installed with https://github.com/IntelRealSense/librealsense/releases/download/v2.12.0/Intel.RealSense.SDK.exe Intel.RealSense.SDK.exe? Under we provide x86 and x64 versions for both python 2.7 and 3.6.

 

You will need to look at your Python paths and ensure that your Python code can find the RealSense dlls, and pyd files.

 

You can put those files in the same directory as where your python script is or where the Python path points to.

 

The following github post might prove useful: https://github.com/IntelRealSense/librealsense/issues/1877

 

 

Let me know if this works.

 

 

Best regards,

 

Casandra
0 Kudos
DDD
New Contributor I
511 Views

Hi Casandra, thanks for the reply. I just tried again, and it start to work in python 3.6 now for exactly the same code (I did nothing) . So I think the post might not be my issue.

I don't know whether it is common, but it actually happened on two of my PC, so it might worth attention

0 Kudos
idata
Employee
511 Views

Hello AronBroklyn,

 

 

Thank you for your reply.

 

Is everything working now, according to your use needs?

 

Is there anything else I can assist you with?

 

 

Best regards,

 

Casandra
0 Kudos
Reply