'Pyinstaller can't find a module? (error loading Python DLL)

I compiled my program with pyinstaller, and it works fine on my computer, but whenever I ty to run it in another computer (with no python), I get the following error:

    Error loading Python DLL  
    'C:\Users\perez\AppData\Local\Temp\_MEI28162\python310.dll'.
    LoadLibrary: Cannot find specified module

What can I do? I'm not allowed to install python on the other computer



Solution 1:[1]

Copy the folder where your Python.exe is located and run this Python.exe

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Devyl