RoBoLoG

[ImportError] ImportError: DLL load failed while importing Shiboken: 지정된 프로시저를 찾을 수 없습니다. 본문

Error Solution/Etc

[ImportError] ImportError: DLL load failed while importing Shiboken: 지정된 프로시저를 찾을 수 없습니다.

SKJun 2022. 12. 1. 11:50

오류 요약

  • Import PySide6에서 발생하는 오류
  • ImportError: DLL load failed while importing Shiboken: 지정된 프로시저를 찾을 수 없습니다.

환경

  • OS: Windows
  • Python: 3.8.0
  • PySide6: 6.2.4

오류 내용

Traceback (most recent call last):
  File "d:\Projects\integrated_recog_demo\webcam_demo_OS_independent.py", line 21, in <module>
    from PySide6.QtWidgets import (QApplication, QWidget, QLabel, QLineEdit, QGridLayout,
  File "d:\virtualenv\vision_tts\lib\site-packages\PySide6\__init__.py", line 111, in <module>
    _setupQtDirectories()
  File "d:\virtualenv\vision_tts\lib\site-packages\PySide6\__init__.py", line 60, in _setupQtDirectories
    from shiboken6 import Shiboken
  File "d:\virtualenv\vision_tts\lib\site-packages\shiboken6\__init__.py", line 25, in <module>
    from shiboken6.Shiboken import *
ImportError: DLL load failed while importing Shiboken: 지정된 프로시저를 찾을 수 없습니다.

해결

python3.8.0 과 PySide6의 환성 문제로 발생하는 오류임

 

python3.8.0을 python3.8.10으로 변경한 후에 다시 pip install PySide6하면 오류 없이 동작함

 

python3.8.10 다운로드 링크

https://www.python.org/downloads/release/python-3810/ 

 

Python Release Python 3.8.10

The official home of the Python Programming Language

www.python.org

728x90
반응형