Skip to content

Missing package paramiko error for ssh connection when installing via conda-forge and pip #4616

@JenniferHem

Description

@JenniferHem

I wanted to use DVC to track files and push them via SSH to a remote repository. I am not sure if I misread the installation guide. I was assuming that installation via conda-forge would contain the ssh dependency as well. However, when using DVC in my project and trying to push changes to a ssh remote I get the following error:

ERROR: failed to push data to the cloud - URL {ssh:user@host/path/to/file}  is supported but requires these missing 
dependencies: ['paramiko']. If you have installed dvc using pip, choose one of these options to proceed:

1) Install specific missing dependencies:
    pip install paramiko
2) Install dvc package that includes those missing dependencies:
    pip install 'dvc[ssh]'
3) Install dvc package with all possible dependencies included:
    pip install 'dvc[all]

I have installed DVC via conda-forge and conda list shows:
dvc 1.7.3 py37hc8dfbb8_0 conda-forge
paramiko 2.7.2 pyh9f0ad1d_0 conda-forge

Output of dvc version:

$ dvc version

DVC version: 1.7.3 (conda)
---------------------------------
Platform: Python 3.7.0 on Windows-10-10.0.18362-SP0
Supports: azure, gdrive, gs, hdfs, http, https, s3, oss
Cache types: hardlink
Repo: dvc, git 

Installation of dvc or paramiko fails beause it is already part of the einvironment. Did I miss to install any package via conda to make it work?

Edit:
--> the same occurs when installing via pip (pip install dvc[all])

$ dvc version

DVC version: 1.7.4 (pip)
---------------------------------
Platform: Python 3.7.0 on Windows-10-10.0.18362-SP0
Supports: azure, gdrive, gs, hdfs, http, https, s3, oss, webdav, webdavs
Cache types: hardlink
Repo: dvc, git

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