[Python] module 'motion' has no attribute 'motden'

Discussão em 'Python' iniciado por Stack, Outubro 7, 2024.

  1. Stack

    Stack Membro Participativo

    I have two souce code which I have downloaded from a research paper (free).

    The link for two source code is: named as main_2, source_2

    When I run the source_2 code every time it shows :main_2.py", line 63, in

    track, t = source_2.math_dxdydz (x, y, z, U, Q, R, O, P, H, C, G, M, A, B, W, S, I,α, β, τ, γ, λ, θ, ρ, L, length, densy)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "d:\Math\Research\Game in Supply chain\New\New folder\1-s2.0-S0360835222002029-mmc1\1-s2.0-S0360835222002029-mmc1\ESS comparison analysis\000\source_2.py", line 26, in math_dxdydz
    track = motion.motden(function, x, y, z, t, U, Q, R, O, P, H, C, G, M, A, B, W, S, I,α, β, τ, γ, λ, θ, ρ, L)
    ^^^^^^^^^^^^^
    AttributeError: module 'motion' has no attribute 'motden'. Did you mean: 'motion'?


    I have deleted the motion.pyc file, but it didn't help.

    What is motdin?

    Was it used in previous Python version? I have also tried older version Python it says bad magic number.

    Continue reading...

Compartilhe esta Página