Library trouble

User 548 | 7/29/2014, 6:51:29 PM

I get the following error when I try to save an SFrame.

Simply executing import _io from the python prompt works fine.

I'm using a python installation provided by Continuum Analytics's Anaconda package manager. https://store.continuum.io/cshop/anaconda/

Thanks for your help, Keki


RuntimeError Traceback (most recent call last) <ipython-input-34-734722cfc568> in <module>() ----> 1 bar.save('/mnt/home/kburjorjee/bar')

/mnt/home/kburjorjee/anaconda/lib/python2.7/site-packages/graphlab/datastructures/sframe.pyc in save(self, filename, format) 1743 self.proxy.saveascsv(url, {}) 1744 else: -> 1745 raise ValueError("Unsupported format: {}".format(format)) 1746 1747 def selectcolumn(self, key):

/mnt/home/kburjorjee/anaconda/lib/python2.7/site-packages/graphlab/cython/context.pyc in exit(self, exctype, excvalue, traceback) 21 def exit(self, exctype, excvalue, traceback): 22 if not self.showcythontrace and exctype: ---> 23 raise exctype(exc_value)

RuntimeError: Runtime Exception: 0. Runtime Exception: 0. Traceback (most recent call last): File "/mnt/home/kburjorjee/anaconda/lib/python2.7/pickle.py", line 1382, in loads return Unpickler(file).load() File "/mnt/home/kburjorjee/anaconda/lib/python2.7/pickle.py", line 858, in load dispatchkey File "/mnt/home/kburjorjee/anaconda/lib/python2.7/pickle.py", line 1090, in loadglobal klass = self.findclass(module, name) File "/mnt/home/kburjorjee/anaconda/lib/python2.7/pickle.py", line 1124, in findclass import(module) File "/mnt/home/kburjorjee/anaconda/lib/python2.7/site-packages/graphlab/init.py", line 7, in <module> import graphlab.connect.aws as aws File "/mnt/home/kburjorjee/anaconda/lib/python2.7/site-packages/graphlab/connect/init.py", line 7, in <module> from graphlabutil.config import DEFAULTCONFIG as defaultlocalconf File "/mnt/home/kburjorjee/anaconda/lib/python2.7/site-packages/graphlabutil/init.py", line 4, in <module> import logging.config File "/mnt/home/kburjorjee/anaconda/lib/python2.7/logging/config.py", line 29, in <module> import io File "/mnt/home/kburjorjee/anaconda/lib/python2.7/io.py", line 51, in <module> import io ImportError: /mnt/home/kburjorjee/anaconda/lib/python2.7/lib-dynload/io.so: undefined symbol: PyUnicodeUCS4Concat

Comments

User 14 | 7/29/2014, 8:08:25 PM

Hi, We do not have full support for anaconda yet. Specifically, the apply will not work. Please stay in touch, and we should be able to fix it in the next release.

Thanks