pgi
pgi copied to clipboard
impossible to install via pip
pip install pgi
Collecting pgi
Using cached pgi-0.0.11.2.tar.gz (239 kB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [26 lines of output]
Traceback (most recent call last):
File "
from .giargument import GIArgument
File "C:\Users\pavel\AppData\Local\Temp\pip-install-_znv085p\pgi_92ca1d9f5e694cb7bb3831f3de8c8dbb\pgi\clib\gir\giargument.py", line 9, in
_internal[name] = cdll.LoadLibrary(so_mapping[name])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\pavel\AppData\Local\Programs\Python\Python311\Lib\ctypes_init.py", line 454, in LoadLibrary
return self.dlltype(name)
^^^^^^^^^^^^^^^^^^^
File "C:\Users\pavel\AppData\Local\Programs\Python\Python311\Lib\ctypes_init.py", line 376, in init
self._handle = _dlopen(self._name, mode)
^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: Could not find module 'libglib-2.0-0.dll' (or one of its dependencies). Try using the full path with constructor syntax.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip. error: metadata-generation-failed
× Encountered error while generating package metadata. ╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
libglib-2.0-0.dll I added this lib to System32 but still no luck
I encounter the same problem. Could you tell me how to solve it? Thank you!