danilop / yas3fs

YAS3FS (Yet Another S3-backed File System) is a Filesystem in Userspace (FUSE) interface to Amazon S3. It was inspired by s3fs but rewritten from scratch to implement a distributed cache synchronized by Amazon SNS notifications. A web console is provided to easily monitor the nodes of a cluster.
http://danilop.github.io/yas3fs
MIT License
643 stars 98 forks source link

Unable to install on 10.11.5 Beta (15F18b) #125

Open jphughes opened 8 years ago

jphughes commented 8 years ago

On installing I get a fatal error. I am running

jphughes:~ hughes$ sudo -H pip install yas3fs Collecting yas3fs Downloading yas3fs-2.3.2.tar.gz Collecting setuptools>=2.2 (from yas3fs) Downloading setuptools-20.9.0-py2.py3-none-any.whl (508kB) 100% |████████████████████████████████| 512kB 2.7MB/s Collecting boto>=2.25.0 (from yas3fs) Downloading boto-2.39.0-py2.py3-none-any.whl (1.3MB) 100% |████████████████████████████████| 1.4MB 1.2MB/s Collecting fusepy>=2.0.2 (from yas3fs) Downloading fusepy-2.0.4.tar.gz Installing collected packages: setuptools, boto, fusepy, yas3fs Found existing installation: setuptools 1.1.6 Uninstalling setuptools-1.1.6: Exception: Traceback (most recent call last): File "/Library/Python/2.7/site-packages/pip/basecommand.py", line 209, in main status = self.run(options, args) File "/Library/Python/2.7/site-packages/pip/commands/install.py", line 317, in run prefix=options.prefix_path, File "/Library/Python/2.7/site-packages/pip/req/req_set.py", line 726, in install requirement.uninstall(auto_confirm=True) File "/Library/Python/2.7/site-packages/pip/req/req_install.py", line 746, in uninstall paths_to_remove.remove(auto_confirm) File "/Library/Python/2.7/site-packages/pip/req/req_uninstall.py", line 115, in remove renames(path, new_path) File "/Library/Python/2.7/site-packages/pip/utils/init.py", line 267, in renames shutil.move(old, new) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shutil.py", line 299, in move copytree(src, real_dst, symlinks=True) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shutil.py", line 208, in copytree raise Error, errors Error: [('/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/_markerlib/init.py', '/tmp/pip-0Uscex-uninstall/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/_markerlib/init.py', "[Errno 1] Operation not permitted: '/tmp/pip-0Uscex-uninstall/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/_markerlib/init.py'"), ('/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/_markerlib/init.pyc', '/tmp/pip-0Uscex-uninstall/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/_markerlib/init.pyc', "[Errno 1] Operation not permitted: '/tmp/pip-0Uscex-uninstall/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/_markerlib/init.pyc'"), ('/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/_markerlib/markers.py', '/tmp/pip-0Uscex-uninstall/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/_markerlib/markers.py', "[Errno 1] Operation not permitted: '/tmp/pip-0Uscex-uninstall/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/_markerlib/markers.py'"), ('/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/_markerlib/markers.pyc', '/tmp/pip-0Uscex-uninstall/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/_markerlib/markers.pyc', "[Errno 1] Operation not permitted: '/tmp/pip-0Uscex-uninstall/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/_markerlib/markers.pyc'"), ('/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/_markerlib', '/tmp/pip-0Uscex-uninstall/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/_markerlib', "[Errno 1] Operation not permitted: '/tmp/pip-0Uscex-uninstall/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/_markerlib'")]

danilop commented 8 years ago

Thanks for reaching out. It seems an error in the local Python installation. However, I am going to build an updated bundle for pip anytime soon and I'll do some more tests to be sure that all dependencies work.

On Sat, Apr 16, 2016 at 10:40 PM, James Hughes notifications@github.com wrote:

On installing I get a fatal error. I am running

jphughes:~ hughes$ sudo -H pip install yas3fs Collecting yas3fs Downloading yas3fs-2.3.2.tar.gz Collecting setuptools>=2.2 (from yas3fs) Downloading setuptools-20.9.0-py2.py3-none-any.whl (508kB) 100% |████████████████████████████████| 512kB 2.7MB/s Collecting boto>=2.25.0 (from yas3fs) Downloading boto-2.39.0-py2.py3-none-any.whl (1.3MB) 100% |████████████████████████████████| 1.4MB 1.2MB/s Collecting fusepy>=2.0.2 (from yas3fs) Downloading fusepy-2.0.4.tar.gz Installing collected packages: setuptools, boto, fusepy, yas3fs Found existing installation: setuptools 1.1.6 Uninstalling setuptools-1.1.6: Exception: Traceback (most recent call last): File "/Library/Python/2.7/site-packages/pip/basecommand.py", line 209, in main status = self.run(options, args) File "/Library/Python/2.7/site-packages/pip/commands/install.py", line 317, in run prefix=options.prefix_path, File "/Library/Python/2.7/site-packages/pip/req/req_set.py", line 726, in install requirement.uninstall(auto_confirm=True) File "/Library/Python/2.7/site-packages/pip/req/req_install.py", line 746, in uninstall paths_to_remove.remove(auto_confirm) File "/Library/Python/2.7/site-packages/pip/req/req_uninstall.py", line 115, in remove renames(path, new_path) File "/Library/Python/2.7/site-packages/pip/utils/init.py", line 267, in renames shutil.move(old, new) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shutil.py", line 299, in move copytree(src, real_dst, symlinks=True) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shutil.py", line 208, in copytree raise Error, errors Error: [('/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/ _markerlib/init.py', '/tmp/pip-0Uscex-uninstall/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/ _markerlib/init.py', "[Errno 1] Operation not permitted: '/tmp/pip-0Uscex-uninstall/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/ _markerlib/init.py'"), ('/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/ _markerlib/init.pyc', '/tmp/pip-0Uscex-uninstall/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/ _markerlib/init.pyc', "[Errno 1] Operation not permitted: '/tmp/pip-0Uscex-uninstall/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/ _markerlib/init.pyc'"), ('/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/_markerlib/markers.py', '/tmp/pip-0Uscex-uninstall/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/_markerlib/markers.py', "[Errno 1] Operation not permitted: '/tmp/pip-0Uscex-uninstall/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/_markerlib/markers.py'"), ('/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/_markerlib/markers.pyc', '/tmp/pip-0Uscex-uninstall/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/_markerlib/markers.pyc', "[Errno 1] Operation not permitted: '/tmp/pip-0Uscex-uninstall/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/_markerlib/markers.pyc'"), ('/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/_markerlib', '/tmp/pip-0Uscex-uninstall/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/_markerlib', "[Errno 1] Operation not permitted: '/tmp/pip-0Uscex-uninstall/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/_markerlib'")]

— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub https://github.com/danilop/yas3fs/issues/125

jphughes commented 8 years ago

Seems like a permissions problem, but I am not a Python programmer. To my knowledge, this is a vanilla OS X installation, so I guess I will not be the last to have this problem. Thanks.

jphughes commented 8 years ago

Seems like this is related to System Integrity Protection (SIP) which must be disabled. Nothing to do with the local Python installation. I followed the steps at Stack exchange and it installs now.