I tried to install "PyGObject" package via "Thonny" IDE on Windows 10. This IDE brings its own package manager with it.
But building of PyGObject doesn't work because of missing "MS Build Tools". I downloaded the installer of it but there are to many choices. I definitly can not install of what the "Visual Studio Installer" offers because this are to many GBs. I installed some of the options offered but THonny still tells me that something is missing. This is the log. Collecting PyGObject Downloading https://files.pythonhosted.org/packages/c1/36/c31a6ce9411b22a8ac0759c9b5ffda09368d5e0643450bb8ed83c271588c/PyGObject-3.32.1.tar.gz (698kB) Installing build dependencies: started Installing build dependencies: finished with status 'error' ERROR: Complete output from command 'C:\Users\Buhtzy\AppData\Local\Programs\Thonny\python.exe' 'C:\Users\Buhtzy\AppData\Local\Programs\Thonny\lib\site-packages\pip' install --ignore-installed --no-user --prefix 'C:\Users\Buhtzy\AppData\Local\Temp\pip-build-env-4a51wbr4\overlay' --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- setuptools wheel pycairo: ERROR: Collecting setuptools Using cached https://files.pythonhosted.org/packages/ec/51/f45cea425fd5cb0b0380f5b0f048ebc1da5b417e48d304838c02d6288a1e/setuptools-41.0.1-py2.py3-none-any.whl Collecting wheel Using cached https://files.pythonhosted.org/packages/bb/10/44230dd6bf3563b8f227dbf344c908d412ad2ff48066476672f3a72e174e/wheel-0.33.4-py2.py3-none-any.whl Collecting pycairo Using cached https://files.pythonhosted.org/packages/48/20/5e83af98eb897935bf7dc39455e892ba866feebb9b7c3b392982866f9958/pycairo-1.18.1.tar.gz ERROR: thonny 3.1.2 requires asttokens>=1.1.10, which is not installed. Installing collected packages: setuptools, wheel, pycairo Running setup.py install for pycairo: started Running setup.py install for pycairo: finished with status 'error' ERROR: Complete output from command 'C:\Users\Buhtzy\AppData\Local\Programs\Thonny\python.exe' -u -c 'import setuptools, tokenize;__file__='"'"'C:\\Users\\Buhtzy\\AppData\\Local\\Temp\\pip-install-4ujlieam\\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\Buhtzy\AppData\Local\Temp\pip-record-436zttdt\install-record.txt' --single-version-externally-managed --prefix 'C:\Users\Buhtzy\AppData\Local\Temp\pip-build-env-4a51wbr4\overlay' --compile: ERROR: running install running build running build_py creating build creating build\lib.win32-3.7 creating build\lib.win32-3.7\cairo copying cairo\__init__.py -> build\lib.win32-3.7\cairo copying cairo\__init__.pyi -> build\lib.win32-3.7\cairo copying cairo\py.typed -> build\lib.win32-3.7\cairo running build_ext building 'cairo._cairo' extension error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": https://visualstudio.microsoft.com/downloads/ ---------------------------------------- ERROR: Command "'C:\Users\Buhtzy\AppData\Local\Programs\Thonny\python.exe' -u -c 'import setuptools, tokenize;__file__='"'"'C:\\Users\\Buhtzy\\AppData\\Local\\Temp\\pip-install-4ujlieam\\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\Buhtzy\AppData\Local\Temp\pip-record-436zttdt\install-record.txt' --single-version-externally-managed --prefix 'C:\Users\Buhtzy\AppData\Local\Temp\pip-build-env-4a51wbr4\overlay' --compile" failed with error code 1 in C:\Users\Buhtzy\AppData\Local\Temp\pip-install-4ujlieam\pycairo\ ---------------------------------------- ERROR: Command "'C:\Users\Buhtzy\AppData\Local\Programs\Thonny\python.exe' 'C:\Users\Buhtzy\AppData\Local\Programs\Thonny\lib\site-packages\pip' install --ignore-installed --no-user --prefix 'C:\Users\Buhtzy\AppData\Local\Temp\pip-build-env-4a51wbr4\overlay' --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- setuptools wheel pycairo" failed with error code 1 in None Return code: _______________________________________________ python-hackers-list mailing list python-hackers-list@gnome.org https://mail.gnome.org/mailman/listinfo/python-hackers-list