On Jul 29 2015, prakash kasar <[email protected]> wrote:
>  I am trying install s3ql 2.13 on centos7.As steps mentioned in document 
> when I run command "python3.3 runtests.py tests" it gets fail.
>  I am getting error as 
>   
> _______________________________________________________________________________________________________________
>  
> test_python2 
>  
> ________________________________________________________________________________________________________________
>  Traceback (most recent call last):
>   File "/home/pranav/s3ql-2.13/tests/t1_safe_unpickle.py", line 60, in 
> test_python2
>     buf = subprocess.check_output(['python', '-c', py2_prog])
>   File "/opt/rh/python33/root/usr/lib64/python3.3/subprocess.py", line 586, 
> in check_output
>     raise CalledProcessError(retcode, process.args, output=output)
> subprocess.CalledProcessError: Command '['python', '-c', 'import cPickle as 
> pickle\nprint(pickle.dumps([42, "bytes", u"unicode", b"more bytes", u"more 
> unicode"], 2))']' returned non-zero exit status 1
> -----------------------------------------------------------------------------------------------------------
>  
> Captured stderr call 
> ------------------------------------------------------------------------------------------------------------
> Traceback (most recent call last):
>   File "<string>", line 1, in <module>
> ImportError: No module named 'cPickle'


It seems like the Python installation that provides /usr/bin/python is
either version 3.x or broken. /usr/bin/python should point to a Python
2.x installation, and Python 2.x should be compiled with the cPickle
module (which should be the case in almost every situation).

Best,
-Nikolaus

-- 
GPG encrypted emails preferred. Key id: 0xD113FCAC3C4E599F
Fingerprint: ED31 791B 2C5C 1613 AF38 8B8A D113 FCAC 3C4E 599F

             »Time flies like an arrow, fruit flies like a Banana.«

-- 
You received this message because you are subscribed to the Google Groups 
"s3ql" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to