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

Solution: Import the 'Jupiter' module

# Add the following line to the top of your code
from poliastro.bodies import Jupiter

 

For more information:
poliastro Jupiter