# DVC push raises errno 95

**URL:** <https://discuss.dvc.org/t/dvc-push-raises-errno-95/1180>\
**Category:** Bug Reports\
**Created:** [April 28, 2022, 7:40am UTC](https://discuss.dvc.org/t/dvc-push-raises-errno-95/1180 "2022-04-28T07:40:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![TomekTarczynski](https://yyz1.discourse-cdn.com/flex035/user_avatar/discuss.dvc.org/tomektarczynski/32/176_2.png) [@TomekTarczynski](https://discuss.dvc.org/u/TomekTarczynski)\
**Post date:** [April 28, 2022, 7:40am UTC](https://discuss.dvc.org/t/dvc-push-raises-errno-95/1180/1 "2022-04-28T07:40:57Z")

</div>

DVC in AWS Sagemaker notebook worked perfectly, until like a week ago. Everytime I try to do DVC push to S3 I receive the same error.

\*ERROR: unexpected error - **init** () got an unexpected keyword argument ‘skip\_instance\_cache’ \*

_Having any troubles? Hit us up at [https://dvc.org/support](https://dvc.org/support), we are always happy to help!_

Here is the full result of dvc push -v (the only thing I changed is the actual path to S3 into [S3\_PATH]:

_sh-4.2$ dvc push -v_  
_2022-04-28 07:28:50,999 DEBUG: Preparing to transfer data from ‘/home/ec2-user/SageMaker/.dvc/cache’ to [S3\_PATH]_  
_2022-04-28 07:28:51,000 DEBUG: Preparing to collect status from[S3\_PATH]_  
_2022-04-28 07:28:51,000 DEBUG: Collecting status from[S3\_PATH]_  
\*2022-04-28 07:28:51,001 ERROR: unexpected error - **init** () got an unexpected keyword argument ‘skip\_instance\_cache’ \*  
_------------------------------------------------------------_  
_Traceback (most recent call last):_

- File “/home/ec2-user/anaconda3/envs/JupyterSystemEnv/lib/python3.7/site-packages/dvc/cli/ **init**.py”, line 89, in main\*
- ret = cmd.do\_run()\*
- File “/home/ec2-user/anaconda3/envs/JupyterSystemEnv/lib/python3.7/site-packages/dvc/cli/command.py”, line 22, in do\_run\*
- return self.run()\*
- File “/home/ec2-user/anaconda3/envs/JupyterSystemEnv/lib/python3.7/site-packages/dvc/commands/data\_sync.py”, line 68, in run\*
- glob=self.args.glob,\*
- File “/home/ec2-user/anaconda3/envs/JupyterSystemEnv/lib/python3.7/site-packages/dvc/repo/ **init**.py”, line 48, in wrapper\*
- return f(repo, \*args, \*_kwargs)_
- File “/home/ec2-user/anaconda3/envs/JupyterSystemEnv/lib/python3.7/site-packages/dvc/repo/push.py”, line 69, in push\*
- obj\_ids, jobs, remote=remote, odb=odb or dest\_odb\*
- File “/home/ec2-user/anaconda3/envs/JupyterSystemEnv/lib/python3.7/site-packages/dvc/data\_cloud.py”, line 91, in push\*
- cache\_odb=self.repo.odb.local,\*
- File “/home/ec2-user/anaconda3/envs/JupyterSystemEnv/lib/python3.7/site-packages/dvc/data/transfer.py”, line 155, in transfer\*
- src, dest, obj\_ids, check\_deleted=False, jobs=jobs, \*_kwargs_
- File “/home/ec2-user/anaconda3/envs/JupyterSystemEnv/lib/python3.7/site-packages/dvc/data/status.py”, line 164, in compare\_status\*
- dest, obj\_ids, index=dest\_index, jobs=jobs, \*_kwargs_
- File “/home/ec2-user/anaconda3/envs/JupyterSystemEnv/lib/python3.7/site-packages/dvc/data/status.py”, line 135, in status\*
- exists.update(odb.hashes\_exist(hashes, name=odb.fs\_path, jobs=jobs))\*
- File “/home/ec2-user/anaconda3/envs/JupyterSystemEnv/lib/python3.7/site-packages/dvc/objects/db.py”, line 423, in hashes\_exist\*
- remote\_size, remote\_hashes = self.\_estimate\_remote\_size(hashes, name)\*
- File “/home/ec2-user/anaconda3/envs/JupyterSystemEnv/lib/python3.7/site-packages/dvc/objects/db.py”, line 265, in \_estimate\_remote\_size\*
- remote\_hashes = set(iter\_with\_pbar(hashes))\*
- File “/home/ec2-user/anaconda3/envs/JupyterSystemEnv/lib/python3.7/site-packages/dvc/objects/db.py”, line 254, in iter\_with\_pbar\*
- for hash\_ in hashes:\*
- File “/home/ec2-user/anaconda3/envs/JupyterSystemEnv/lib/python3.7/site-packages/dvc/objects/db.py”, line 217, in \_hashes\_with\_limit\*
- for hash\_ in self.\_list\_hashes(prefix):\*
- File “/home/ec2-user/anaconda3/envs/JupyterSystemEnv/lib/python3.7/site-packages/dvc/objects/db.py”, line 207, in \_list\_hashes\*
- for path in self.\_list\_paths(prefix):\*
- File “/home/ec2-user/anaconda3/envs/JupyterSystemEnv/lib/python3.7/site-packages/dvc/objects/db.py”, line 191, in \_list\_paths\*
- yield from self.fs.find(self.fs.path.join(_parts), prefix=bool(prefix))_
- File “/home/ec2-user/anaconda3/envs/JupyterSystemEnv/lib/python3.7/site-packages/dvc/fs/fsspec\_wrapper.py”, line 189, in find\*
- files = self.fs.find(with\_prefix, prefix=self.path.parts(path)[-1])\*
- File “/home/ec2-user/anaconda3/envs/JupyterSystemEnv/lib/python3.7/site-packages/funcy/objects.py”, line 50, in **get** \*
- return prop. **get** (instance, type)\*
- File “/home/ec2-user/anaconda3/envs/JupyterSystemEnv/lib/python3.7/site-packages/funcy/objects.py”, line 28, in **get** \*
- res = instance. **dict** [self.fget. **name**] = self.fget(instance)\*
- File “/home/ec2-user/anaconda3/envs/JupyterSystemEnv/lib/python3.7/site-packages/dvc/fs/s3.py”, line 153, in fs\*
- return \_S3FileSystem(\*_self.fs\_args)_
- File “/home/ec2-user/anaconda3/envs/JupyterSystemEnv/lib/python3.7/site-packages/s3fs/core.py”, line 189, in **init** \*
- self.s3 = self.connect()\*
- File “/home/ec2-user/anaconda3/envs/JupyterSystemEnv/lib/python3.7/site-packages/s3fs/core.py”, line 256, in connect\*
- \*_self.kwargs)_  
_TypeError: **init** () got an unexpected keyword argument ‘skip\_instance\_cache’_  
_------------------------------------------------------------_  
_2022-04-28 07:28:51,150 DEBUG: [Errno 95] no more link types left to try out: [Errno 95] ‘reflink’ is not supported by \<class ‘dvc.fs.local.LocalFileSystem’\>: [Errno 95] Operation not supported_  
_------------------------------------------------------------_  
_Traceback (most recent call last):_
- File “/home/ec2-user/anaconda3/envs/JupyterSystemEnv/lib/python3.7/site-packages/dvc/cli/ **init**.py”, line 89, in main\*
- ret = cmd.do\_run()\*
- File “/home/ec2-user/anaconda3/envs/JupyterSystemEnv/lib/python3.7/site-packages/dvc/cli/command.py”, line 22, in do\_run\*
- return self.run()\*
- File “/home/ec2-user/anaconda3/envs/JupyterSystemEnv/lib/python3.7/site-packages/dvc/commands/data\_sync.py”, line 68, in run\*
- glob=self.args.glob,\*
- File “/home/ec2-user/anaconda3/envs/JupyterSystemEnv/lib/python3.7/site-packages/dvc/repo/ **init**.py”, line 48, in wrapper\*
- return f(repo, \*args, \*_kwargs)_
- File “/home/ec2-user/anaconda3/envs/JupyterSystemEnv/lib/python3.7/site-packages/dvc/repo/push.py”, line 69, in push\*
- obj\_ids, jobs, remote=remote, odb=odb or dest\_odb\*
- File “/home/ec2-user/anaconda3/envs/JupyterSystemEnv/lib/python3.7/site-packages/dvc/data\_cloud.py”, line 91, in push\*
- cache\_odb=self.repo.odb.local,\*
- File “/home/ec2-user/anaconda3/envs/JupyterSystemEnv/lib/python3.7/site-packages/dvc/data/transfer.py”, line 155, in transfer\*
- src, dest, obj\_ids, check\_deleted=False, jobs=jobs, \*_kwargs_
- File “/home/ec2-user/anaconda3/envs/JupyterSystemEnv/lib/python3.7/site-packages/dvc/data/status.py”, line 164, in compare\_status\*
- dest, obj\_ids, index=dest\_index, jobs=jobs, \*_kwargs_
- File “/home/ec2-user/anaconda3/envs/JupyterSystemEnv/lib/python3.7/site-packages/dvc/data/status.py”, line 135, in status\*
- exists.update(odb.hashes\_exist(hashes, name=odb.fs\_path, jobs=jobs))\*
- File “/home/ec2-user/anaconda3/envs/JupyterSystemEnv/lib/python3.7/site-packages/dvc/objects/db.py”, line 423, in hashes\_exist\*
- remote\_size, remote\_hashes = self.\_estimate\_remote\_size(hashes, name)\*
- File “/home/ec2-user/anaconda3/envs/JupyterSystemEnv/lib/python3.7/site-packages/dvc/objects/db.py”, line 265, in \_estimate\_remote\_size\*
- remote\_hashes = set(iter\_with\_pbar(hashes))\*
- File “/home/ec2-user/anaconda3/envs/JupyterSystemEnv/lib/python3.7/site-packages/dvc/objects/db.py”, line 254, in iter\_with\_pbar\*
- for hash\_ in hashes:\*
- File “/home/ec2-user/anaconda3/envs/JupyterSystemEnv/lib/python3.7/site-packages/dvc/objects/db.py”, line 217, in \_hashes\_with\_limit\*
- for hash\_ in self.\_list\_hashes(prefix):\*
- File “/home/ec2-user/anaconda3/envs/JupyterSystemEnv/lib/python3.7/site-packages/dvc/objects/db.py”, line 207, in \_list\_hashes\*
- for path in self.\_list\_paths(prefix):\*
- File “/home/ec2-user/anaconda3/envs/JupyterSystemEnv/lib/python3.7/site-packages/dvc/objects/db.py”, line 191, in \_list\_paths\*
- yield from self.fs.find(self.fs.path.join(_parts), prefix=bool(prefix))_
- File “/home/ec2-user/anaconda3/envs/JupyterSystemEnv/lib/python3.7/site-packages/dvc/fs/fsspec\_wrapper.py”, line 189, in find\*
- files = self.fs.find(with\_prefix, prefix=self.path.parts(path)[-1])\*
- File “/home/ec2-user/anaconda3/envs/JupyterSystemEnv/lib/python3.7/site-packages/funcy/objects.py”, line 50, in **get** \*
- return prop. **get** (instance, type)\*
- File “/home/ec2-user/anaconda3/envs/JupyterSystemEnv/lib/python3.7/site-packages/funcy/objects.py”, line 28, in **get** \*
- res = instance. **dict** [self.fget. **name**] = self.fget(instance)\*
- File “/home/ec2-user/anaconda3/envs/JupyterSystemEnv/lib/python3.7/site-packages/dvc/fs/s3.py”, line 153, in fs\*
- return \_S3FileSystem(\*_self.fs\_args)_
- File “/home/ec2-user/anaconda3/envs/JupyterSystemEnv/lib/python3.7/site-packages/s3fs/core.py”, line 189, in **init** \*
- self.s3 = self.connect()\*
- File “/home/ec2-user/anaconda3/envs/JupyterSystemEnv/lib/python3.7/site-packages/s3fs/core.py”, line 256, in connect\*
- \*_self.kwargs)_  
_TypeError: **init** () got an unexpected keyword argument ‘skip\_instance\_cache’_

_During handling of the above exception, another exception occurred:_

_Traceback (most recent call last):_

- File “/home/ec2-user/anaconda3/envs/JupyterSystemEnv/lib/python3.7/site-packages/dvc/fs/utils.py”, line 28, in \_link\*
- func(from\_path, to\_path)\*
- File “/home/ec2-user/anaconda3/envs/JupyterSystemEnv/lib/python3.7/site-packages/dvc/fs/local.py”, line 145, in reflink\*
- System.reflink(from\_info, to\_info)\*
- File “/home/ec2-user/anaconda3/envs/JupyterSystemEnv/lib/python3.7/site-packages/dvc/system.py”, line 112, in reflink\*
- System.\_reflink\_linux(source, link\_name)\*
- File “/home/ec2-user/anaconda3/envs/JupyterSystemEnv/lib/python3.7/site-packages/dvc/system.py”, line 96, in \_reflink\_linux\*
- fcntl.ioctl(d.fileno(), FICLONE, s.fileno())\*  
_OSError: [Errno 95] Operation not supported_

_The above exception was the direct cause of the following exception:_

_Traceback (most recent call last):_

- File “/home/ec2-user/anaconda3/envs/JupyterSystemEnv/lib/python3.7/site-packages/dvc/fs/utils.py”, line 69, in \_try\_links\*
- return \_link(link, from\_fs, from\_path, to\_fs, to\_path)\*
- File “/home/ec2-user/anaconda3/envs/JupyterSystemEnv/lib/python3.7/site-packages/dvc/fs/utils.py”, line 34, in \_link\*
- ) from exc\*  
_OSError: [Errno 95] ‘reflink’ is not supported by \<class ‘dvc.fs.local.LocalFileSystem’\>_

_The above exception was the direct cause of the following exception:_

_Traceback (most recent call last):_

- File “/home/ec2-user/anaconda3/envs/JupyterSystemEnv/lib/python3.7/site-packages/dvc/fs/utils.py”, line 124, in \_test\_link\*
- \_try\_links([link], from\_fs, from\_file, to\_fs, to\_file)\*
- File “/home/ec2-user/anaconda3/envs/JupyterSystemEnv/lib/python3.7/site-packages/dvc/fs/utils.py”, line 79, in \_try\_links\*
- ) from error\*  
_OSError: [Errno 95] no more link types left to try out_  
_------------------------------------------------------------_  
_2022-04-28 07:28:51,151 DEBUG: Removing ‘/home/ec2-user/SageMaker/.CNzpVvSTZswKCiRWdm3JZN.tmp’_  
_2022-04-28 07:28:51,151 DEBUG: Removing ‘/home/ec2-user/SageMaker/.CNzpVvSTZswKCiRWdm3JZN.tmp’_  
_2022-04-28 07:28:51,151 DEBUG: Removing ‘/home/ec2-user/SageMaker/.CNzpVvSTZswKCiRWdm3JZN.tmp’_  
_2022-04-28 07:28:51,151 DEBUG: Removing ‘/home/ec2-user/SageMaker/DS-16-MEX-NC/.dvc/cache/.mTyDWUx2EnLr7DGFySCmAh.tmp’_  
_2022-04-28 07:28:51,154 DEBUG: Version info for developers:_  
_DVC version: 2.10.1 (pip)_  
_---------------------------------_  
_Platform: Python 3.7.12 on Linux-4.14.252-131.483.amzn1.x86\_64-x86\_64-with-glibc2.10_  
_Supports:_
- 

```
   webhdfs (fsspec = 2022.3.0),*

```

- 

```
   http (aiohttp = 3.8.1, aiohttp-retry = 2.4.6),*

```

- 

```
   https (aiohttp = 3.8.1, aiohttp-retry = 2.4.6),*

```

- 

```
   s3 (s3fs = 0.2.0, boto3 = 1.21.42)*

```

_Cache types: hardlink, symlink_  
_Cache directory: ext4 on /dev/xvdf_  
_Caches: local_  
_Remotes: s3_  
_Workspace directory: ext4 on /dev/xvdf_  
_Repo: dvc, git_

_Having any troubles? Hit us up at [https://dvc.org/support](https://dvc.org/support), we are always happy to help!_  
_2022-04-28 07:28:51,156 DEBUG: Analytics is enabled._  
_2022-04-28 07:28:51,217 DEBUG: Trying to spawn ‘[‘daemon’, ‘-q’, ‘analytics’, ‘/tmp/tmp7v\_heiau’]’_  
_2022-04-28 07:28:51,218 DEBUG: Spawned ‘[‘daemon’, ‘-q’, ‘analytics’, ‘/tmp/tmp7v\_heiau’]’_

Could you please help me to fix this?

---

<div class="post-metadata">

**Author:** ![dtrifiro](https://avatars.discourse-cdn.com/v4/letter/d/278dde/32.png) [@dtrifiro](https://discuss.dvc.org/u/dtrifiro)\
**Post date:** [April 28, 2022, 8:57am UTC](https://discuss.dvc.org/t/dvc-push-raises-errno-95/1180/2 "2022-04-28T08:57:31Z")

</div>

Hi!  
I’m not sure if it’s a rendering issue on the forum or not, but it looks like the `s3fs` version is not correct (it’s supposed to be `2022.3.0` for a fresh install).

Could you try re-installing dvc `pip install 'dvc[s3]'` and trying again? Thanks!

---

<div class="post-metadata">

**Author:** ![TomekTarczynski](https://yyz1.discourse-cdn.com/flex035/user_avatar/discuss.dvc.org/tomektarczynski/32/176_2.png) [@TomekTarczynski](https://discuss.dvc.org/u/TomekTarczynski)\
**Post date:** [April 28, 2022, 9:43am UTC](https://discuss.dvc.org/t/dvc-push-raises-errno-95/1180/3 "2022-04-28T09:43:53Z")

</div>

> [@dtrifiro](#):
>
> pip install ‘dvc[s3]’

That solved the issue, thank you very much!
