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

Can't install the RoboMaster #41

Open
Mumprecht opened this issue Mar 4, 2021 · 4 comments
Open

Can't install the RoboMaster #41

Mumprecht opened this issue Mar 4, 2021 · 4 comments

Comments

@Mumprecht
Copy link

If I use the command "pip3 install robomaster" then I got the message:
"ERROR: Could not find a version that satisfies the requirement robomaster
ERROR: No matching distribution found for robomaster"

The installed version of python is 3.7.3 and opencv is installed

@jamespong007
Copy link

Hi, I tried to have the following library installed, then the robomaster SDK is successfully installed.
$sudo apt-get install libhdf5-serial-dev hdf5-tools libhdf5-dev zlib1g-dev zip libjpeg8-
dev liblapack-dev libblas-dev gfortran
$ sudo apt-get install python3-pip
$ sudo pip3 install -U pip testresources setuptools==49.6.0
$ sudo pip3 install -U numpy==1.19.4 future==0.18.2 mock==3.0.5 h5py==2.10.0 keras_preprocessing==1.1.1 keras_applications==1.0.8 gast==0.2.2 futures protobuf pybind11

@MrCampbellDuchess
Copy link

Tried this and still pip3 install robomaster still fails.

Are there other dependencies I'm missing?

@ApluUalberta
Copy link

Tried this and still pip3 install robomaster still fails.

Are there other dependencies I'm missing?

For me, the problem was that the newer versions of python have a bit of an incompatibiliity with h5py (which is a library dependency that is required by robomaster). For a proper installation of h5py on ARM64 (after building opencv with their included script, and python 3.7), look here:
https://stackoverflow.com/questions/37778299/cannot-install-h5py

Continue all other installations that you need from Jamespong007's reply. after this,

pip3 install robomaster

Python Version: 3.7
OpenCV: 4.1.2
CPU Architecture: ARM64
OS: Raspbian x64 Distribution (NOT 32-Bit, follow this link and reflash if needed)
system mirror:
https://www.raspberrypi.org/forums/viewtopic.php?f=117&t=275370
system installation:
https://blog.csdn.net/zuoguaishouxiao/article/details/106496323

The instructions are mainly non-english, so i'd recommend a browser translation extension to follow along

@JohnieBraaf
Copy link

I've fixed the windows build for the codec (#49) for python files (SDK) you can just take it from this github

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