Code Monkey home page Code Monkey logo

Comments (6)

jtorde avatar jtorde commented on July 23, 2024

Hi @GSKun1,

Which ROS, Ubuntu, and Python version are you using? This error may happen because you are trying to use a version of Python that is not the same as the version that ROS uses (more info in the answers to this question. In some cases, running pip install rospkg may solve the issue.

from mader.

GSKun1 avatar GSKun1 commented on July 23, 2024

ROS melodic,ubuntu 18.04,python 3.11.7

from mader.

GSKun1 avatar GSKun1 commented on July 23, 2024

Hi,
Thank you for your answer.
After I run pip install rospkg, the error is reduced but still exists as shown below
3fdd3f0e-21c0-4d54-987e-51edd4bee572

from mader.

jtorde avatar jtorde commented on July 23, 2024

Ok, we made some progress. The error from _tf2 import dynamic module does not define module export function now seems to happen because tf2 is compiled using Python 2.7, while you are using Python 3. Some options I'd try:

  • Try creating a Python 2.7 virtual environment and run MADER from it (see the answer to this question)

  • Try compiling tf2 for Python 3 (see the answer to this question)

  • Try changing these shebang lines to #!/usr/bin/env python2.7

from mader.

GSKun1 avatar GSKun1 commented on July 23, 2024

Thank you.
I'll try again.

from mader.

GSKun1 avatar GSKun1 commented on July 23, 2024

I successfully solved the problem when I tried the third solution, thanks!

from mader.

Related Issues (16)

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.