Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invocation of command 'import' on client 'hg' failed #245

Open
liaoran opened this issue Jul 26, 2022 · 2 comments
Open

Invocation of command 'import' on client 'hg' failed #245

liaoran opened this issue Jul 26, 2022 · 2 comments

Comments

@liaoran
Copy link

liaoran commented Jul 26, 2022

OS: Ubuntu22.04 LTS
Python version: 3.10.4
ROS Version: ROS rolling
Error Information:

vcs import src < Gazebo9.repos
EEEEEE
=== src/gazebo (hg) ===
Invocation of command 'import' on client 'hg' failed: AssertionError: Could not find 'hg' executable (/usr/lib/python3/dist-packages/vcstool/clients/hg.py:328)
=== src/ign-cmake (hg) ===
Invocation of command 'import' on client 'hg' failed: AssertionError: Could not find 'hg' executable (/usr/lib/python3/dist-packages/vcstool/clients/hg.py:328)
=== src/ign-math (hg) ===
Invocation of command 'import' on client 'hg' failed: AssertionError: Could not find 'hg' executable (/usr/lib/python3/dist-packages/vcstool/clients/hg.py:328)
=== src/ign-msgs (hg) ===
Invocation of command 'import' on client 'hg' failed: AssertionError: Could not find 'hg' executable (/usr/lib/python3/dist-packages/vcstool/clients/hg.py:328)
=== src/ign-transport (hg) ===
Invocation of command 'import' on client 'hg' failed: AssertionError: Could not find 'hg' executable (/usr/lib/python3/dist-packages/vcstool/clients/hg.py:328)
=== src/sdformat (hg) ===
Invocation of command 'import' on client 'hg' failed: AssertionError: Could not find 'hg' executable (/usr/lib/python3/dist-packages/vcstool/clients/hg.py:328)

@christophebedard
Copy link
Contributor

The error message says "Could not find 'hg' executable" so I'm guessing that hg simply isn't installed. Install it by running:

sudo apt-get install -y mercurial

@liaoran
Copy link
Author

liaoran commented Aug 25, 2022

The error message says "Could not find 'hg' executable" so I'm guessing that hg simply isn't installed. Install it by running:

sudo apt-get install -y mercurial

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants