question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

push/pull: missing sshfs dependency on macOS

See original GitHub issue

Bug Report

Description

Running dvc push returns an error after upgrading to dvc version 2.7.3.:

ERROR: failed to push data to the cloud - URL 'ssh://' is supported but requires these missing dependencies: ['sshfs']. Please report this bug to <https://github.com/iterative/dvc/issues>. Thank you!

Reproduce

  1. mkdir test
  2. cd test
  3. git init .
  4. dvc init
  5. dvc remote add storage ssh://host:/storage
  6. dvc remote default storage
  7. echo hi > test.txt
  8. dvc add test.txt
  9. dvc push test.txt

Expected

I expect the file to be pushed to the remote storage.

Environment information

macOS Big Sur version 11.5.1 running on MacBook Pro Intel DVC installed via Homebrew 3.2.12-18-g2dd3934

Output of dvc doctor:

DVC version: 2.7.3 (brew)

Platform: Python 3.9.7 on macOS-11.5.2-x86_64-i386-64bit Supports: azure (adlfs = 2021.9.1, knack = 0.8.2, azure-identity = 1.6.1), gdrive (pydrive2 = 1.9.3), gs (gcsfs = 2021.8.1), http (aiohttp = 3.7.4.post0, aiohttp-retry = 2.4.5), https (aiohttp = 3.7.4.post0, aiohttp-retry = 2.4.5), s3 (s3fs = 2021.8.1, boto3 = 1.17.106), webdav (webdav4 = 0.9.1), webdavs (webdav4 = 0.9.1) Cache types: reflink, hardlink, symlink Cache directory: apfs on /dev/disk1s5s1 Caches: local Remotes: ssh Workspace directory: apfs on /dev/disk1s5s1 Repo: dvc, git

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:22 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
mfakaehlercommented, Nov 28, 2022

I finally resolved the issue by downgrading openssl to 1.1.1s and cffi to 1.15.0 in my base-environment. In addition, I changed owner-ship of the base-environment and miniconda-installation to a non-root user. Now sshfs can be properly imported and dvc-ssh works fine.

1reaction
surya-narayanancommented, Oct 5, 2022

still facing this issue- same status as @TranThanh96. Are there any solutions / known errors in the env that you suggest looking into @efiop?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why does directory vanish when I do SSHFS? - Ask Different
I'm running Max OSX 10.9.3 and I'm trying to setup an SSHFS file-share between my MacBook Pro and a remote file system. However,...
Read more >
How To Use SSHFS to Mount Remote File Systems Over SSH
If you no longer need this mount, you can unmount it with the umount command: sudo umount /mnt/droplet.
Read more >
SSHFS mounting remote ssh server causes Segmentation fault
I'm trying to follow this tutorial mounting a SSH server on macOS. I installed with brew install ...
Read more >
Mac OS X: use SSHFS to mount a remote directory as a volume
Mac OS X : use SSHFS to mount a remote directory as a volume · Open the AppleScript Editor · Create a script...
Read more >
Using sshfs to mount a remote filesystem on OSX fails ...
@Jakuje oh, I totally missed that in the man page, I was only searching for 'verbose'. I'll try that! – 3cheesewheel. Jan 30,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found