This is presumably fixed in 22608 by removing PYTHONPATH/PYTHONHOME from 
sage-env.

On Monday, April 3, 2017 at 2:33:42 AM UTC+2, [email protected] wrote:
>
> I moved python2 ahead in my $PATH, I found he relocate script, it seemed 
> to run, but then errors running sage:
>
> Traceback (most recent call last):
>   File "/Users/joshua/sage/SageMath/src/bin/sage-ipython", line 7, in 
> <module>
>     from sage.repl.interpreter import SageTerminalApp
>   File 
> "/Users/joshua/sage/SageMath/local/lib/python2.7/site-packages/sage/repl/interpreter.py",
>  
> line 107, in <module>
>     from sage.repl.preparse import preparse
>   File 
> "/Users/joshua/sage/SageMath/local/lib/python2.7/site-packages/sage/repl/preparse.py",
>  
> line 223, in <module>
>     import six
>   File 
> "/Users/joshua/sage/SageMath/local/lib/python2.7/site-packages/six.py", 
> line 27, in <module>
>     import operator
> ImportError: 
> dlopen(/Users/joshua/sage/SageMath/local/lib/python2.7/lib-dynload/operator.so,
>  
> 2): Symbol not found: __PyUnicodeUCS4_AsDefaultEncodedString
>   Referenced from: 
> /Users/joshua/sage/SageMath/local/lib/python2.7/lib-dynload/operator.so
>   Expected in: flat namespace
>  in /Users/joshua/sage/SageMath/local/lib/python2.7/lib-dynload/operator.so
> snapdragon:SageMath joshua$ 
>
>
>
>
>
> On Apr 2, 2017, at 8:06 PM, Ruben Zilibowitz <[email protected] 
> <javascript:>> wrote:
>
> Same with me on OS X 10.12.4. And I'm getting the same error as you with 
> installation.
>
> On Monday, April 3, 2017 at 3:41:52 AM UTC+10, [email protected] wrote:
>>
>> I use Anaconda python 3. Does your Move script use python 2?  
>
>
> -- 
> You received this message because you are subscribed to a topic in the 
> Google Groups "sage-support" group.
> To unsubscribe from this topic, visit 
> https://groups.google.com/d/topic/sage-support/MRhTG336Fr0/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to 
> [email protected] <javascript:>.
> To post to this group, send email to [email protected] 
> <javascript:>.
> Visit this group at https://groups.google.com/group/sage-support.
> For more options, visit https://groups.google.com/d/optout.
>
>
>

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

Reply via email to