RVC3-python icon indicating copy to clipboard operation
RVC3-python copied to clipboard

rcvtool TypeError: version() takes 0 positional arguments but 1 was given

Open AlistJa opened this issue 9 months ago • 4 comments

I installed rcv3tool according to the instructions in the RVC3-python github.

When trying to launch the rvctool I got the following error:

Traceback (most recent call last): File "/home/xx/anaconda3/envs/RVC3/bin/rvctool", line 8, in sys.exit(main()) File "/home/xx/anaconda3/envs/RVC3/lib/python3.10/site-packages/RVC3/bin/rvctool.py", line 284, in main banner = make_banner(args) File "/home/xx/anaconda3/envs/RVC3/lib/python3.10/site-packages/RVC3/bin/rvctool.py", line 186, in make_banner versions.append(f"RTB=={version('roboticstoolbox-python')}") TypeError: version() takes 0 positional arguments but 1 was given

My Linux is Ubuntu 22.04 I've tried this with two different terminals: terminator and Ubuntu distro standard terminal. I've tied clean slate ubuntu 22.04 installation in Qemu. I run the seem to be problematic code in python terminal

f"RTB=={version('roboticstoolbox-python')}")

and it works as expected.

I finally got it working by using --no-banner command line option.

AlistJa avatar May 17 '25 09:05 AlistJa