@6IXK1LL
Дебил

Что делать, если при установке pyside на y 3.4 выдает ошибку в компиляции?

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
  • Вопрос задан
  • 133 просмотра
Пригласить эксперта
Ответы на вопрос 2
HemulGM
@HemulGM Куратор тега Python
Delphi Developer, сис. админ
Посмотреть лог и увидеть, в чем проблема
Ответ написан
Комментировать
hottabxp
@hottabxp Куратор тега Python
Сначала мы жили бедно, а потом нас обокрали..
Поищите готовые бинарники для своей системы здесь - https://download.qt.io/official_releases/pyside/
Ответ написан
Комментировать
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Похожие вопросы