ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Are you trying to do this on Ubuntu Focal or Bionic? If you "only" have Python 3, then I believe catkin/catkin_tools#597 should not matter: on Focal, catkin_tools
would be running using Python 3, so that would be the same interpreter as it should use in the workspace itself. The issue describes a situation where there is a difference between the interpreter running catkin_tools
vs the interpreter used in the workspace.
As to Trollius: there just hasn't been a release yet of catkin_tools
with the changes required to work with Python 3 afaict.
I'd suggest to try and install catkin_tools
using pip
, but from the repository.
2 | No.2 Revision |
Are you trying to do this on Ubuntu Focal or Bionic? If you "only" have Python 3, then I believe catkin/catkin_tools#597 should not matter: on Focal, catkin_tools
would be running using Python 3, so that would be the same interpreter as it should use in the workspace itself. The issue describes a situation where there is a difference between the interpreter running catkin_tools
vs the interpreter used in the workspace.
As to Trollius: there just hasn't been a release yet of catkin_tools
with the changes required to work with Python 3 afaict.
I'd suggest to try and install catkin_tools
using pip
, but from the repository.repository:
pip3 install git+https://github.com/catkin/catkin_tools.git
This works for me.
3 | No.3 Revision |
Are you trying to do this on Ubuntu Focal or Bionic? If you "only" have Python 3, then I believe catkin/catkin_tools#597 should not matter: on Focal, catkin_tools
would be running using Python 3, so that would be the same interpreter as it should use in the workspace itself. The issue describes a situation where there is a difference between the interpreter running catkin_tools
vs the interpreter used in the workspace.
As to Trollius: there just hasn't been a release yet of catkin_tools
with the changes required to work with Python 3 afaict.
I'd suggest to try and install catkin_tools
using pip
, but from the repository:
pip3 install --user git+https://github.com/catkin/catkin_tools.git
This works for me.
Note: be sure to remove this work-around after a new release of catkin_tools
has been cut. Otherwise you will run into issues later.
4 | No.4 Revision |
Are you trying to do this on Ubuntu Focal or Bionic? If you "only" have Python 3, then I believe catkin/catkin_tools#597 should not matter: on Focal, catkin_tools
would be running using Python 3, so that would be the same interpreter as it should use in the workspace itself. The issue describes a situation where there is a difference between the interpreter running catkin_tools
vs the interpreter used in the workspace.
As to Trollius: there just hasn't been a release yet of catkin_tools
with the changes required to work with Python 3 afaict.PRs integrated which remove the dependency.
I'd suggest to try and install catkin_tools
using pip
, but from the repository:repository (so not a released version):
pip3 install --user git+https://github.com/catkin/catkin_tools.git
This works for me.
Note: be sure to remove this work-around after a new release of catkin_tools
has been cut. Otherwise you will run into issues later.
5 | No.5 Revision |
Are Edit: as of 2020-12-25, it may be easier to make sure you have the ROS package repositories configured (the same ones you use to install ROS itself), and then:
sudo apt install python3-catkin-tools python3-osrf-pycommon
The osrf-pycommon
package is a dependency, but not in the Debian control file, hence it doesn't get installed automatically.
Note: this is still a work-around of sorts, as the main problem has not been addressed yet.
Original answer: are you trying to do this on Ubuntu Focal or Bionic? If you "only" have Python 3, then I believe catkin/catkin_tools#597 should not matter: on Focal, catkin_tools
would be running using Python 3, so that would be the same interpreter as it should use in the workspace itself. The issue describes a situation where there is a difference between the interpreter running catkin_tools
vs the interpreter used in the workspace.
As to Trollius: there just hasn't been a release yet of catkin_tools
with the PRs integrated which remove the dependency.
I'd suggest to try and install catkin_tools
using pip
, but from the repository (so not a released version):
pip3 install --user git+https://github.com/catkin/catkin_tools.git
This works for me.
Note: be sure to remove this work-around after a new release of catkin_tools
has been cut. Otherwise you will run into issues later.