Traceback (most recent call last):


 "/home/ubuntu/anaconda3/envs/tensorflow_p36/lib/python3.6/site-packages/ray/worker.py", line 848, in _process_task

*arguments)


 "/home/ubuntu/anaconda3/envs/tensorflow_p36/lib/python3.6/site-packages/ray/function_manager.py", line 481, in actor_method_executor

method_returns = method(actor, *args)


 "/home/ubuntu/anaconda3/envs/tensorflow_p36/lib/python3.6/site-packages/ray/experimental/sgd/sgd_worker.py", line 116, in __init__

plasma.build_plasma_tensorflow_op()


 "/home/ubuntu/anaconda3/envs/tensorflow_p36/lib/python3.6/site-packages/ray/pyarrow_files/pyarrow/plasma.py", line 73, in build_plasma_tensorflow_op

tf_plasma_op = tf.load_op_library(TF_PLASMA_OP_PATH)


 "/home/ubuntu/anaconda3/envs/tensorflow_p36/lib/python3.6/site-packages/tensorflow/python/framework/load_library.py", line 56, in load_op_library

lib_handle = py_tf.TF_LoadLibrary(library_filename)
tensorflow.python.framework.errors_impl.NotFoundError: /home/ubuntu/anaconda3/envs/tensorflow_p36/lib/python3.6/site-packages/ray/pyarrow_files/pyarrow/tensorflow/plasma_op.so: file too short

Traceback (most recent call last):


 "/Library/Python/2.7/site-packages/pip/basecommand.py", line 215, in main

status = self.run(options, args)


 "/Library/Python/2.7/site-packages/pip/commands/install.py", line 342, in run

prefix=options.prefix_path,


 "/Library/Python/2.7/site-packages/pip/req/req_set.py", line 778, in install

requirement.uninstall(auto_confirm=True)


 "/Library/Python/2.7/site-packages/pip/req/req_install.py", line 754, in uninstall

paths_to_remove.remove(auto_confirm)


 "/Library/Python/2.7/site-packages/pip/req/req_uninstall.py", line 115, in remove

renames(path, new_path)


 "/Library/Python/2.7/site-packages/pip/utils/__init__.py", line 267, in renames

shutil.move(old, new)


 "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shutil.py", line 302, in move

copy2(src, real_dst)


 "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shutil.py", line 131, in copy2

copystat(src, dst)


 "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shutil.py", line 103, in copystat

os.chflags(dst, st.st_flags)
OSError: [Errno 1] Operation not permitted: '/var/folders/vq/6110fnsj2295ydwyzwmsv1jm0000gn/T/pip-JgN47R-uninstall/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/six-1.4.1-py2.7.egg-info'