Z
Z
Zadavatel_Voprosov2018-07-04 06:57:44
Python
Zadavatel_Voprosov, 2018-07-04 06:57:44

PyGObject not installed (unusual case)! What to do?

Hello! I want to make a program with Gui, for this I put PyGTK with the command: pip install PyGObject, but in response they snort me:

Collecting PyGObject
  Using cached https://files.pythonhosted.org/packages/e0/e8/1e4f21800015a9ca153969e85fc29f7962f8f82fc5dbc1ecbdeb9dc54c75/PyGObject-3.28.3.tar.gz
Collecting pycairo>=1.11.1 (from PyGObject)
  Using cached https://files.pythonhosted.org/packages/60/47/d335364f0ca00e475a40a5a664f17691bf77b3973f999b157d56ee89e04a/pycairo-1.17.0.tar.gz
Installing collected packages: pycairo, PyGObject
  Running setup.py install for pycairo ... error
    Complete output from command c:\users\timoshka-win10\appdata\local\programs\python\python36-32\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\TIMOSH~1\\AppData\\Local\\Temp\\pip-install-denka601\\pycairo\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record C:\Users\TIMOSH~1\AppData\Local\Temp\pip-record-4ju3ol80\install-record.txt --single-version-externally-managed --compile:
    running install
    running build
    running build_py
    creating build
    creating build\lib.win32-3.6
    creating build\lib.win32-3.6\cairo
    copying cairo\__init__.py -> build\lib.win32-3.6\cairo
    copying cairo\__init__.pyi -> build\lib.win32-3.6\cairo
    copying cairo\py.typed -> build\lib.win32-3.6\cairo
    running build_ext
    building 'cairo._cairo' extension
    error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": http://landinghub.visualstudio.com/visual-cpp-build-tools

    ----------------------------------------
Command "c:\users\timoshka-win10\appdata\local\programs\python\python36-32\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\TIMOSH~1\\AppData\\Local\\Temp\\pip-install-denka601\\pycairo\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record C:\Users\TIMOSH~1\AppData\Local\Temp\pip-record-4ju3ol80\install-record.txt --single-version-externally-managed --compile" failed with error code 1 in C:\Users\TIMOSH~1\AppData\Local\Temp\pip-install-denka601\pycairo\

And then I think, how can it not find the installed Microsoft Visual C ++ Build Tools? And it was 2015 (14.0). 5b39763d4b4f9918013537.pngWhat to do?
PS: Computer rebooted, build tools reinstalled. It did not help (. + build tools from the off site of small -soft .

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question