Ask Your Question

I can't get sage to run on my Windows 10 surface pro.

asked 2021-12-23 01:47:12 +0200

updated 2022-01-21 21:35:16 +0200

FrédéricC gravatar image

Here is what I get:

/opt/sagemath-9.3/sage: /opt/sagemath-9.3/src/bin/sage: /usr/bin/env: bad interpreter: No such file or directory /opt/sagemath-9.3/sage: line 139: /opt/sagemath-9.3/src/bin/sage: No error /bin/bask: Exit 126.

I have tried re-installing Sage, but to no avail.

Any help would be appreciated.

edit retag flag offensive close merge delete


Could you try SageMath 9.2 (Windows installer 0.6.2), not (Windows installer 0.6.1)?

tolga gravatar imagetolga ( 2021-12-23 06:49:47 +0200 )edit

1 Answer

Sort by » oldest newest most voted

answered 2021-12-23 08:26:24 +0200

cdub gravatar image

I figured it out. Not sure how the problem occurred initially, but, when Sage 9.3 was uninstalled, the .sage folder had to be manually deleted before reinstalling. That seems to fix the problem. The details escape me but sagemath seems to work now.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2021-12-23 01:47:12 +0200

Seen: 152 times

Last updated: Dec 23 '21