Py'yi Exe'ye çevirirken FileNotFoundError Hatası

FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\Güçlü\\AppDa
ta\\Roaming\\pyinstaller\\bincache00_py38_64bit\\python38.dll'

Bildiğiniz gibi aynı konuyu tekrar açmıştım ama daha az kişiye ulaştı daha çok kişiye ulaşması için konuyu tekrar açıyorum
Alternatif yol cx freeze ama onda da bu hatayı alıyorum

IndexError: list index out of range

step one: pip install pyinstaller
step two: shifte basılı tutarak dosyayı cmd ile aç.
step three: pyinstaller ./proje_ismi

Komutu paylaşabilirmisiniz.

Sanırım orada çıkan hata python ile ilgili sanırım python3.8 'i bulamıyor
Edit: Pardon pardon hem python la hem pyinstaller ile ilgili

Hangi python sürümünü kullanıyorsun ?
Pyinstaller’ın hangi sürümünü kullanıyorsun
Yazdığın cümleyi tam olarak atar mısın?
Cümleden kastım şunun gibi bir şey

pyinstaller --onefile proje.py

Abi iki python sürümü var 3.5 designer için 3 8 3 normal projeler

yazdığım komut pyinstaller indirmek için

pip3.8 install pyinstaller

neden böyle yazdığım konusundaysa 3.5 ile 3.8.3 var bende
bana gelen çıktı

Requirement already satisfied: pyinstaller in c:\users\güçlü\appdata\local\progr
ams\python\python38\lib\site-packages (4.0)
Requirement already satisfied: pyinstaller-hooks-contrib>=2020.6 in c:\users\güç
lü\appdata\local\programs\python\python38\lib\site-packages (from pyinstaller) (
2020.9)
Requirement already satisfied: pywin32-ctypes>=0.2.0; sys_platform == "win32" in
 c:\users\güçlü\appdata\local\programs\python\python38\lib\site-packages (from p
yinstaller) (0.2.0)
Requirement already satisfied: altgraph in c:\users\güçlü\appdata\local\programs
\python\python38\lib\site-packages (from pyinstaller) (0.17)
Requirement already satisfied: pefile>=2017.8.1; sys_platform == "win32" in c:\u
sers\güçlü\appdata\local\programs\python\python38\lib\site-packages (from pyinst
aller) (2019.4.18)
Requirement already satisfied: setuptools in c:\users\güçlü\appdata\local\progra
ms\python\python38\lib\site-packages (from pyinstaller) (41.2.0)
Requirement already satisfied: future in c:\users\güçlü\appdata\local\programs\p
ython\python38\lib\site-packages (from pefile>=2017.8.1; sys_platform == "win32"
->pyinstaller) (0.18.2)

şimdi ise projeyi exe yapacam
yazdığım komut

pyinstaller ./AsalSayıHesaplamaProgramı.py

ki bu komut dosyanın olduğu dizinde
bana gelen hata çıktısı

C:\Users\Güçlü\Desktop\EBA CANLI DERS FATİH İÇİN İNDİRİLENLER\BİLGİSAYAR\PYTHON
YAZILIMLARI\setup>pyinstaller ./AsalSayıHesaplamaProgramı
2111 INFO: PyInstaller: 4.0
2111 INFO: Python: 3.8.3
2112 INFO: Platform: Windows-8.1-6.3.9600-SP0
2118 INFO: wrote C:\Users\Güçlü\Desktop\EBA CANLI DERS FATİH İÇİN İNDİRİLENLER\B
İLGİSAYAR\PYTHON YAZILIMLARI\setup\AsalSayıHesaplamaProgramı.spec
2131 INFO: UPX is not available.
script 'C:\Users\Güçlü\Desktop\EBA CANLI DERS FATİH İÇİN İNDİRİLENLER\BİLGİSAYAR
\PYTHON YAZILIMLARI\setup\AsalSayıHesaplamaProgramı' not found

C:\Users\Güçlü\Desktop\EBA CANLI DERS FATİH İÇİN İNDİRİLENLER\BİLGİSAYAR\PYTHON
YAZILIMLARI\setup>pyinstaller ./AsalSayıHesaplamaProgramı.py
132 INFO: PyInstaller: 4.0
133 INFO: Python: 3.8.3
133 INFO: Platform: Windows-8.1-6.3.9600-SP0
136 INFO: wrote C:\Users\Güçlü\Desktop\EBA CANLI DERS FATİH İÇİN İNDİRİLENLER\Bİ
LGİSAYAR\PYTHON YAZILIMLARI\setup\AsalSayıHesaplamaProgramı.spec
140 INFO: UPX is not available.
143 INFO: Extending PYTHONPATH with paths
['C:\\Users\\Güçlü\\Desktop\\EBA CANLI DERS FATİH İÇİN '
 'İNDİRİLENLER\\BİLGİSAYAR\\PYTHON YAZILIMLARI\\setup',
 'C:\\Users\\Güçlü\\Desktop\\EBA CANLI DERS FATİH İÇİN '
 'İNDİRİLENLER\\BİLGİSAYAR\\PYTHON YAZILIMLARI\\setup']
2453 INFO: checking Analysis
2455 INFO: Building Analysis because Analysis-00.toc is non existent
2456 INFO: Initializing module dependency graph...
2464 INFO: Caching module graph hooks...
3730 INFO: Analyzing base_library.zip ...
14224 INFO: Processing pre-find module path hook distutils from 'c:\\users\\güçl
ü\\appdata\\local\\programs\\python\\python38\\lib\\site-packages\\PyInstaller\\
hooks\\pre_find_module_path\\hook-distutils.py'.
14339 INFO: distutils: retargeting to non-venv dir 'c:\\users\\güçlü\\appdata\\l
ocal\\programs\\python\\python38\\lib'
35169 INFO: Caching module dependency graph...
35479 INFO: running Analysis Analysis-00.toc
35618 INFO: Adding Microsoft.Windows.Common-Controls to dependent assemblies of
final executable
  required by c:\users\güçlü\appdata\local\programs\python\python38\python.exe
39458 INFO: Analyzing C:\Users\Güçlü\Desktop\EBA CANLI DERS FATİH İÇİN İNDİRİLEN
LER\BİLGİSAYAR\PYTHON YAZILIMLARI\setup\AsalSayıHesaplamaProgramı.py
39463 INFO: Processing module hooks...
39464 INFO: Loading module hook 'hook-distutils.py' from 'c:\\users\\güçlü\\appd
ata\\local\\programs\\python\\python38\\lib\\site-packages\\PyInstaller\\hooks'.
..
39950 INFO: Loading module hook 'hook-encodings.py' from 'c:\\users\\güçlü\\appd
ata\\local\\programs\\python\\python38\\lib\\site-packages\\PyInstaller\\hooks'.
..
40205 INFO: Loading module hook 'hook-lib2to3.py' from 'c:\\users\\güçlü\\appdat
a\\local\\programs\\python\\python38\\lib\\site-packages\\PyInstaller\\hooks'...

41366 INFO: Loading module hook 'hook-sysconfig.py' from 'c:\\users\\güçlü\\appd
ata\\local\\programs\\python\\python38\\lib\\site-packages\\PyInstaller\\hooks'.
..
41446 INFO: Loading module hook 'hook-xml.etree.cElementTree.py' from 'c:\\users
\\güçlü\\appdata\\local\\programs\\python\\python38\\lib\\site-packages\\PyInsta
ller\\hooks'...
41498 INFO: Loading module hook 'hook-xml.py' from 'c:\\users\\güçlü\\appdata\\l
ocal\\programs\\python\\python38\\lib\\site-packages\\PyInstaller\\hooks'...
41835 INFO: Loading module hook 'hook-_tkinter.py' from 'c:\\users\\güçlü\\appda
ta\\local\\programs\\python\\python38\\lib\\site-packages\\PyInstaller\\hooks'..
.
42184 INFO: checking Tree
42184 INFO: Building Tree because Tree-00.toc is non existent
42185 INFO: Building Tree Tree-00.toc
46959 INFO: checking Tree
46960 INFO: Building Tree because Tree-01.toc is non existent
46960 INFO: Building Tree Tree-01.toc
47278 INFO: Looking for ctypes DLLs
47382 INFO: Analyzing run-time hooks ...
47392 INFO: Including run-time hook 'c:\\users\\güçlü\\appdata\\local\\programs\
\python\\python38\\lib\\site-packages\\PyInstaller\\hooks\\rthooks\\pyi_rth__tki
nter.py'
47420 INFO: Including run-time hook 'c:\\users\\güçlü\\appdata\\local\\programs\
\python\\python38\\lib\\site-packages\\PyInstaller\\hooks\\rthooks\\pyi_rth_mult
iprocessing.py'
47481 INFO: Looking for dynamic libraries
48875 INFO: Looking for eggs
48876 INFO: Using Python library c:\users\güçlü\appdata\local\programs\python\py
thon38\python38.dll
48876 INFO: Found binding redirects:
[]
48884 INFO: Warnings written to C:\Users\Güçlü\Desktop\EBA CANLI DERS FATİH İÇİN
 İNDİRİLENLER\BİLGİSAYAR\PYTHON YAZILIMLARI\setup\build\AsalSayıHesaplamaProgram
ı\warn-AsalSayıHesaplamaProgramı.txt
48997 INFO: Graph cross-reference written to C:\Users\Güçlü\Desktop\EBA CANLI DE
RS FATİH İÇİN İNDİRİLENLER\BİLGİSAYAR\PYTHON YAZILIMLARI\setup\build\AsalSayıHes
aplamaProgramı\xref-AsalSayıHesaplamaProgramı.html
49256 INFO: checking PYZ
49256 INFO: Building PYZ because PYZ-00.toc is non existent
49256 INFO: Building PYZ (ZlibArchive) C:\Users\Güçlü\Desktop\EBA CANLI DERS FAT
İH İÇİN İNDİRİLENLER\BİLGİSAYAR\PYTHON YAZILIMLARI\setup\build\AsalSayıHesaplama
Programı\PYZ-00.pyz
50762 INFO: Building PYZ (ZlibArchive) C:\Users\Güçlü\Desktop\EBA CANLI DERS FAT
İH İÇİN İNDİRİLENLER\BİLGİSAYAR\PYTHON YAZILIMLARI\setup\build\AsalSayıHesaplama
Programı\PYZ-00.pyz completed successfully.
50790 INFO: checking PKG
50791 INFO: Building PKG because PKG-00.toc is non existent
50791 INFO: Building PKG (CArchive) PKG-00.pkg
50910 INFO: Building PKG (CArchive) PKG-00.pkg completed successfully.
50930 INFO: Bootloader c:\users\güçlü\appdata\local\programs\python\python38\lib
\site-packages\PyInstaller\bootloader\Windows-64bit\run.exe
50930 INFO: checking EXE
50931 INFO: Building EXE because EXE-00.toc is non existent
50931 INFO: Building EXE from EXE-00.toc
50975 INFO: Appending archive to EXE C:\Users\Güçlü\Desktop\EBA CANLI DERS FATİH
 İÇİN İNDİRİLENLER\BİLGİSAYAR\PYTHON YAZILIMLARI\setup\build\AsalSayıHesaplamaPr
ogramı\AsalSayıHesaplamaProgramı.exe
51184 INFO: Building EXE from EXE-00.toc completed successfully.
51194 INFO: checking COLLECT
51196 INFO: Building COLLECT because COLLECT-00.toc is non existent
51201 INFO: Building COLLECT COLLECT-00.toc
Traceback (most recent call last):
  File "c:\users\güçlü\appdata\local\programs\python\python38\lib\runpy.py", lin
e 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "c:\users\güçlü\appdata\local\programs\python\python38\lib\runpy.py", lin
e 87, in _run_code
    exec(code, run_globals)
  File "C:\Users\Güçlü\AppData\Local\Programs\Python\Python38\Scripts\pyinstalle
r.exe\__main__.py", line 7, in <module>
  File "c:\users\güçlü\appdata\local\programs\python\python38\lib\site-packages\
PyInstaller\__main__.py", line 114, in run
    run_build(pyi_config, spec_file, **vars(args))
  File "c:\users\güçlü\appdata\local\programs\python\python38\lib\site-packages\
PyInstaller\__main__.py", line 65, in run_build
    PyInstaller.building.build_main.main(pyi_config, spec_file, **kwargs)
  File "c:\users\güçlü\appdata\local\programs\python\python38\lib\site-packages\
PyInstaller\building\build_main.py", line 720, in main
    build(specfile, kw.get('distpath'), kw.get('workpath'), kw.get('clean_build'
))
  File "c:\users\güçlü\appdata\local\programs\python\python38\lib\site-packages\
PyInstaller\building\build_main.py", line 667, in build
    exec(code, spec_namespace)
  File "C:\Users\Güçlü\Desktop\EBA CANLI DERS FATİH İÇİN İNDİRİLENLER\BİLGİSAYAR
\PYTHON YAZILIMLARI\setup\AsalSayıHesaplamaProgramı.spec", line 30, in <module>
    coll = COLLECT(exe,
  File "c:\users\güçlü\appdata\local\programs\python\python38\lib\site-packages\
PyInstaller\building\api.py", line 699, in __init__
    self.__postinit__()
  File "c:\users\güçlü\appdata\local\programs\python\python38\lib\site-packages\
PyInstaller\building\datastruct.py", line 160, in __postinit__
    self.assemble()
  File "c:\users\güçlü\appdata\local\programs\python\python38\lib\site-packages\
PyInstaller\building\api.py", line 743, in assemble
    shutil.copy(fnm, tofnm)
  File "c:\users\güçlü\appdata\local\programs\python\python38\lib\shutil.py", li
ne 415, in copy
    copyfile(src, dst, follow_symlinks=follow_symlinks)
  File "c:\users\güçlü\appdata\local\programs\python\python38\lib\shutil.py", li
ne 261, in copyfile
    with open(src, 'rb') as fsrc, open(dst, 'wb') as fdst:
FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\Güçlü\\AppDa
ta\\Roaming\\pyinstaller\\bincache00_py38_64bit\\python38.dll'

C:\Users\Güçlü\Desktop\EBA CANLI DERS FATİH İÇİN İNDİRİLENLER\BİLGİSAYAR\PYTHON
YAZILIMLARI\setup>

bana son kısım hata çıkarıyordu
@Murat_Halil @Wormer_King @cem_0

Öncelikle

Requirement already satisfied:

demek istiyor ki o indirmeye çalıştığın şeyi zaten indirmişsin
orada sıkıntı yok

evet bunu ben de biliyorum

Daha bilgi biriyle konuşmanı tavsiye ederim hiç ilgi alanım değil maalesef o fakat daha önce bende pyinstaller hata almıştım her py to exe programı sıkıntılı bence

Tamamdır benim karşılaştığım hata sanırım bu

Pyinstaller 4.0 kullanıyorsun (en son sürüm bu zaten :rofl: ) fakat o sürüm bildiğim kadarıyla python 3.8 ve 3.9 desteklemiyor yani ben yabancı bir forumda görmüştüm tavsiyem python3.8.2 kullanman yada 3.7
pyinstaller’ın github sayfasına bakarsan yapımcılar yeni python sürümlerine uygun olacak şekilde yeniden yapıyorlar (yani güncelliyorlar :slight_smile: )
Soru: Program exe yapmadan çalışıyor mu ?

evet çalışıyor github sayfası neredeki

ama abi bi dll dosyası yok diyor bu dosyanın işlevi ne @throwaway1

Bende nereden buldum bilmiyorum fakat en son yapımcılar %30’unu bitirmişti
Hatanı hala anlamadım fakat bence pyinstaller’ın sende bulunan python’u desteklememesi

abi eksik dosyayının indirme linkini buldum

güvenilir mi sizce

bi de benim pc 64 bit ilk indirmeden mi indircem

Bilmiyorum bence python’u tekrar yüklemen daha güvenilir olur

abi onu da yaptım dün gece sildim python 3.8.2 arkadaki dosyalarıda ccleaner ile sildim

ama tekrar deneyecem

Güvenilir mi değilmi bilmiyorum sen yine bir dene olmazsa bakarsın