Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Could not install PyGObject
#1
I have installed Python 3.8 on my Win7 computer. It has been installed for all the users in the diretory C:\Program Files. I have also installed MsYs on my computer separately. I have also installed "pycairo" and now I am trying to install PyGObject using the command given below
pip --no-cache-dir install PyGObject

It is giving me the following error message
Error:
gi\gimodule.c: fatal error C1083: Cannot open include file: 'msvc_recommended_pragmas.h': No such file or directory
Now the problem is that the library msvc_recommended_pragmas.h is present in the following location
<InstallDirOfMsys>\mingw64\include\glib-2.0

I want to install PyGObject so that I can make use of GTK and other libraries.

So my query was how do I get Python to realize that there is a library available in some other location? which it has to use to building PyGObject
Reply


Messages In This Thread
Could not install PyGObject - by Srikant - Nov-01-2020, 04:39 AM
RE: Could not install PyGObject - by Larz60+ - Nov-01-2020, 06:17 AM
RE: Could not install PyGObject - by Srikant - Nov-02-2020, 03:01 AM
RE: Could not install PyGObject - by Larz60+ - Nov-02-2020, 11:07 AM
RE: Could not install PyGObject - by snippsat - Nov-02-2020, 11:43 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  fail to upgrade pygobject jiapei100 0 3,115 Aug-16-2018, 10:32 AM
Last Post: jiapei100

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020