Python Forum
Sympy Import error: "unresolved referrence 'sympy' "
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Sympy Import error: "unresolved referrence 'sympy' "
#1
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?
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  solve ODE with sympy Sergey_Novak 2 903 Dec-02-2023, 12:33 PM
Last Post: Sergey_Novak
  Error on import: SyntaxError: source code string cannot contain null bytes kirkwilliams2049 7 6,176 Aug-03-2023, 06:00 PM
Last Post: Gribouillis
  import module error tantony 5 3,380 Dec-15-2022, 01:55 PM
Last Post: Lauraburmrs
  Unresolved reference problem john7 1 795 Oct-18-2022, 02:32 PM
Last Post: deanhystad
  Cryptic Error with import statement Led_Zeppelin 2 2,479 Jan-11-2022, 01:13 PM
Last Post: Led_Zeppelin
  Install any library via pip get an error cannot import name 'SCHEME_KEYS' from 'pip. Anldra12 2 10,493 Jan-04-2022, 01:05 PM
Last Post: Anldra12
  import module with syntax error Skaperen 7 5,164 Jun-22-2021, 10:38 AM
Last Post: Skaperen
  Import Error Christian 3 3,131 Apr-17-2021, 11:27 PM
Last Post: bowlofred
  I need assistance with getting sympy to work alex_0 1 1,477 Apr-05-2021, 09:15 PM
Last Post: snippsat
  Folium import error kashif_flavio 2 3,568 Dec-07-2020, 08:58 AM
Last Post: bowlofred

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020