yas3fs icon indicating copy to clipboard operation
yas3fs copied to clipboard

CentOS 7 cannot import name FUSE

Open cdenneen opened this issue 10 years ago • 3 comments

# yas3fs s3://my-bucket-artifacts/ /mnt/s3
Traceback (most recent call last):
  File "/usr/bin/yas3fs", line 9, in <module>
    load_entry_point('yas3fs==2.3.2', 'console_scripts', 'yas3fs')()
  File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 558, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2682, in load_entry_point
    return ep.load()
  File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2355, in load
    return self.resolve()
  File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2361, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "/usr/lib/python2.7/site-packages/yas3fs/__init__.py", line 42, in <module>
    from fuse import FUSE, FuseOSError, Operations, LoggingMixIn, fuse_get_context
ImportError: cannot import name FUSE

cdenneen avatar Jun 25 '15 19:06 cdenneen

Hi, just to be sure: did you install FUSE at OS level and fusepy for Python? I mean: yum install fuse pip install -U fusepy

danilop avatar Aug 02 '15 16:08 danilop

And as a reminder, if you have fuse-python installed from the OS repo, it needs to be removed. Otherwise it will not work.

derchrisuk avatar Sep 09 '15 10:09 derchrisuk

Thanks to your help, here is the procedure to get yas2fs working on RHEL/CentOS (tested on 6.x):

yum install python-pip fuse fuse-libs
pip install yas3fs
pip install -U fusepy

fdutheil avatar Oct 08 '15 13:10 fdutheil