Ask Your Question

Rasika's profile - activity

2020-05-05 09:04:45 -0500 received badge  Famous Question (source)
2019-07-22 02:39:54 -0500 received badge  Student (source)
2019-06-12 05:40:22 -0500 received badge  Teacher (source)
2019-06-12 05:40:22 -0500 received badge  Self-Learner (source)
2019-03-28 05:52:54 -0500 received badge  Supporter (source)
2019-02-23 13:14:21 -0500 marked best answer ROS Kinetic source installation error - ImportError: No module named terminal_color

Hello,

I am trying to install ROS kinetic bare bones packages from source. I have a virtual machine running Ubuntu 16.04.

I followed the instructions for installation from source from this page.

But I am getting following error after invoking catkin_make_isolated

Traceback (most recent call last):
  File "./src/catkin/bin/catkin_make_isolated", line 12, in <module>
    from catkin.builder import build_workspace_isolated
  File "./src/catkin/bin/../python/catkin/builder.py", line 66, in <module>
    from catkin_pkg.terminal_color import ansi, disable_ANSI_colors, fmt, sanitize
ImportError: No module named terminal_color

To find the solution to this problem, I looked at the Q&A topic #294780

As the answers suggest that the error could be because of mismatch in versions of python-catkin-pkg and python-catkin-pkg-models

the output of dpkg -L python-catkin-pkg in my case is

/.
/usr
/usr/bin
/usr/bin/catkin_create_pkg
/usr/bin/catkin_generate_changelog
/usr/bin/catkin_test_changelog
/usr/bin/catkin_tag_changelog
/usr/bin/catkin_find_pkg
/usr/lib
/usr/lib/python2.7
/usr/lib/python2.7/dist-packages
/usr/lib/python2.7/dist-packages/catkin_pkg-0.2.10.egg-info
/usr/lib/python2.7/dist-packages/catkin_pkg
/usr/lib/python2.7/dist-packages/catkin_pkg/tool_detection.py
/usr/lib/python2.7/dist-packages/catkin_pkg/topological_order.py
/usr/lib/python2.7/dist-packages/catkin_pkg/package_templates.py
/usr/lib/python2.7/dist-packages/catkin_pkg/workspaces.py
/usr/lib/python2.7/dist-packages/catkin_pkg/changelog.py
/usr/lib/python2.7/dist-packages/catkin_pkg/python_setup.py
/usr/lib/python2.7/dist-packages/catkin_pkg/packages.py
/usr/lib/python2.7/dist-packages/catkin_pkg/package.py
/usr/lib/python2.7/dist-packages/catkin_pkg/metapackage.py
/usr/lib/python2.7/dist-packages/catkin_pkg/cmake.py
/usr/lib/python2.7/dist-packages/catkin_pkg/rospack.py
/usr/lib/python2.7/dist-packages/catkin_pkg/__init__.py
/usr/lib/python2.7/dist-packages/catkin_pkg/package_version.py
/usr/lib/python2.7/dist-packages/catkin_pkg/changelog_generator.py
/usr/lib/python2.7/dist-packages/catkin_pkg/templates
/usr/lib/python2.7/dist-packages/catkin_pkg/templates/metapackage.cmake.in
/usr/lib/python2.7/dist-packages/catkin_pkg/templates/package.xml.in
/usr/lib/python2.7/dist-packages/catkin_pkg/templates/CMakeLists.txt.in
/usr/lib/python2.7/dist-packages/catkin_pkg/changelog_generator_vcs.py
/usr/share
/usr/share/doc
/usr/share/doc/python-catkin-pkg
/usr/share/doc/python-catkin-pkg/copyright
/usr/share/doc/python-catkin-pkg/README.rst
/usr/share/doc/python-catkin-pkg/changelog.Debian.gz
/usr/share/man
/usr/share/man/man1
/usr/share/man/man1/catkin_create_pkg.1.gz
/usr/share/man/man1/catkin_test_changelog.1.gz
/usr/share/man/man1/catkin_tag_changelog.1.gz
/usr/share/man/man1/catkin_generate_changelog.1.gz
/usr/share/man/man1/catkin_find_pkg.1.gz

and the output of dpkg -L python-catkin-pkg-modules is

dpkg-query: package 'python-catkin-pkg-modules' is not installed
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents.

I am not able to install python-catkin-pkg-modules with

sudo apt install python-catkin-pkg python-catkin-pkg-modules

The error message is

E: Unable to locate package python-catkin-pkg-modules

Please suggest a solution for these errors. Thank you

2019-02-23 13:13:40 -0500 received badge  Famous Question (source)
2019-01-25 04:56:19 -0500 received badge  Notable Question (source)
2019-01-24 23:01:57 -0500 commented answer build ros on mac opencv3 qt5core error

Hello, I am also running into same error while compiling ROS kinetic on ubuntu 16.04 on running on virtual machine. Ca

2019-01-17 02:25:40 -0500 received badge  Popular Question (source)
2019-01-17 00:31:09 -0500 answered a question ROS Kinetic source installation error - ImportError: No module named terminal_color

Problem solved. I could install the python-catkin-pkg-modules today and my source code is currently building Now I am t

2019-01-16 09:01:24 -0500 edited question ROS Kinetic source installation error - ImportError: No module named terminal_color

ROS Kinetic source installation error - ImportError: No module named terminal_color Hello, I am trying to install ROS

2019-01-16 08:56:54 -0500 edited question ROS Kinetic source installation error - ImportError: No module named terminal_color

ROS Kinetic source installation error - ImportError: No module named terminal_color Hello, I am trying to install ROS

2019-01-15 07:44:15 -0500 edited question ROS Kinetic source installation error - ImportError: No module named terminal_color

ROS Kinetic soure installation error - ImportError: No module named terminal_color Hello, I am trying to install ROS k

2019-01-15 07:44:06 -0500 edited question ROS Kinetic source installation error - ImportError: No module named terminal_color

ROS Kinetic soure installation error - ImportError: No module named terminal_color Hello, I am trying to install ROS k

2019-01-15 07:44:06 -0500 received badge  Editor (source)
2019-01-15 07:43:58 -0500 edited question ROS Kinetic source installation error - ImportError: No module named terminal_color

ROS Kinetic soure installation error - ImportError: No module named terminal_color Hello, I am trying to install ROS k

2019-01-15 07:42:51 -0500 asked a question ROS Kinetic source installation error - ImportError: No module named terminal_color

ROS Kinetic soure installation error - ImportError: No module named terminal_color Hello, I am trying to install ROS k

2019-01-11 08:32:17 -0500 received badge  Notable Question (source)
2019-01-11 04:35:33 -0500 commented question What is executed when we run roscore

Thank you. Now it is much clearer for me.

2019-01-11 04:10:59 -0500 received badge  Popular Question (source)
2019-01-11 04:01:20 -0500 commented question What is executed when we run roscore

I am sorry, I phrased my question wrong. I want to know when we run roscore, we use the modules from rosmaster package.

2019-01-11 03:42:53 -0500 commented question What is executed when we run roscore

Thanks for a quick reply. The rosmaster package is implemented in python. Is there a similar implementation in C++? I co

2019-01-11 03:01:51 -0500 asked a question What is executed when we run roscore

What is executed when we run roscore Hello, I am using ROS kinetic with Ubuntu 16.04 on a virtual machine. I want to

2018-12-14 00:43:37 -0500 received badge  Enthusiast
2018-12-13 05:34:31 -0500 commented question Couldn't find executable named camaracalibrator.py

I think you should try to get the dependencies and compiling the drivers as mentioned in this tutorial first. and also t

2018-12-13 00:38:43 -0500 asked a question Stereo camera calibrator gui does not display measured dimensions after calibration

Stereo camera calibrator gui does not display measured dimensions after calibration Hello, I am trying to use two USB