How to Solve NameError: name 'Mars' is not defined -- poliastro
Solution: Import the 'Mars' module
# Add the following line to the top of your code
from poliastro.bodies import Mars
For more information:
poliastro Mars
# Add the following line to the top of your code
from poliastro.bodies import Mars
For more information:
poliastro Mars