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

Solution: Import the 'func_twobody' module

# Add the following line to the top of your code
from poliastro.core.propagation import func_twobody

 

For more information:
poliastro func_twobody