I have created a server side script but I noticed PYC file is not being generated. However by doing Googe I have given rights of that folder and I am able to create folders and files in that folder where my PY files are placed. But somehow the system is not generating any PYC file. I appreciate if anybody can help me in this context.
Try to run, bench migrate
I don’t think bench update will generate .pyc files, these are handled by the python interpreter / complier
If that is not working then probably using py_compile module to compile the file in question manually may work.
1 Like