Skip to content
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

Does it support Mac #16

Open
dead-lee opened this issue Jun 1, 2020 · 10 comments
Open

Does it support Mac #16

dead-lee opened this issue Jun 1, 2020 · 10 comments

Comments

@dead-lee
Copy link

dead-lee commented Jun 1, 2020

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.

@brunoga
Copy link

brunoga commented Jun 1, 2020

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).

@acche
Copy link

acche commented Feb 23, 2021

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 ?

@SpaceX-Vision
Copy link

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

@wisechengyi
Copy link

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 #92

@SpaceX-Vision
Copy link

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

@wisechengyi
Copy link

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

@SpaceX-Vision
Copy link

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

@wisechengyi
Copy link

wisechengyi commented Apr 16, 2023

安装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。

@SpaceX-Vision
Copy link

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

@wisechengyi
Copy link

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

#10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants