Python Cx_freeze kurulamıyor

Ferhat23

Hectopat
Katılım
21 Nisan 2021
Mesajlar
144
Çözümler
1
Daha fazla  
Cinsiyet
Erkek
Python kodlarını .exe yapmak için kuracaktım, fakat CMD'ye pip install cx_freeze yazdığımda şu hatayı alıyorum:

Kod:
× pip subprocess to install build dependencies did not run successfully.
  │ exit code: 1
  ╰─> [38 lines of output]
      Collecting setuptools<70,>=62.6
        Using cached setuptools-69.0.3-py3-none-any.whl.metadata (6.3 kB)
      Collecting wheel>=0.38.4
        Using cached wheel-0.42.0-py3-none-any.whl.metadata (2.2 kB)
      Collecting cx_Logging>=3.1
        Using cached cx_Logging-3.1.0.tar.gz (27 kB)
        Installing build dependencies: started
        Installing build dependencies: finished with status 'done'
        Getting requirements to build wheel: started
        Getting requirements to build wheel: finished with status 'done'
        Installing backend dependencies: started
        Installing backend dependencies: finished with status 'done'
        Preparing metadata (pyproject.toml): started
        Preparing metadata (pyproject.toml): finished with status 'done'
      Using cached setuptools-69.0.3-py3-none-any.whl (819 kB)
      Using cached wheel-0.42.0-py3-none-any.whl (65 kB)
      Building wheels for collected packages: cx_Logging
        Building wheel for cx_Logging (pyproject.toml): started
        Building wheel for cx_Logging (pyproject.toml): finished with status 'error'
        error: subprocess-exited-with-error

        Building wheel for cx_Logging (pyproject.toml) did not run successfully.
        exit code: 1

        [7 lines of output]
        running bdist_wheel
        running build
        running build_ext
        creating build
        creating build\implib.win-amd64-cpython-312
        building 'cx_Logging' extension
        error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": Microsoft C++ Build Tools - Visual Studio
        [end of output]

        note: This error originates from a subprocess, and is likely not a problem with pip.
        ERROR: Failed building wheel for cx_Logging
      Failed to build cx_Logging
      ERROR: Could not build wheels for cx_Logging, which is required to install pyproject.toml-based projects
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× pip subprocess to install build dependencies did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.
 
pip install --upgrade cx_Freeze

Şeklinde deneyebilir misiniz? Olmazsa aşağıdakini deneyebilirsiniz.

pip install cx_Freeze==6.14
 

Technopat Haberler

Yeni konular

Geri
Yukarı