How to Solve NameError: name 'Ephem' is not defined -- poliastro

Solution: Import the 'Ephem' module

# Add the following line to the top of your code
from poliastro.ephem import Ephem

 

For more information:
poliastro Ephem