Giter VIP home page Giter VIP logo

Comments (1)

peterbarker avatar peterbarker commented on September 13, 2024

I've created a PR to attempt to fix this.

However, I'm not able to test it will locally as the serial module has the same problem in it AFAICS. How are you getting far enough to find this problem in MAVProxy when serial has this problem?

Python 3.12.0 (main, Oct  4 2023, 06:27:34) [GCC 13.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import serial
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/vagrant/venv-ardupilot/lib/python3.12/site-packages/serial/__init__.py", line 10, in <module>
    from . import utilities, abc, model, marshal, errors, properties, meta, hooks, test, request
  File "/home/vagrant/venv-ardupilot/lib/python3.12/site-packages/serial/utilities/__init__.py", line 5, in <module>
    compatibility.backport()  # noqa
    ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/vagrant/venv-ardupilot/lib/python3.12/site-packages/serial/utilities/compatibility.py", line 28, in backport
    exec(BACKWARDS_COMPATIBILITY_IMPORTS, frame.f_globals, frame.f_locals)
  File "<string>", line 4, in <module>
  File "/home/vagrant/venv-ardupilot/lib/python3.12/site-packages/future/standard_library/__init__.py", line 65, in <module>
    import imp
ModuleNotFoundError: No module named 'imp'
>>> 

@PeterJBurke are you able to test that this resolves your problem?

from mavproxy.

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.