Gdb has an embedded Python whose version clashes with Sage. The easiest solution is to just compile gdb using "sage -f gdb"
On Sunday, February 28, 2016 at 3:18:04 PM UTC+1, Aaditya Thakkar wrote: > > When I start gdb by ./sage --gdb it's giving me the error: > > Fatal Python error: Py_Initialize: Unable to get the locale encoding > File "/home/aaditya/sage/local/lib/python/encodings/__init__.py", line > 123 > raise CodecRegistryError,\ > ^ > SyntaxError: invalid syntax > > Current thread 0x00007effda077780 (most recent call first): > > What could be the reason? > -- 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.