In my case, I was following the macOS tutorial at https://docs.ros.org/en/humble/Instal...
When I run
pip install -U \
argcomplete catkin_pkg colcon-common-extensions coverage \
cryptography empy flake8 flake8-blind-except==0.1.1 flake8-builtins \
flake8-class-newline flake8-comprehensions flake8-deprecated \
flake8-docstrings flake8-import-order flake8-quotes \
importlib-metadata lark==1.1.1 lxml matplotlib mock mypy==0.931 netifaces \
nose pep8 psutil pydocstyle pydot pygraphviz pyparsing==2.4.7 \
pytest-mock rosdep rosdistro setuptools==59.6.0 vcstool
I got error
ERROR: Could not find a version that satisfies the requirement vcstoolpip (from versions: none)
ERROR: No matching distribution found for vcstoolpip
However, after I install vcstool
individually by
pip install vcstool
Then I can use vcs
.
For the question, it might be because of environment. Using conda helps me have a clean Python environment:
conda create --name=ros python=3.10 --yes
conda activate ros
Is your PATH set correctly to get tools from pip? Depending on your specific setup,
pip install
may have installed the binary to~/.local/bin
- can you check if there is an executable calledvcs
in that directory? If so, then you'll need to add this to your PATH