question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

pip installing catkin_tools doesn't install trollius

See original GitHub issue

System Info

  • Operating System: uname -a - 4.8.0-41-generic #44~16.04.1-Ubuntu SMP Fri Mar 3 17:11:16 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
  • Python Version: python --version - 3.5
  • Version of catkin_tools: catkin --version OR Git revision - 0.4.4
  • ROS Distro: echo $ROS_DISTRO - kinetic

Build / Run Issue

Run issue

Expected Behavior

I would just expect it to configure the catkin workspace to extend /opt/ros/kinetic and use the install space.

Actual Behavior

For context I have been doing all this in a docker. To reproduce, the docker ros:kinetic-ros-base will do. The following snippet shows the problem i’m having.

$ catkin config --extend /opt/ros/$ROS_DISTRO/ --install
Traceback (most recent call last):
  File "/usr/local/bin/catkin", line 7, in <module>
    from catkin_tools.commands.catkin import main
  File "/usr/local/lib/python3.5/dist-packages/catkin_tools/commands/catkin.py", line 23, in <module>
    from catkin_tools.common import is_tty
  File "/usr/local/lib/python3.5/dist-packages/catkin_tools/common.py", line 23, in <module>
    import trollius as asyncio
ImportError: No module named 'trollius'

Steps to Reproduce the Issue

pip install -U catkin_tools
catkin config

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:1
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

6reactions
mikepurviscommented, Feb 28, 2018

I still see this issue doing a pip install catkin_tools on Ubuntu within a Python 3 virtualenv— the fix is merged but not released.

2reactions
slivingstoncommented, Jun 28, 2017

Let me know if I should open a PR that provides the patch proposed above

Read more comments on GitHub >

github_iconTop Results From Across the Web

Installing catkin_tools - Catkin tools
Installing catkin_tools ¶. You can install the catkin_tools package as a binary through a package manager like pip or apt-get , or from...
Read more >
catkin build in Ubuntu 20.04 noetic? - ROS Answers
E: Package 'python3-trollius' has no installation candidate Try pip instead: sudo pip3 install -U catkin_tools Collecting catkin_tools ...
Read more >
catkin-tools - PyPI
Command line tools for working with catkin. ... catkin-tools 0.9.0. pip install catkin-tools. Copy PIP instructions. Latest version. Released: Jun 9, 2022.
Read more >
Ros Importerror: No Module Named Asyncio - ADocLib
And then when I install trollius from pip I get this instead:. ... linked below and that catkin tools isn't E: Package 'python3trollius'...
Read more >
ubuntu - How to fix a problem that "apt-get install" doesn't work ...
0-1 is to be installed python-catkin-tools : Depends: python (< 2.8) but 3.7.0-1 is to be installed Depends: python:any (>= 2.7.1- ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found