Closed castal closed 6 months ago
Thanks for reporting this.
I think you are having the exact same problem as was reported in #65. (How could I forget that error message: "TypeError: type 'List' is not subscriptable"?)
I think you probably also have an old version of IPython that you installed in your .sage directory with the %pip command long ago. Please retry running the app after moving your .sage directory out of the way by running:
mv ~/.sage ~/DOTsage
in your Terminal. Please report if that fixes this.
Most likely you will just want to delete your current .sage directory and re-install whatever PyPI packages you actually need. But you could also decide to move DOTsage back to .sage and try to repair it.
That seems to have worked! My jupyter notebook looks a bit different, but that's fine. I guess maybe it was just time to do some spring cleaning. Anyway, thanks for your help!
On Wed, Mar 27, 2024 at 7:41 PM Marc Culler @.***> wrote:
Thanks for reporting this.
I think you are having the exact same problem as was reported in #65 https://github.com/3-manifolds/Sage_macOS/issues/65. (How could I forget that error message: "TypeError: type 'List' is not subscriptable"?)
I think you probably also have an old version of IPython that you installed in your .sage directory with the %pip command long ago. Please retry running the app after moving your .sage directory out of the way by running: mv ~/.sage ~/DOTsage in your Terminal. Please report if that fixes this.
Most likely you will just want to delete your current .sage directory and re-install whatever PyPI packages you actually need. But you could also decide to move DOTsage back to .sage and try to repair it.
— Reply to this email directly, view it on GitHub https://github.com/3-manifolds/Sage_macOS/issues/66#issuecomment-2024206267, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACJG25PF5VU5BAYT4SUDNYLY2NRMLAVCNFSM6AAAAABFLWQM46VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMRUGIYDMMRWG4 . You are receiving this because you authored the thread.Message ID: @.***>
Great! I will close this ticket, then.
I have just today downloaded the most recent SageMath-10.3_arm64.dmg and installed in on my M1 mac. When I run the application and try to open a Jupyter session, nothing seems to happen at all. So I tried just running a terminal session. The terminal output error message is appended below. However, 10.2 seems to work just fine, both in the terminal and with Jupyter. I hope I'm not just missing something obvious. Is it my python version?
Here is the terminal error output for 10.3:
┌────────────────────────────────────────────────────────────────────┐ │ SageMath version 10.3, Release Date: 2024-03-19 │ │ Using Python 3.11.1. Type "help()" for help. │ └────────────────────────────────────────────────────────────────────┘ Traceback (most recent call last): File "/private/var/tmp/sage-10.3-current/local/var/lib/sage/venv-python3.11.1/bin/sage-ipython", line 12, in
from sage.repl.interpreter import SageTerminalApp
File "/private/var/tmp/sage-10.3-current/local/var/lib/sage/venv-python3.11.1/lib/python3.11/site-packages/sage/repl/interpreter.py", line 145, in
from sage.repl.prompts import InterfacePrompts
File "/private/var/tmp/sage-10.3-current/local/var/lib/sage/venv-python3.11.1/lib/python3.11/site-packages/sage/repl/prompts.py", line 16, in
from IPython.terminal.prompts import Prompts
File "/private/var/tmp/sage-10.3-current/local/var/lib/sage/venv-python3.11.1/lib/python3.11/site-packages/IPython/init.py", line 55, in
from .terminal.embed import embed
File "/private/var/tmp/sage-10.3-current/local/var/lib/sage/venv-python3.11.1/lib/python3.11/site-packages/IPython/terminal/embed.py", line 15, in
from IPython.core.interactiveshell import DummyMod, InteractiveShell
File "/private/var/tmp/sage-10.3-current/local/var/lib/sage/venv-python3.11.1/lib/python3.11/site-packages/IPython/core/interactiveshell.py", line 326, in
class InteractiveShell(SingletonConfigurable):
File "/private/var/tmp/sage-10.3-current/local/var/lib/sage/venv-python3.11.1/lib/python3.11/site-packages/IPython/core/interactiveshell.py", line 331, in InteractiveShell
ast_transformers: List[ast.NodeTransformer] = List(