Ask Your Question
0

Upgrade module in SageMath

asked 2022-06-20 16:40:33 +0200

Pickle gravatar image

I am trying to upgrade SymPy to the current version 1.10.1. The currently installed version available in SageMath is 1.7.1.

Below is what I tried. Two different this

Is there something I am missing about how SageMath wraps other packages? Does SageMath need to be developed further before I can upgrade SymPy in it?

Attempt 1

n_jje@DESKTOP-NUEL1A5:~$ pip install --upgrade sympy

Requirement already satisfied: sympy in /opt/sagemath-9.3/local/lib/python3.7/site-packages (1.7.1)

Collecting sympy Using cached sympy-1.10.1-py3-none-any.whl (6.4 MB) Requirement already satisfied: mpmath>=0.19 in /opt/sagemath-9.3/local/lib/python3.7/site-packages (from sympy) (1.1.0)

Installing collected packages: sympy Attempting uninstall: sympy Found existing installation: sympy 1.7.1 Uninstalling sympy-1.7.1:

ERROR: Could not install packages due to an OSError: [Errno 13] Permission denied: '/opt/sagemath-9.3/local/bin/isympy' Consider using the --user option or check the permissions.

Attempt 2

n_jje@DESKTOP-NUEL1A5:~$ pip install --user --upgrade sympy

ERROR: Can not perform a '--user' install. User site-packages are not visible in this virtualenv.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2022-06-20 18:32:11 +0200

slelievre gravatar image

SageMath 9.6 has SymPy 1.10.1.

You seem to be using SageMath 9.3.

Suggestion: upgrade to SageMath 9.6.

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

1 follower

Stats

Asked: 2022-06-20 16:40:33 +0200

Seen: 689 times

Last updated: Jun 20 '22