Merhabalar, python dünyasında daha yeniyim şu anda pip ile yeni haşır neşir oluyorum ancak bazı paketleri yüklemek isterken sürekli filenotfounderror hatası alıyorum
örnek bir tane yüklemek istedim oluşan hata şöyle
Collecting Kivy Using cached Kivy-1.10.0.tar.gz Complete output from command python setup.py egg_info: Using distutils
Detected Cython version 0.27.1 This version of Cython is untested with Kivy. While this version may work perfectly fine, it is possible that you may experience issues. If you do have issues, please downgrade to a supported version. It is best to use the newest supported version, 0.25.2, but the minimum supported version is 0.23.
If your platform provides a Cython package, check if you can downgrade to a supported version. Otherwise, uninstall the platform package and install Cython via pip:
pip install -I Cython==0.25.2 User distribution detected, avoid portable command. Using this graphics system: OpenGL WARNING: A problem occurred while running pkg-config --libs --cflags gstreamer-1.0 (code 1)
b"'pkg-config' is not recognized as an internal or external command,\r\noperable program or batch file.\r\n"
WARNING: A problem occurred while running pkg-config --libs --cflags sdl2 SDL2_ttf SDL2_image SDL2_mixer (code 1)
b"'pkg-config' is not recognized as an internal or external command,\r\noperable program or batch file.\r\n"
Traceback (most recent call last): File "<string>", line 1, in <module> File "C:\Users\user\AppData\Local\Temp\pycharm-packaging\Kivy\setup.py", line 934, in <module> version=get_version(), File "C:\Users\user\AppData\Local\Temp\pycharm-packaging\Kivy\setup.py", line 47, in get_version ['git', 'rev-parse', 'HEAD'] File "C:\Program Files\Python37\lib\subprocess.py", line 335, in check_output **kwargs).stdout File "C:\Program Files\Python37\lib\subprocess.py", line 402, in run with Popen(*popenargs, **kwargs) as process: File "C:\Program Files\Python37\lib\subprocess.py", line 708, in __init__ restore_signals, start_new_session) File "C:\Program Files\Python37\lib\subprocess.py", line 996, in _execute_child startupinfo) FileNotFoundError: [WinError 2] Sistem belirtilen dosyayı bulamıyor
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in C:\Users\user\AppData\Local\Temp\pycharm-packaging\Kivy\
cmd veya mingw den de aynı hata çıktısını alıyorum
Benim Windows XP laptop'ta denedim, ilk denemede sorunsuzca kuruldu; successfully installed kivy-1.10.0 şeklinde. Senin bilgisayarda pkg-config.exe kurulu değil gözüküyor ve hatayı da oradan veriyor. Benim laptopta pkg-config kurulum yerini SS'te gösterdim, mono kurulumu altında.
pip 'i direkt komut satırından tek yazsan da, pyhton -m ile yazsan da fark etmez ki hocam? çünkü pip zaten bir python betiği sadece ilk satırında python shebang'i var (python ile çalıştırılacağını belirten yönerge)
senin mingw sistemde veya windows sistem değişkenlerinde (path gibi) veya benzeri bir eksiklik var ondan kurulmuyor.
ConEmu veya CMDer sadece komut arayüzüdür, işleme etki etmez. path doğru olsa bile pkg-config 'te veya başka yerde sorun var gibi. Biraz Google yapman gerekebilir.
örnek bir tane yüklemek istedim oluşan hata şöyle
cmd veya mingw den de aynı hata çıktısını alıyorum