I’m using auto-py-to-exe to convert my django project in an exe file but I couldn´t:
traceback:
Running auto-py-to-exe v2.44.1
Building directory: C:UsersgerarAppDataLocalTemptmp92y6g42v
Provided command: pyinstaller –noconfirm –onefile –windowed –add-data
674780 INFO: PyInstaller: 6.9.0, contrib hooks: 2024.7
674795 INFO: Python: 3.12.4
674797 INFO: Platform: Windows-11-10.0.22631-SP0
674813 INFO: Python environment: C:UsersgerarAppDataLocalProgramsPythonPython312
674828 INFO: wrote C:UsersgerarAppDataLocalTemptmp92y6g42vmanage.spec
674837 INFO: Module search paths (PYTHONPATH):
[‘C:UsersgerarAppDataLocalProgramsPythonPython312Scriptsauto-py-to-exe.exe’,
File “C:UsersgerarAppDataLocalProgramsPythonPython312Libsite-packagesPyInstallercompat.py”, line 583, in importlib_load_source
mod_loader.exec_module(mod)
File “”, line 995, in exec_module
File “”, line 488, in _call_with_frames_removed
File “C:UsersgerarAppDataLocalProgramsPythonPython312Libsite-packagesPyInstallerhookshook-django.py”, line 71, in
mod_dir = os.path.dirname(hooks.get_module_file_attribute(mod_name))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “”, line 277, in dirname
File “”, line 241, in split
TypeError: expected str, bytes or os.PathLike object, not NoneTypeProject output will not be moved to output folder
Complete.
Gerar is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.