M
M
Moto Moto2021-02-22 16:57:39
Python
Moto Moto, 2021-02-22 16:57:39

What should I do if, when installing pyside on y 3.4, it gives a compilation error?

C:\Users\xdddsupport>pip install -U PySide
Downloading/unpacking PySide
  Running setup.py (path:C:\Users\XDDDSU~1\AppData\Local\Temp\pip_build_xdddsupport\PySide\setup.py) egg_info for package PySide
    Removing C:\Users\XDDDSU~1\AppData\Local\Temp\pip_build_xdddsupport\PySide\pyside_package

    package init file 'pyside_package\PySide\__init__.py' not found (or not a regular file)
    package init file 'pyside_package\pysideuic\__init__.py' not found (or not a regular file)
    warning: no previously-included files matching '**' found under directory 'sources\pyside-examples\examples\hyperui'
    warning: no previously-included files matching '**' found under directory 'sources\pyside-examples\mobility'
    warning: no previously-included files matching '**' found under directory 'sources\shiboken\.git'
    warning: no previously-included files matching '**' found under directory 'sources\pyside\.git'
    warning: no previously-included files matching '**' found under directory 'sources\pyside-tools\.git'
    warning: no previously-included files matching '**' found under directory 'sources\pyside-examples\.git'
    warning: no files found matching '**' under directory 'pyside_package\PySide'
    warning: no files found matching '**' under directory 'pyside_package\PySide\docs'
    warning: no files found matching '**' under directory 'pyside_package\PySide\plugins'
    warning: no files found matching '**' under directory 'pyside_package\PySide\imports'
    warning: no files found matching '**' under directory 'pyside_package\PySide\translations'
    warning: no files found matching '**' under directory 'pyside_package\PySide\include'
    warning: no files found matching '**' under directory 'pyside_package\PySide\typesystems'
    warning: no files found matching '**' under directory 'pyside_package\PySide\examples'
    warning: no files found matching '**' under directory 'pyside_package\pysideuic'
    warning: no files found matching '**' under directory 'pyside_package\pysideuic\Compiler'
    warning: no files found matching '**' under directory 'pyside_package\pysideuic\port_v2'
    warning: no files found matching '**' under directory 'pyside_package\pysideuic\port_v3'
    warning: no files found matching '**' under directory 'pyside_package\pysideuic\widget-plugins'
Installing collected packages: PySide
  Running setup.py install for PySide
    Removing C:\Users\XDDDSU~1\AppData\Local\Temp\pip_build_xdddsupport\PySide\pyside_package
    Python architecture is 64bit
    nmake not found. Trying to initialize the MSVC env...
    Searching MSVC compiler version 10.0
    error: Failed to find the MSVC compiler version 10.0 on your system.
    Complete output from command D:\Programms\py\python.exe -c "import setuptools, tokenize;__file__='C:\\Users\\XDDDSU~1\\AppData\\Local\\Temp\\pip_build_xdddsupport\\PySide\\setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record C:\Users\XDDDSU~1\AppData\Local\Temp\pip-jruq2pqx-record\install-record.txt --single-version-externally-managed --compile:
    Removing C:\Users\XDDDSU~1\AppData\Local\Temp\pip_build_xdddsupport\PySide\pyside_package

running install

running build

Python architecture is 64bit

nmake not found. Trying to initialize the MSVC env...

Searching MSVC compiler version 10.0

error: Failed to find the MSVC compiler version 10.0 on your system.

----------------------------------------
Cleaning up...
Command D:\Programms\py\python.exe -c "import setuptools, tokenize;__file__='C:\\Users\\XDDDSU~1\\AppData\\Local\\Temp\\pip_build_xdddsupport\\PySide\\setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record C:\Users\XDDDSU~1\AppData\Local\Temp\pip-jruq2pqx-record\install-record.txt --single-version-externally-managed --compile failed with error code 1 in C:\Users\XDDDSU~1\AppData\Local\Temp\pip_build_xdddsupport\PySide
Storing debug log for failure in C:\Users\xdddsupport\pip\pip.log

Answer the question

In order to leave comments, you need to log in

2 answer(s)
H
HemulGM, 2021-02-22
@HemulGM

Look at the log and see what the problem is

S
Sergey Karbivnichy, 2021-02-22
@hottabxp

Look for ready-made binaries for your system here - https://download.qt.io/official_releases/pyside/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question