I want to make a GUI on PyGTK, I try to install it using pip install PyGObject and pip install PyGTK , but the second is an error that PyGObject is needed. I put PyGObject
C:\Users\*小袣袪蝎孝袨*>pip install PyGObject but I get it:
Collecting PyGObject Using cached https://files.pythonhosted.org/packages/e0/e8/1e4f21800015a9ca153 969e85fc29f7962f8f82fc5dbc1ecbdeb9dc54c75/PyGObject-3.28.3.tar.gz Collecting pycairo>=1.11.1 (from PyGObject) Using cached https://files.pythonhosted.org/packages/60/47/d335364f0ca00e475a4 0a5a664f17691bf77b3973f999b157d56ee89e04a/pycairo-1.17.0.tar.gz Installing collected packages: pycairo, PyGObject Running setup.py install for pycairo ... error Complete output from command c:\users\*小袣袪蝎孝袨*\appdata\local\programs\python \python36-32\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\ *小袣袪蝎孝袨*\\AppData\\Local\\Temp\\pip-install-in16luhf\\pycairo\\setup.py';f=getat tr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close ();exec(compile(code, __file__, 'exec'))" install --record C:\Users\*小袣袪蝎孝袨*\App Data\Local\Temp\pip-record-j2u6fst2\install-record.txt --single-version-external ly-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\*小袣袪蝎孝袨*\appdata\local\programs\python\python36-32\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\*小袣袪蝎孝袨*\\AppData\\Local \\Temp\\pip-install-in16luhf\\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\*小袣袪蝎孝袨*\AppData\Local\Temp\pip-reco rd-j2u6fst2\install-record.txt --single-version-externally-managed --compile" fa iled with error code 1 in C:\Users\*小袣袪蝎孝袨*\AppData\Local\Temp\pip-install-in16l uhf\pycairo\
I updated SetupTools to 39.2.0, it does not help ... I downloaded Visual C ++ Build Tools 2015 (for Visual C ++ 2015 - version 14.0) did not help either. Googling did nothing. Please help =)!
By the way, Pyinstaller was installed without problems. And Visual C ++ costs 2017 and 2015 versions for both 64 bit and 32 bit.