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.

sshfs not missing

See original GitHub issue

dvc push reports

ERROR: failed to push data to the cloud - URL 'ssh://' is supported but requires these missing dependencies: ['sshfs']. To install dvc with those dependencies, run

pip install 'dvc[ssh]'

pip freeze reports

sshfs==2022.6.0

This happens whenever I try to push to a ssh remote.

Traceback (most recent call last):
  File "/data/someenv/lib/python3.6/site-packages/dvc/command/data_sync.py", line 67, in run
    glob=self.args.glob,
  File "/data/someenv/lib/python3.6/site-packages/dvc/repo/__init__.py", line 50, in wrapper
    return f(repo, *args, **kwargs)
  File "/data/someenv/lib/python3.6/site-packages/dvc/repo/push.py", line 48, in push
    pushed += self.cloud.push(obj_ids, jobs, remote=remote, odb=odb)
  File "/data/someenv/lib/python3.6/site-packages/dvc/data_cloud.py", line 84, in push
    odb = self.get_remote_odb(remote, "push")
  File "/data/someenv/lib/python3.6/site-packages/dvc/data_cloud.py", line 40, in get_remote_odb
    return self._init_odb(name)
  File "/data/someenv/lib/python3.6/site-packages/dvc/data_cloud.py", line 63, in _init_odb
    return get_odb(cls(**config), path_info, **config)
  File "/data/someenv/lib/python3.6/site-packages/dvc/fs/fsspec_wrapper.py", line 42, in __init__
    super().__init__(**kwargs)
  File "/data/someenv/lib/python3.6/site-packages/dvc/fs/base.py", line 62, in __init__
    self._check_requires(**kwargs)
  File "/data/someenv/lib/python3.6/site-packages/dvc/fs/base.py", line 128, in _check_requires
    f"URL '{url}' is supported but requires these missing "
dvc.fs.base.RemoteMissingDepsError: URL 'ssh://' is supported but requires these missing dependencies: ['sshfs']. To install dvc with those dependencies, run:

What makes this even more bizarre is:

which sshfs
/usr/bin/sshfs

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
skshetrycommented, Aug 11, 2022

It is mentioned, it says Python 3.7+, which will be updated to Python 3.8+ shortly.

1reaction
skshetrycommented, Aug 11, 2022

@Tel44, we do mention that we require a particular version of Python in the installation section. https://dvc.org/doc/install/linux#install-with-pip

But it looks like we did not update that to reflect that we now require Python 3.8. I have opened a PR in https://github.com/iterative/dvc.org/pull/3874 for that.

Read more comments on GitHub >

github_iconTop Results From Across the Web

SSHFS returns "missing host" when attempting to connect to ...
Try changing the command to sshfs uname@xxx.xxx.xxx.xxx:/absolut/path/to/Net\ Drive/ . the : is required to specify a remote path. 7
Read more >
sshfs empty the source path with -o nonempty - Ask Ubuntu
suddenly, my data on machine1 under /temp/user1/data are all gone, leaving an empty folder! all data lossed! what is wrong, can I got...
Read more >
Why does directory vanish when I do SSHFS? - Ask Different
Not only is the File Sharing not working, but the share1 directory seems to have vanished! (Although the file system seems to know...
Read more >
SSHFS: Mounting a remote file system over SSH - Red Hat
Learn how to securely mount a remote file system from another server locally on your machine with SSHFS.
Read more >
Using sshfs to mount a remote filesystem on OSX fails ...
Sometimes this command works just fine, and it prompts me for a password and the filesystem is mounted. But other times, it just...
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