Код: Выделить всё
Traceback (most recent call last):
File "", line 3, in
RuntimeError: unauthorized use of script (1:1107)
< /code>
Вот команда nuitka, которую я использовал: < /p>
nuitka --onefile --standalone --output-dir=C:\Users\\Desktop\Programmation\\\OCk92\dist\build --output-filename=OCk92.exe --include-data-dir=C:\Users\\Desktop\Programmation\\\.Key=DATA --include-data-files=C:\Users\\Desktop\Programmation\\\OCk92\dist\pyarmor_runtime_000000\__init__.py=pyarmor_runtime_000000\__init__.py --include-data-files=C:\Users\\Desktop\Programmation\\\OCk92\dist\pyarmor_runtime_000000\pyarmor_runtime.pyd=pyarmor_runtime_000000\pyarmor_runtime.pyd C:\Users\\Desktop\Programmation\\\OCk92\dist\Source\Main.py
Вот моя конфигурация Pyarmor: < /p>
Код: Выделить всё
pyarmor gen Source
pyarmor cfg build Source restrict_module=0
< /code>
Что может вызвать эту проблему, и как я могу ее исправить? < /p>
( translated by chatgpt into FRENCH 2 ENGLISH )
< /code>
Я запутал свой сценарий Python, используя Pyarmor и скомпилировал его с Nuitka. Я ожидал, что окончательный файл .exe
Код: Выделить всё
RuntimeError: unauthorized use of script (1:1107)
Подробнее здесь: https://stackoverflow.com/questions/794 ... thon-scrip