PyQt5 pyuic Import error: DLL load failed

irakli

I have downloaded python 3.6.2 from python.org and pyqt 5.9.2 using pip to install but I am having a problem when converting code from .ui to .py

C:\Users\pc\AppData\Local\Programs\Python\Python36-32\Lib\site-packages\pyqt5-tools>pyuic5 -x satesto.ui -o satesto.py
Traceback (most recent call last):
  File "c:\users\pc\appdata\local\programs\python\python36-32\lib\runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "c:\users\pc\appdata\local\programs\python\python36-32\lib\runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "C:\Users\pc\AppData\Local\Programs\Python\Python36-32\Lib\site-packages\pyqt5-tools\pyuic5.exe\__main__.py", line 5, in <module>
  File "c:\users\pc\appdata\local\programs\python\python36-32\lib\site-packages\PyQt5\uic\pyuic.py", line 26, in <module>
    from PyQt5 import QtCore
ImportError: DLL load failed: The specified procedure could not be found.

It says that dll load is failed when typing from PyQt5 import QtCore but when I type it in basic python it works without a problem. Do anyone know what could be the problem or how can it be solved?

Ahmad

You can follow these steps(Windows 8 or 10 User) to accomplish the converting from .ui to .py

  1. Open the folder Python36\Scripts

  2. Click shift key anywhere in the window and then select PowerShell

  3. Write pyuic5 -x the place where you have saved ui data -o name.py

    example: pyuic5 -x C:\User\Documents\MyPython\MyGui.ui -o MyGui.py

  4. You will find MyGui.py in Scripts of the Python36

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Java

DLL load failed when importing PyQt5

From Dev

PyQt5: The DLL load failed: the specified module could not be found

From Java

Import error: DLL load failed in Jupyter notebook but working in .py file

From Dev

Pyinstaller: Import Error: DLL load failed: The specified module could not be found

From Dev

importError: DLL load failed(import h5py)

From Dev

Create executable with python 3.7 PyQt5 and cx_Freeze but DLL Failed to load

From Java

"import torch" giving error "from torch._C import *, DLL load failed: The specified module could not be found"

From Dev

import matplotlib._png as _png Import: Error: DLL load failed: The specified module could not be found

From Dev

Can't import Orekit - 'DLL load failed'

From Dev

python tensorflow import dll load failed

From Dev

import _ssl error,DLL load failed ,Python 37 Anaconda Windows 10

From Dev

ver.2 PyGreSQL ERROR: from _pg import * ImportError: DLL load failed: The specified module could not be found

From Dev

Error when trying to import sklearn modules : ImportError: DLL load failed: The specified module could not be found

From Dev

Import Error: DLL load failed: The specified module could not be found when using cxfreeze

From Dev

failed to load jvm.dll eclipse error

From Java

Can't import cv2; "DLL load failed"

From

"DLL load failed" when import cv2 (opencv)

From Dev

Tensorflow (1.13.1) Exception when import: DLL load failed (Windows 10)

From Dev

Getting the error "DLL load failed: The specified module could not be found." while trying to import tensorflow for Windows in Anaconda using PyCharm

From Dev

VTK import throws an error of DLL load error in vtkCommonKit.py line 5

From Dev

error: error launching Studio Failed to load JVM DLL

From Dev

NUnit failed to load DLL

From Dev

PyQt5 - fromIccProfile: failed minimal tag size sanity error

From Dev

Getting import error with sub modules of PyQt5

From Dev

Tensorflow installation issue: ImportError: DLL load failed with error code -1073741795

From Java

DLL load failed error when importing cv2

From Java

Tensorflow error : DLL load failed: The specified procedure could not be found

From Dev

Opencv 3.1.0 with extra modules throws DLL load failed error

From Java

Python 3.7 anaconda environment - import _ssl DLL load fail error

Related Related

  1. 1

    DLL load failed when importing PyQt5

  2. 2

    PyQt5: The DLL load failed: the specified module could not be found

  3. 3

    Import error: DLL load failed in Jupyter notebook but working in .py file

  4. 4

    Pyinstaller: Import Error: DLL load failed: The specified module could not be found

  5. 5

    importError: DLL load failed(import h5py)

  6. 6

    Create executable with python 3.7 PyQt5 and cx_Freeze but DLL Failed to load

  7. 7

    "import torch" giving error "from torch._C import *, DLL load failed: The specified module could not be found"

  8. 8

    import matplotlib._png as _png Import: Error: DLL load failed: The specified module could not be found

  9. 9

    Can't import Orekit - 'DLL load failed'

  10. 10

    python tensorflow import dll load failed

  11. 11

    import _ssl error,DLL load failed ,Python 37 Anaconda Windows 10

  12. 12

    ver.2 PyGreSQL ERROR: from _pg import * ImportError: DLL load failed: The specified module could not be found

  13. 13

    Error when trying to import sklearn modules : ImportError: DLL load failed: The specified module could not be found

  14. 14

    Import Error: DLL load failed: The specified module could not be found when using cxfreeze

  15. 15

    failed to load jvm.dll eclipse error

  16. 16

    Can't import cv2; "DLL load failed"

  17. 17

    "DLL load failed" when import cv2 (opencv)

  18. 18

    Tensorflow (1.13.1) Exception when import: DLL load failed (Windows 10)

  19. 19

    Getting the error "DLL load failed: The specified module could not be found." while trying to import tensorflow for Windows in Anaconda using PyCharm

  20. 20

    VTK import throws an error of DLL load error in vtkCommonKit.py line 5

  21. 21

    error: error launching Studio Failed to load JVM DLL

  22. 22

    NUnit failed to load DLL

  23. 23

    PyQt5 - fromIccProfile: failed minimal tag size sanity error

  24. 24

    Getting import error with sub modules of PyQt5

  25. 25

    Tensorflow installation issue: ImportError: DLL load failed with error code -1073741795

  26. 26

    DLL load failed error when importing cv2

  27. 27

    Tensorflow error : DLL load failed: The specified procedure could not be found

  28. 28

    Opencv 3.1.0 with extra modules throws DLL load failed error

  29. 29

    Python 3.7 anaconda environment - import _ssl DLL load fail error

HotTag

Archive