Python Forum

Full Version: Sympy Import error: "unresolved referrence 'sympy' "
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I'm writing a program that needs to be able to perform arithmetic,for which I'm trying to use the sympy library. To make things easier I installed it in a virtual environment (virtualenv) like this:
pip3 install sympy
Unfortunately I'm having trouble when importing it:
Error:
Unresolved referrence 'sympy'
This is how I imported it:
from sympy import *
In an attempt to fix this I went into my virtualenv files to see if it's installed properly, the files I found were as follows: isympy.txt in /bin, isympy.txt in /share/man/man1, and nothing of sympy in lib and include. In order to fix this I removed and reinstalled sympy, however, everything is still exactly the same as before, can anyone please tell me what went wrong and how to fix it?