I have a script written in python 2.7 and I have converted it for python 3.7 of maya 2022.
In the folder of my new version I have deleted all the pyc, then I launched the tool via maya 2022.
I have no error and a bunch of new pyc files are created. Excepted that I don’t have any new init.pyc .
However when I try to open my tool again with a folder that only contains the pyc(So I can share my tool with other people). Well, it’s like maya can’t find my package and import it (Despite being in the maya2022/script/ folder).
Am I missing something with the __init__pyc files ?
Furthermore when I tried with some old __ini__pyc I have an error raised about bad magic numbers …