It is difficult to know the type of ODE you are trying to solve. If you add a .tex image of your ODE, it would help a lot.
However, I get the impression that you are trying to solve ODE coupled, in this case here you find a very simple example of how to solve it
# Very simple example showing how to solve ODE systems
# 1. Import libraries
import numpy as np
import scipy as sci
import matplotlib.pyplot as plt
# 2. Preliminaries. The ODE system
# dy/dt = v
# dv/dt = -g
# 3. Include the ODE in a function
def ode(x, t):
v = x[0]
g = x[1]
dydt = v
dvdt = -g
return(dydt, dvdt)
# print(ode([1, 2], 1)) # Just for test the function
# 4. Set up the initial conditions
x0 = [1, 1] # Initial values of the functions
t = np.linspace(0, 10, 100) # Time
# 5. Solving the ODE
sol = sci.integrate.odeint(ode, x0, t)
# 6. Plot the solution
plt.plot(t, sol[:, 0]) # Plot v
plt.plot(t, sol[:, 1]) # Plot g
plt.show()
The general idea is that you must define your ODE system in a function, where the variables of your system must be in the form of a vector defined in the function (see point 3 of the example). After that, it assigns initial conditions (point 4) and finally solves the system sci.integrate.odeint
Greetings,