I am using Linux subsystem for Windows 10, in which several versions of Python have been installed. The default one, found by typing
which python
in the shell is the one located in
/opt/intel/oneapi/intelpython/latest/bin
, i.e. the default version of Intel OneAPI.
I installed sympy by using the following command:
sudo apt-get install python3-sympy
and the corresponding folder seems to be located in /usr/bin/sympy
.
When I open Python, as I type import sympy
, I get the message
ModuleNotFoundError:No module named 'sympy'
.
Therefore, I would like to make the default version of Python recognize the 'sympy' package.
Finally, I wish to thank for the collaboration in advance.