Giter Club home page Giter Club logo

Comments (5)

JonasVautherin avatar JonasVautherin commented on August 12, 2024

Works for me... 🤔

Just now, in a venv:

jones@gemini mavsdk-python % python -m venv venv                                                                                                                      [0]
jones@gemini mavsdk-python % source venv/bin/activate                                                                                                                 [0]
(venv) jones@gemini mavsdk-python % pip install -r requirements.txt                                                                                                   [0]
Ignoring importlib-resources: markers 'python_version < "3.7"' don't match your environment
Collecting protobuf>=3.5.1 (from -r requirements.txt (line 1))
  Using cached https://files.pythonhosted.org/packages/95/ad/682b9dd1bc94cc7d1ecab8bee83ae8e6ae16161ff7a4131207ae96e256bb/protobuf-3.9.0-cp37-cp37m-manylinux1_x86_64.whl
Collecting aiogrpc>=1.5 (from -r requirements.txt (line 2))
  Using cached https://files.pythonhosted.org/packages/06/73/aa687dd6f103e51c50703c43936f26bc13e563ac0489e74b7a3398eaf391/aiogrpc-1.6-py3-none-any.whl
Collecting grpcio>=1.11.0 (from -r requirements.txt (line 3))
  Using cached https://files.pythonhosted.org/packages/9d/b1/b80dea9e0bbbdd07bf7ba69c6df1aeb3e88b90b85ca326c40be9e29bc37c/grpcio-1.22.0-cp37-cp37m-manylinux1_x86_64.whl
Requirement already satisfied: setuptools in ./venv/lib/python3.7/site-packages (from protobuf>=3.5.1->-r requirements.txt (line 1)) (40.8.0)
Collecting six>=1.9 (from protobuf>=3.5.1->-r requirements.txt (line 1))
  Using cached https://files.pythonhosted.org/packages/73/fb/00a976f728d0d1fecfe898238ce23f502a721c0ac0ecfedb80e0d88c64e9/six-1.12.0-py2.py3-none-any.whl
Installing collected packages: six, protobuf, grpcio, aiogrpc
Successfully installed aiogrpc-1.6 grpcio-1.22.0 protobuf-3.9.0 six-1.12.0
You are using pip version 19.0.3, however version 19.1.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command

from mavsdk-python.

xdwgood avatar xdwgood commented on August 12, 2024

I also encountered the same problem.

from mavsdk-python.

julianoes avatar julianoes commented on August 12, 2024

@crisdeodates and @xdwgood on what system is that?

Can you paste the whole output, as well as python3 --version and pip3 --version, and make sure you run everything with python3 and pip3.

from mavsdk-python.

crisdeodates avatar crisdeodates commented on August 12, 2024

@julianoes , was about to post.. Solved the issue by

sudo apt install python3-pip
sudo pip3 install aiogrpc

and then running the python examples using "python3" instead of "python"

Feels like MAVSDK has issues in Python 2.X, but works perfectly in Python 3.X

from mavsdk-python.

julianoes avatar julianoes commented on August 12, 2024

Yes, always Python3.

@JonasVautherin we should change all instructions to always show python3, that might get rid of some of the problems!

from mavsdk-python.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.