Arkadaşlar Projemi exe ceviremiyorum Projelerim/projetess/ dosyasına kadar gidiyorum projetess.py görmüyor
nasıl yapmalıyım
işletim Sistemim = MacOS
proje klasörü = projetess
python dosyası = projetess.py
Dosya Yolu = /Users/mac/Desktop/Projelerim/projetess/projetess.py
exe dönüştürülmek istenen dosya = projetess.py
önce PyInstaller yükendi mi = evet
alınan hata = -bash: pyinstaller: command not found
Aşağıdaki terminal kodunda görüldüğü gibi PyInstaller yükleyip bu klasöre kadar gidiyorum /Users/mac/Desktop/Projelerim/projetess/
Mac-MacBook-Pro:~ mac$ pip install pyinstaller
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.
Requirement already satisfied: pyinstaller in /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages (3.5.dev0+baf94fc1b)
Requirement already satisfied: setuptools in /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages (from pyinstaller) (39.0.1)
Requirement already satisfied: pefile>=2017.8.1 in /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages (from pyinstaller) (2018.8.8)
Requirement already satisfied: macholib>=1.8 in /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages (from pyinstaller) (1.11)
Requirement already satisfied: altgraph in /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages (from pyinstaller) (0.16.1)
Requirement already satisfied: dis3 in /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages (from pyinstaller) (0.1.3)
Requirement already satisfied: future in /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages (from pefile>=2017.8.1->pyinstaller) (0.17.1)
Mac-MacBook-Pro:~ mac$ cd /Users/mac/Desktop/Projelerim/projetess/
Mac-MacBook-Pro:projetess mac$ pyinstaller projetess.py
-bash: pyinstaller: command not found
Mac-MacBook-Pro:projetess mac$
Could not find a version that satisfies the requirement python (from versions: )
Last login: Sun Feb 3 04:09:07 on ttys001
Mac-MacBook-Pro:~ mac$ pip install python
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won’t be maintained after that date. A future version of pip will drop support for Python 2.7.
Requirement already satisfied: python in /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload (2.7.15)
Mac-MacBook-Pro:~ mac$ pip3 install python
Collecting python
Could not find a version that satisfies the requirement python (from versions: )
No matching distribution found for python
You are using pip version 18.1, however version 19.0.1 is available.
You should consider upgrading via the ‘pip install --upgrade pip’ command.
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won’t be maintained after that date. A future version of pip will drop support for Python 2.7.
Requirement already up-to-date: pip in /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages (19.0.1)
bende zaten python2 dekini kaldırmaya çalıştım anladığınız kadarıyla python3 dekini kaldırdım diye bir şey demedim yazmada hata olabilir o konuda bir şey demiyorum ve de python3 ile install yazdığımızda tüm hepsinin başarıyla kurulduğunu görebiliyoruz neden kaldıralım bir daha ?
```
Requirement already satisfied: pyinstaller in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (3.4)
Requirement already satisfied: setuptools in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from pyinstaller) (40.6.2)
Requirement already satisfied: pefile>=2017.8.1 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from pyinstaller) (2018.8.8)
Requirement already satisfied: macholib>=1.8 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from pyinstaller) (1.11)
Requirement already satisfied: altgraph in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from pyinstaller) (0.16.1)
Requirement already satisfied: future in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from pefile>=2017.8.1->pyinstaller) (0.17.1)
```
herhalde okumadınız veya çıktıyı anlamadınız bilmiyorum
Bunu yapmanıza gerek yok, python3 -m pyinstaller python3’ün pyinstaller modülünü, python -m pyinstaller ise python2’nin pyinstaller modülünü çağırır. Belli ki pyinstaller direkt yola eklenmemiş, çünkü python’un farklı sürümleri var.
Mac-MacBook-Pro:~ mac$ pip3 install pyinstaller
Collecting pyinstaller
Requirement already satisfied: setuptools in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from pyinstaller) (40.6.2)
Requirement already satisfied: pefile>=2017.8.1 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from pyinstaller) (2018.8.8)
Requirement already satisfied: macholib>=1.8 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from pyinstaller) (1.11)
Requirement already satisfied: altgraph in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from pyinstaller) (0.16.1)
Requirement already satisfied: future in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from pefile>=2017.8.1->pyinstaller) (0.17.1)
Installing collected packages: pyinstaller
The scripts pyi-archive_viewer, pyi-bindepend, pyi-grab_version, pyi-makespec, pyi-set_version and pyinstaller are installed in '/Library/Frameworks/Python.framework/Versions/3.7/bin' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Successfully installed pyinstaller-3.4
Mac-MacBook-Pro:~ mac$