votchallenge / toolkit

The official VOT Challenge evaluation and analysis toolkit
http://www.votchallenge.net/
GNU General Public License v3.0
158 stars 46 forks source link

Couldn't find command 'vot' #21

Closed zhanxinrui closed 4 years ago

zhanxinrui commented 4 years ago

When I use the command "vot workspace --workspace " from the guide in "https://www.votchallenge.net/howto/tutorial_python.html", I got an error info "Command 'vot' not found". I guess I need to add some path to my env, but I couldn't find any executable file in "vot" folder.

lukacu commented 4 years ago

This usually happens when you do not install the toolkit with pip or run setup.py. You can also run CLI commands using "python -m vot.cli" instead of "vot", but you must have the toolkit in your Python path in either case.

zhanxinrui commented 4 years ago

This usually happens when you do not install the toolkit with pip or run setup.py. You can also run CLI commands using "python -m vot.cli" instead of "vot", but you must have the toolkit in your Python path in either case.

I tried all these ways but have the error still. Finally solved it by changing python from v3.7 to v3.6, I don't know whether it is the python version caused the error or the packages in my envs. But thanks anyway!