mlhubber / mlhub

Machine Learning Model Repository Hub Command Line Tool.
MIT License
20 stars 11 forks source link

opencv: blurry command uses an older version of MLHUB #276

Open shashank-gv opened 2 years ago

shashank-gv commented 2 years ago

steps to recreate

ml install opencv
ml configure opencv
ml blurry opencv

Full error

ml blurry opencv
Traceback (most recent call last):
  File "/home/user/.mlhub/opencv/blurry.py", line 18, in <module>
    from mlhub.utils import get_cmd_cwd
ImportError: cannot import name 'get_cmd_cwd' from 'mlhub.utils' (/home/user/.local/lib/python3.10/site-packages/mlhub/utils.py)

Potential fix: get_cmd_cwd now lives in mlhub.pkg and not in mlhub.utils anymore. Changing this should fix the issue