mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-10 23:10:42 +01:00
Rectified install: Cask 'dvc' is not installed. error #2680
This commit is contained in:
@@ -123,7 +123,6 @@ class Updater(object): # pragma: no cover
|
||||
"yum": "Run {yellow}yum{reset} update dvc",
|
||||
"yay": "Run {yellow}yay{reset} {blue}-S{reset} dvc",
|
||||
"formula": "Run {yellow}brew{reset} upgrade dvc",
|
||||
"cask": "Run {yellow}brew cask{reset} upgrade dvc",
|
||||
"apt": (
|
||||
"Run {yellow}apt-get{reset} install"
|
||||
" {blue}--only-upgrade{reset} dvc"
|
||||
@@ -169,14 +168,6 @@ class Updater(object): # pragma: no cover
|
||||
return "formula"
|
||||
else:
|
||||
return "pip"
|
||||
|
||||
# NOTE: both pkg and cask put dvc binary into /usr/local/bin,
|
||||
# so in order to know which method of installation was used,
|
||||
# we need to actually call `brew cask`
|
||||
ret = os.system("brew cask ls dvc")
|
||||
if ret == 0:
|
||||
return "cask"
|
||||
|
||||
return None
|
||||
|
||||
def _get_windows(self):
|
||||
|
||||
Reference in New Issue
Block a user