I just installed conda on Linux ubuntu. All went OK. But it comes with sympy 1.9 while according to conda own web site, the latest is 1.10.1
https://anaconda.org/anaconda/sympy
I have this problem each time with conda. How to update a package. Nothing I tried works. After each attempt, I check sympy version and it still says 1.9. This is how I check
>which python
/home/me/anaconda3/bin/python
>python
Python 3.9.7 (default, Sep 16 2021, 13:09:58)
[GCC 7.5.0] :: Anaconda, Inc. on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import sympy
>>> sympy.__version__
'1.9'
>>>
Also conda search sympy
shows it is there
.....
sympy 1.9 py37h06a4308_0 pkgs/main
sympy 1.9 py38h06a4308_0 pkgs/main
sympy 1.9 py39h06a4308_0 pkgs/main
sympy 1.10.1 py310h06a4308_0 pkgs/main
sympy 1.10.1 py37h06a4308_0 pkgs/main
sympy 1.10.1 py38h06a4308_0 pkgs/main
sympy 1.10.1 py39h06a4308_0 pkgs/main
These are some of my attempts to upgrade
conda install -c anaconda sympy
conda install sympy=1.10.1
conda update sympy
conda install --name base sympy=1.10.1
None of the above changed the version of sympy. It is still at 1.9. For an example
(base) >conda update sympy
Collecting package metadata (current_repodata.json): done
Solving environment: done
# All requested packages already installed.
(base) >python
Python 3.9.7 (default, Sep 16 2021, 13:09:58)
[GCC 7.5.0] :: Anaconda, Inc. on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import sympy
>>> sympy.__version__
'1.9'
>>>
What is the correct way to update my conda installation to use latest sympy?
Thanks
–Nasser