Comments (8)
you are missing the catkin_pkg
in your python. Try to install it via "(sudo) pip install catkin_pkg" or "pip3 install catkin_pkg".
Or google the error message, Import error, no module named "catkin_pkg". I believe you can find the answer.
from flightmare.
I have run all the commands you have told me.
Also I tried to run: sudo apt-get install python-catkin-pkg
In all cases the catkin_pkg is installed in the system.
Also googling the message didn't gave me any solutions.
Do you have any more propositions?
Thank you very much.
from flightmare.
Hmmm, it looks like a catkin/python/ROS problem.
Did you build other ROS projects on your machine before?
from flightmare.
Hi @sotomotocross, do you get a new error after installing catkin_pkg
? Or does from catkin_pkg.package import parse_package
still cause an error?
from flightmare.
closing the issue. it seems like a ROS installation problem. feel free to reopen it if the issue still exists.
from flightmare.
Excuse me for the lack of feedback. I was with another project.
The error still exists. I tried to install the flightmare on a new Ubuntu 18.04.05 LTS system and i have the problem of the two attached screenshots.
I have installed the below:
- sudo apt install python-catkin-pkg python-catkin-tools
- pip install catkin-tools
- pip install catkin-tools-python
- sudo -H pip install -U catkin_pkg
Still the error doesn't stop appearing.
I have run catkin build before on this system and everything run ok. Especially earlier today i built https://github.com/uzh-rpg/rpg_esim that uses similar steps.
I don't know what else to do and i really need any help available.
Thank you in advance for the cooperation, time and help.
Looking forward to here from someone.
from flightmare.
Initialize your build for python 2.7. It seems your catkin tools point to python 3.7.
Do this in your workspace directory (~/catkin_ws)
catkin config --init --mkdirs --extend /opt/ros/$ROS_DISTRO --merge-devel --cmake-args -DCMAKE_BUILD_TYPE=Release -DPYTHON_VERSION=2.7
from flightmare.
In case it helps, I was having the same issue (in Ubuntu 18.04 + ROS Melodic), and
sudo apt install python3-pip
pip3 install catkin_pkg
(as suggested above) solved the problem
from flightmare.
Related Issues (20)
- Error when build catkin during lanelet2 installation?
- issue with installing flightlib with pip HOT 7
- Error when compiling flightlib on MacOS
- Not able to connect to Unity when training policy
- Missing requirements file HOT 1
- catkin bulid Error HOT 2
- Question on IMU integration and using RotorS
- protobuf requires Python '>=3.7' but the running Python is 3.6.9 HOT 1
- Depth image problem in the forest environment using a unity standalone build
- gzserver: symbol lookup error on running rotors_gazebo.launch
- Segmentation fault(core dumped) when I try to instantiate RGBCamera with the compiled libflightlib.a
- Bodyrates and cumulative thrust as input for vec_env.step
- Can this simulator be used for flexible cables attached with drones ?
- Parallel Camera Rendering
- fatal error: polynomial_trajectories/minimum_snap_trajectories.h: No such file or directory HOT 1
- Initialization Error of Unity Rendering in RL Applications
- Support for Python 3.6 removed in Pybind11 master branch HOT 1
- Could not build wheels for opencv-python with pip HOT 1
- Regarding Updated Flightmare Version
- flightmare installation issues HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flightmare.