Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

PySide2 Build from Source Windows 10



  • Hi,

    Trying to build PySide2 from source on Windows 10, following the official guide to the letter.

    Build keeps failing at:

    [  3%] Linking CXX shared library pyside2.cp36-win_amd64.dll
       Creating library pyside2.cp36-win_amd64.lib and object pyside2.cp36-win_amd64.exp
    jom: C:\Qt\source\PySide2\pyside-setup\pyside3_build\py3.6-qt5.12.0-64bit-release\pyside2\CMakeFiles\Makefile2 [PySide2\QtGui\CMakeFiles\QtGui_generator.dir\all] Error 2
    jom: C:\Qt\source\PySide2\pyside-setup\pyside3_build\py3.6-qt5.12.0-64bit-release\pyside2\CMakeFiles\Makefile2 [PySide2\QtWidgets\CMakeFiles\QtWidgets_generator.dir\all] Error 2
    jom: C:\Qt\source\PySide2\pyside-setup\pyside3_build\py3.6-qt5.12.0-64bit-release\pyside2\CMakeFiles\Makefile2 [PySide2\QtPrintSupport\CMakeFiles\QtPrintSupport_generator.dir\all] Error 2
    jom: C:\Qt\source\PySide2\pyside-setup\pyside3_build\py3.6-qt5.12.0-64bit-release\pyside2\Makefile [all] Error 2
    error: Error compiling pyside2
    

    full output here:

    https://pastebin.com/QBLyxEP1

    Any advice would be greatly appreciated.

    James



  • Better use Anaconda and install PySide2 with conda.


Log in to reply