I got it to work.
So I think the problem is python 3, with Anaconda. I logged in under another 
user name that uses Appleā€™s Python 2. And installed Sage. Then, I can run it 
from my python 3 account. Perhaps your scripts should search out Python 2 when 
there are multiple versions installed.




> On Apr 2, 2017, at 8:33 PM, J. Friedman <crownea...@gmail.com> 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 <ruben.zilibow...@gmail.com 
>> <mailto:ruben.zilibow...@gmail.com>> 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, crown...@gmail.com 
>> <http://gmail.com/> 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 
>> <https://groups.google.com/d/topic/sage-support/MRhTG336Fr0/unsubscribe>.
>> To unsubscribe from this group and all its topics, send an email to 
>> sage-support+unsubscr...@googlegroups.com 
>> <mailto:sage-support+unsubscr...@googlegroups.com>.
>> To post to this group, send email to sage-support@googlegroups.com 
>> <mailto:sage-support@googlegroups.com>.
>> Visit this group at https://groups.google.com/group/sage-support 
>> <https://groups.google.com/group/sage-support>.
>> For more options, visit https://groups.google.com/d/optout 
>> <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 sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
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