Skip to content

Homebrew dvc version is missing invoke dependency #4589

@Pseudomanifold

Description

@Pseudomanifold

Bug Report

Upon installing dvc on Mac OS X Catalina 10.15.6 (19G2021) using Homebrew, the dvc push command fails with the message:

dvc ERROR: unexpected error - No module named 'invoke'

This can be fixed by invoking (no pun intended) pip3 install invoke in the virtual environment used by dcv. More precisely, the following workaround solves the issue:

$ source /usr/local/Cellar/dvc/1.7.2/libexec/bin/activate
$ pip3 install invoke

Please provide information about your setup

Output of dvc version:

$ dvc version
DVC version: 1.7.2 (brew)
---------------------------------
Platform: Python 3.8.5 on macOS-10.15.6-x86_64-i386-64bit
Supports: azure, gdrive, gs, http, https, s3, ssh, oss, webdav, webdavs
Cache types: reflink, hardlink, symlink
Repo: dvc, git

Additional Information (if any):

If applicable, please also provide a --verbose output of the command, eg: dvc add --verbose.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions