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