VOT Initialization

Skip to first unread message

Aysha Alshebli

May 17, 2023, 3:19:55 AM5/17/23
to VOT Challenge technical support
Dear team,

I'm trying to initialize vot but kept getting this error:
(vot) C:\>vot initialize
Traceback (most recent call last):
  File "D:\Anaconda\envs\vot\lib\runpy.py", line 197, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "D:\Anaconda\envs\vot\lib\runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "D:\Anaconda\envs\vot\Scripts\vot.exe\__main__.py", line 4, in <module>
  File "D:\Anaconda\envs\vot\lib\site-packages\vot\utilities\cli.py", line 9, in <module>
    from ..tracker import Registry, TrackerException
  File "D:\Anaconda\envs\vot\lib\site-packages\vot\tracker\__init__.py", line 14, in <module>
    from vot.dataset import Frame
  File "D:\Anaconda\envs\vot\lib\site-packages\vot\dataset\__init__.py", line 11, in <module>
    from trax import Region
  File "D:\Anaconda\envs\vot\lib\site-packages\trax\__init__.py", line 7, in <module>
    from ._ctypes import \
  File "D:\Anaconda\envs\vot\lib\site-packages\trax\_ctypes.py", line 503, in <module>
    _libs["libtrax"] = load_library("libtrax")
  File "D:\Anaconda\envs\vot\lib\site-packages\trax\_ctypes.py", line 191, in __call__
    raise ImportError("Could not load %s." % libname)
ImportError: Could not load libtrax.

Can you assist please.



May 22, 2023, 6:04:32 AM5/22/23
to VOT Challenge technical support
This looks like an installation problem, if the toolkit is installed using pip then it should automatically install dependencies correctly. Since trax is installed as a python package it may be that the native library was not compiled (error during installation).

Aysha Alshebli

May 23, 2023, 12:36:55 AM5/23/23
to VOT Challenge technical support
The toolkit is already installed using pip. However, I tried to install an older version of the toolkit (pip install "vot-toolkit==0.5.3") with  (pip install "vot-trax==3.0.3") and it's working fine.



May 25, 2023, 6:27:50 AM5/25/23
to VOT Challenge technical support
So far I have not noticed problems with this elsewhere (toolkit installation on several machines). Is there anything unusual printed during pip install? Another problem may be Windows, I will check it there when I get a chance since I am not using Windows myself.
Reply all
Reply to author
0 new messages