bu benim bulduğum setup
from cx_Freeze import setup, Executable
base = None
executables = [Executable("AsalSayıHesaplamaProgramı.py", base=base)]
packages = ["idna"]
options = {
'build_exe': {
'packages':packages,
},
}
setup(
name = "<any name>",
options = options,
version = "<any number>",
description = '<any description>',
executables = executables
)
ama bu dosyanın bulunduğu dizinde python setup.py build yapınca bu hatayı alıyorum
C:\Users\Güçlü\Desktop\EBA CANLI DERS FATİH İÇİN İNDİRİLENLER\BİLGİSAYAR\PYTHON
YAZILIMLARI>python setup.py build
running build
running build_exe
error during GetDependentFiles() of "c:\users\güçlü\appdata\local\programs\pytho
n\python38\lib\site-packages\cx_freeze\bases\console.exe": (0, 'Sistem belirtile
n dosyayı bulamıyor', 'c:\\users\\güçlü\\appdata\\local\\programs\\python\\pytho
n38\\lib\\site-packages\\cx_freeze\\bases\\console.exe', 2, None)
error during GetDependentFiles() of "c:\users\güçlü\appdata\local\programs\pytho
n\python38\python.exe": (0, 'Sistem belirtilen dosyayı bulamıyor', 'c:\\users\\g
üçlü\\appdata\\local\\programs\\python\\python38\\python.exe', 2, None)
Traceback (most recent call last):
File "setup.py", line 14, in <module>
setup(
File "C:\Users\Güçlü\AppData\Local\Programs\Python\Python38\lib\site-packages\
cx_Freeze\dist.py", line 342, in setup
distutils.core.setup(**attrs)
File "C:\Users\Güçlü\AppData\Local\Programs\Python\Python38\lib\distutils\core
.py", line 148, in setup
dist.run_commands()
File "C:\Users\Güçlü\AppData\Local\Programs\Python\Python38\lib\distutils\dist
.py", line 966, in run_commands
self.run_command(cmd)
File "C:\Users\Güçlü\AppData\Local\Programs\Python\Python38\lib\distutils\dist
.py", line 985, in run_command
cmd_obj.run()
File "C:\Users\Güçlü\AppData\Local\Programs\Python\Python38\lib\distutils\comm
and\build.py", line 135, in run
self.run_command(cmd_name)
File "C:\Users\Güçlü\AppData\Local\Programs\Python\Python38\lib\distutils\cmd.
py", line 313, in run_command
self.distribution.run_command(command)
File "C:\Users\Güçlü\AppData\Local\Programs\Python\Python38\lib\distutils\dist
.py", line 985, in run_command
cmd_obj.run()
File "C:\Users\Güçlü\AppData\Local\Programs\Python\Python38\lib\site-packages\
cx_Freeze\dist.py", line 217, in run
freezer.Freeze()
File "C:\Users\Güçlü\AppData\Local\Programs\Python\Python38\lib\site-packages\
cx_Freeze\freezer.py", line 640, in Freeze
self._FreezeExecutable(executable)
File "C:\Users\Güçlü\AppData\Local\Programs\Python\Python38\lib\site-packages\
cx_Freeze\freezer.py", line 199, in _FreezeExecutable
sourceDir = os.path.dirname(dependentFiles[0])
IndexError: list index out of range
bu hata nasıl düzeltilir ya da setup da ne gibi bir hata var aramızda bunu kullanan ve bilenler yazsın @Oguz_Turkyilmaz @EkremDincel @hackaxx @tevhidulvahset