Skip to content

rvctool: command not found  #2

Closed

Description

@MorphRobotics

After running pip install rvc3python. The rvctool command does not work, it returns the error "rvctool: command not found"

Activity

  1. petercorke commented on May 25, 2023

    @petercorke
    Owner

    are you working inside a virtual environment like conda? Did you try rehash?

    this probably should have been reported as a bug rather than errata, it's an issue with the code not the book.

  2. petercorke commented on Jul 9, 2023

    @petercorke
    Owner

    resolved?

  3. MorphRobotics commented on Jul 9, 2023

    @MorphRobotics
    Author

    Not yet, I've attached a picture of the error I'm getting. To use the toolbox I have to go into iPython and manually code in that environment.
    rvctool error

  4. petercorke commented on Jul 9, 2023

    @petercorke
    Owner

    ok, this looks an error in the spatial math library related to type hints that is occurring for Python 3.10. Leave this with me.

  5. petercorke commented on Jul 16, 2023

    @petercorke
    Owner

    Do you have the latest version of typing_extensions installed in this python environment?

  6. MorphRobotics commented on Jul 24, 2023

    @MorphRobotics
    Author

    Yes I do

  7. followthwhiterabbit commented on Oct 27, 2023

    @followthwhiterabbit

    I have came across with a similar problem in rtbtool yesterday, uninstalling and reinstalling matplotlib solved my issue, I hope it would help with your case as well.

  8. petercorke commented on Nov 13, 2023

    @petercorke
    Owner

    Hi @followthwhiterabbit, rtbtool was the precursor to rvctool, same principles but I suspect it might be a bit buggier. It's roughly equivalent to rvctool --no-vision. Not sure why changes to matplotlib would have the effect you mentioned, that seems odd.

  9. petercorke commented on Nov 13, 2023

    @petercorke
    Owner

    I've just done a clean install using conda for Python 3.10, on a Mac, and got no issues. If you still have no luck, are you willing to try it with conda? I resisted conda for ages, but it's made my life so much easier.

  10. QNjeason commented on Jun 20, 2025

    @QNjeason

    I also encountered the same problem

    Image

  11. QNjeason commented on Jun 20, 2025

    @QNjeason

    Am I using Anaconda or the same issue. Python version 3.10.18
    Image

    Image

  12. petercorke commented on Sep 26, 2026

    @petercorke
    Owner

    Hi @MorphRobotics, @followthwhiterabbit, @QNjeason — thanks for the reports and for sticking with this thread.

    A couple of packaging bugs that could plausibly cause this have been fixed since the original report:

    Could you each try again against the latest release (pip install --upgrade rvc3python) in a fresh virtual environment, and if rvctool is still not found, let us know:

    • Python version and OS
    • pip or conda install
    • output of pip show rvc3python and which rvctool (where rvctool on Windows)

    That'll help tell us whether this is fixed now, or whether there's a real bug still specific to your setup.

  13. petercorke commented on Oct 13, 2026

    @petercorke
    Owner

    Thank you for your interest in RVC3-python, and for the report and your patience while this was open.

    I've just done clean installs of rvc3python 1.0.0 from PyPI into fresh virtual environments on Python 3.10 and 3.12. In both, pip install rvc3python put an rvctool command in the environment and it started correctly with the toolboxes loaded. The packaging problems that could have caused this were fixed after your report (#47, #49) and released in 1.0.0.

    If you still see "command not found", make sure the environment you installed into is activated (which rvctool should find it). If you have trouble with 1.0.0, please open a new issue with the output of pip show rvc3python and which rvctool.

    Closing as resolved. Thanks again!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions