Closed gjwgit closed 3 years ago
How to get rid of the git message about the branch up to date? Just output the error message on one line.
$ ml install anusii/relm
Your branch is up to date with 'origin/master'.
mlhub: No MLHUB.yaml description file found.
$ pip3 install mlhub==3.7.8
...
$ ml readme rain
Predicting Rain
This MLHub package uses the weatherAUS dataset from R’s Rattle package
...
$ pip3 install mlhub==3.7.9
Collecting mlhub==3.7.9
...
$ ml readme rain
mlhub: The 'rain' model does not have a 'README.txt' file.
proc = subprocess.Popen( command, shell=True, stderr=subprocess.PIPE, stdout=subprocess.PIPE )
Basically, this "pipes" whatever cmd outputs to stdout and stderr to in-memory buffers prepared by subprocess. What you do with the content of those buffers are up to you. You can examine them, or don't bother with them altogether. But the side effect of piping to these buffers is that they won't be printed to the terminal
ref: https://stackoverflow.com/questions/4996852/how-to-just-call-a-command-and-not-get-its-output
When is the check done - it should be done before dowloading the full repo.
We really should not be seeing the traceback dump: