RoboMaster-SDK icon indicating copy to clipboard operation
RoboMaster-SDK copied to clipboard

Does it support Mac

Open dead-lee opened this issue 4 years ago • 10 comments

I don't have PC or Linux desktop, can I use Mac for that. I hope we have VS Code plug in for Robomaster code build in future.

dead-lee avatar Jun 01 '20 00:06 dead-lee

Not part of the project but I can say with confidence that the answer is yes. The communication with the robot is just standard network protocols. You can run all the examples in the SDK from a MacOS computer without problems (you just need plain Python 3 installed).

brunoga avatar Jun 01 '20 15:06 brunoga

When install robomaster via macOS terminal, it prompt an error :

ERROR: Could not find a version that satisfies the requirement robomaster (from versions: none) ERROR: No matching distribution found for robomaster

I am using python 3.7.

How to solved it ?

acche avatar Feb 23 '21 23:02 acche

When install robomaster via macOS terminal, it prompt an error :

ERROR: Could not find a version that satisfies the requirement robomaster (from versions: none) ERROR: No matching distribution found for robomaster

I am using python 3.7.

How to solved it ?

  1. 首先使用 conda 创建 3.7 虚拟环境 conda create --name dji python=3.7
  2. 进入虚拟环境 conda activate dji
  3. 安装 RoboMaster SDK pip install robomaster

SpaceX-Vision avatar Feb 25 '21 02:02 SpaceX-Vision

I ran into the same issue pip install robomaster on mac. Looking further into pypi and I don't see any mac python wheels published https://pypi.org/project/robomaster/0.1.1.68/#files, so likely this isn't supported.

Put up https://github.com/dji-sdk/RoboMaster-SDK/pull/92

wisechengyi avatar Apr 16 '23 02:04 wisechengyi

大疆对pypi的发布有一些混乱,您是 M1/M2 芯片还是英特尔芯片的Mac?架构不同安装方式不同,我已经解决此问题

SpaceX-Vision avatar Apr 16 '23 02:04 SpaceX-Vision

@SpaceX-Vision 我用的是M1。请问如何操作?是要提供别的pip index还是直接引入这个repo里的代码?

wisechengyi avatar Apr 16 '23 02:04 wisechengyi

安装x86架构的Anaconda,创建一个虚拟环境,安装python3.7,然后就可以pip install robomaster了

SpaceX-Vision avatar Apr 16 '23 05:04 SpaceX-Vision

安装x86架构的Anaconda,创建一个虚拟环境,安装python3.7,然后就可以pip install robomaster了

谢谢。请问可以更新这个方面的文档么?https://github.com/dji-sdk/RoboMaster-SDK/blob/master/docs/source/python_sdk/installs.rst#%E5%AE%89%E8%A3%85-sdk-%E5%88%B0-macos-x%E5%B9%B3%E5%8F%B0

或者我也可以发一个PR。

wisechengyi avatar Apr 16 '23 06:04 wisechengyi

非常抱歉,因为疫情,我已经从南京的大疆教育离职了,换了行业,没继续玩RoboMaster了,可能我说的会有些错误

SpaceX-Vision avatar Apr 16 '23 08:04 SpaceX-Vision

试了下,你的方法的确还是可以的。不过另外一个问题看上去会导致玩不下去了。比较可惜。看来要退货了。

https://github.com/dji-sdk/RoboMaster-SDK/issues/10

wisechengyi avatar Apr 16 '23 18:04 wisechengyi