Jul-27-2018, 12:48 PM
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:
Unfortunately I'm having trouble when importing it:
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?
1 |
pip3 install sympy |
Error:Unresolved referrence 'sympy'
This is how I imported it: 1 |
from sympy import * |