Avatar
회사에서는
Todd

Cybertramp

아래에서 위로

빌드가 안될때 해결법

글을 쓴날: 2021-01-16

PyQT5 빌드가 안될때 해결하는 방법이다. 빌드시 상대 경로가 문제인 경우에서의 해결 방법.

3699 WARNING: lib not found: api-ms-win-core-libraryloader-l1-2-0.dll dependency of C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.2288.0_x64__qbz5n2kfra8p0\python.exe
3704 WARNING: lib not found: api-ms-win-core-processthreads-l1-1-0.dll dependency of C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.2288.0_x64__qbz5n2kfra8p0\python.exe
3706 WARNING: lib not found: api-ms-win-core-util-l1-1-0.dll dependency of C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.2288.0_x64__qbz5n2kfra8p0\python.exe
3708 WARNING: lib not found: api-ms-win-core-errorhandling-l1-1-0.dll dependency of C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.2288.0_x64__qbz5n2kfra8p0\python.exe
3712 WARNING: lib not found: api-ms-win-core-sysinfo-l1-1-0.dll dependency of C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.2288.0_x64__qbz5n2kfra8p0\python.exe
3715 WARNING: lib not found: api-ms-win-core-interlocked-l1-1-0.dll dependency of C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.2288.0_x64__qbz5n2kfra8p0\python.exe
3718 WARNING: lib not found: api-ms-win-core-winrt-string-l1-1-0.dll dependency of C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.2288.0_x64__qbz5n2kfra8p0\python.exe
3720 WARNING: lib not found: api-ms-win-core-winrt-error-l1-1-1.dll dependency of C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.2288.0_x64__qbz5n2kfra8p0\python.exe
3723 WARNING: lib not found: api-ms-win-core-profile-l1-1-0.dll dependency of C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.2288.0_x64__qbz5n2kfra8p0\python.exe
3725 WARNING: lib not found: api-ms-win-core-rtlsupport-l1-1-0.dll dependency of C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.2288.0_x64__qbz5n2kfra8p0\python.exe
3732 WARNING: lib not found: api-ms-win-core-com-l1-1-0.dll dependency of C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.2288.0_x64__qbz5n2kfra8p0\python.exe
3734 WARNING: lib not found: api-ms-win-core-processthreads-l1-1-1.dll dependency of C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.2288.0_x64__qbz5n2kfra8p0\python.exe
3736 WARNING: lib not found: api-ms-win-core-synch-l1-1-0.dll dependency of C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.2288.0_x64__qbz5n2kfra8p0\python.exe
3738 WARNING: lib not found: api-ms-win-core-winrt-l1-1-0.dll dependency of C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.2288.0_x64__qbz5n2kfra8p0\python.exe
3740 WARNING: lib not found: api-ms-win-core-winrt-error-l1-1-0.dll dependency of C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.2288.0_x64__qbz5n2kfra8p0\python.exe
3742 WARNING: lib not found: api-ms-win-core-debug-l1-1-0.dll dependency of C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.2288.0_x64__qbz5n2kfra8p0\python.exe
3771 WARNING: lib not found: api-ms-win-core-path-l1-1-0.dll dependency of C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.2288.0_x64__qbz5n2kfra8p0\python39.dll

위와 같은 Warning 메시지가 뜨고 실행 파일이 실행되지 않는다면 다음과 같이 조치하면 된다.

  1. Windows 설정에서 앱 실행 별칭에서 Python 관련된 것을 모두 해제하고 하나 하나 올려보며 확인한다.

  2. 그래도 안되면 PyQT5를 그냥 재설치 해주면된다.

    pip install pyqt5

아래의 글들이 도움되었다.


 

comments powered by Disqus