Please select Into the mobile phone version | Continue to access the computer ver.
Cannot get Robomaster SDK working
1365 10 5-26 15:48
Uploading and Loding Picture ...(0/1)
o(^-^)o
RandomActPG
lvl.1
Flight distance : 19249 ft
Canada
Offline

I have been trying for days to get the SDK to install on either a Windows machine or RPi with no success.
I have followed the instructions to install on Rpi and after much struggle I got that process to work and the library to install.  I cannot, however, use it as I'm stuck with the error once I try "from robomaster install robot" line:

Traceback (most recent call last):
File "/home/admin/bottest.py", line 1, in
from robomaster import robot
File "/home/admin/.local/lib/python3.7/site-packages/robomaster/robot.py", line 31, in
from . import camera
File "/home/admin/.local/lib/python3.7/site-packages/robomaster/camera.py", line 25, in
from . import media
File "/home/admin/.local/lib/python3.7/site-packages/robomaster/media.py", line 21, in
import libmedia_codec
ModuleNotFoundError: No module named 'libmedia_codec'


Any suggestions on getting that libmedia_codec to install.  I can see it's in the git repo but I can't get the build and install to work.




5-26 15:48
Use props
DJI Stephen
Super Moderator

Offline

Hello there RandomActPG. I am sorry for the trouble this has caused and thank you for reaching out. For SDK issue and inquiries, it is recommended to contact our DJI development team at dev@dji.com . The team will be able to assists and help you with regards to this matter. Thank you.
5-26 20:02
Use props
CLMav
Captain
Flight distance : 424570 ft
  • >>>
Singapore
Offline

Which version of Python did you install? The RM SDK is not compatible with the latest version (i.e. 3.9.x) of Python. It will only work with Python ver 3.8.x or below.
6-19 05:34
Use props
BGA
First Officer
United States
Offline

Did you follow this?
https://robomaster-dev.readthedo ... code_env_setup.html
6-22 12:16
Use props
Alvara74
First Officer

United Kingdom
Offline

I don't know, sorry
7-3 07:50
Use props
Alvara74
First Officer

United Kingdom
Offline

DJI Stephen Posted at 5-26 20:02
Hello there RandomActPG. I am sorry for the trouble this has caused and thank you for reaching out. For SDK issue and inquiries, it is recommended to contact our DJI development team at  . The team will be able to assists and help you with regards to this matter. Thank you.

Yeah, I think contacting DJI Support would be a good option
7-3 07:53
Use props
Alvara74
First Officer

United Kingdom
Offline

CLMav Posted at 6-19 05:34
Which version of Python did you install? The RM SDK is not compatible with the latest version (i.e. 3.9.x) of Python. It will only work with Python ver 3.8.x or below.

It doesn't make sense why its not compatible with the latest version...
7-3 07:54
Use props
Alvara74
First Officer

United Kingdom
Offline

BGA Posted at 6-22 12:16
Did you follow this?
https://robomaster-dev.readthedocs.io/en/latest/code_env_setup.html

Try following this setup code, it might be able to help
7-3 07:55
Use props
DJI Stephen
Super Moderator

Offline

Alvara74 Posted at 7-3 07:53
Yeah, I think contacting DJI Support would be a good option

Hi there Alvara74. Thank you for the reply and for this information you have given. Thank you for your support and have a nice day. .
7-5 20:33
Use props
Alvara74
First Officer

United Kingdom
Offline

DJI Stephen Posted at 7-5 20:33
Hi there Alvara74. Thank you for the reply and for this information you have given. Thank you for your support and have a nice day.  .

No worries and thank you. I wish a good day to you too!
7-5 22:41
Use props
DJI Stephen
Super Moderator

Offline

Alvara74 Posted at 7-5 22:41
No worries and thank you. I wish a good day to you too!

Hi there Alvara74. Thank you for the reply and you are very much welcome. Again, thank you for your support and please stay safe always. .
7-7 21:08
Use props
Advanced
You need to log in before you can reply Login | Register now

Credit Rules