Score:0

Unable to install sympy for Python3.8.6

cn flag
Max

I attempted to install sympy on my workstation using the instructions in this related question:

How to install sympy for Python 3.4

i.e.

sudo pip3 install sympy

The installation completed without any error messages, but when I'm running python and try to import sympy, I get the following error. Evidently python cannot locate the sympy library, but I'm not sure why this would be the case

import sympy
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'sympy'
guiverc avatar
cn flag
What OS & release are you using?
cn flag
Max
I'm using Ubuntu 20.04.3
giray avatar
cn flag
It is possible to have multiple versions of python-3 installed in parallel. It seems like somehow the package is installed into another one than you started.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.