-
-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"import gi" fails on win-64 #15
Comments
I ran "import gi" in WinDbg, and if I'm reading this correctly, it fails while trying to load the dependency "glib-2.0-0.dll" with a 0xc0000139 or ENTRYPOINT_NOT_FOUND |
OK I've found a workaround after tracing the DLL loading. You have to use the version of
|
Thanks for investigating! I'll try adding libiconv to the package's runtime deps, which might help mitigate this (although it is not great if our version of libiconv and that of |
libiconv does get pulled in from something or another. Anyway, should be easy to test the difference - just install defaults and try "import gi" again. |
This is an attempt to mitigate conda-forge#15, although (1) I'm not sure if this will actually change things at all and (2) the real underlying issue is that the conda-forge libiconv apparently has some incompatibility with the one provided by `defaults`. This *might* help, though, and shouldn't hurt anywhere.
@jefftrull Yeah, libiconv gets pulled in, but I think if we explicitly list the dep it might make it more likely that a |
Is this issue still relevant? I am having the same issue today, on Windows 10 64-bit
|
Issue: "import gl" fails with
Environment (
conda list
)packages in environment at C:\Users\Jeff\AppData\Local\Continuum\miniconda3\envs\pqt2:
Name Version Build Channel
asn1crypto 0.24.0 py37_0
atomicwrites 1.3.0 py37_1
attrs 19.1.0 py37_1
backports 1.0 py_2
backports.functools_lru_cache 1.5 py_1 conda-forge
backports.tempfile 1.0 py_1
backports.weakref 1.0.post1 py37_0
beautifulsoup4 4.7.1 py37_1
bzip2 1.0.6 hfa6e2cd_5
ca-certificates 2019.5.15 0
cairo 1.16.0 hc1b38c8_1000 conda-forge
certifi 2019.3.9 py37_0
cffi 1.12.3 py37h7a1dbc1_0
chardet 3.0.4 py37_1
click 7.0 py37_0
colorama 0.4.1 py37_0
conda 4.6.14 py37_0
conda-build 3.17.8 py37_0
conda-package-handling 1.3.0 py37_0
conda-verify 3.4.2 py_0
cryptography 2.7 py37h7a1dbc1_0
filelock 3.0.12 py_0
future 0.17.1 py37_0
gettext 0.19.8.1 hb01d8f6_1002 conda-forge
glib 2.58.3 hc0c2ac7_1001 conda-forge
glob2 0.6 py37_1
gobject-introspection 1.58.2 py37h1800f87_1000 conda-forge
icu 58.2 ha66f8fd_1
idna 2.8 py37_0
importlib_metadata 0.17 py37_1
jinja2 2.10.1 py37_0
libarchive 3.3.3 h0643e63_5
libffi 3.2.1 h6538335_1006 conda-forge
libiconv 1.15 h1df5818_7
liblief 0.9.0 ha925a31_2
libpng 1.6.37 h2a8f88b_0
libxml2 2.9.9 h464c3ec_0
lz4-c 1.8.1.2 h2fa13f4_0
lzo 2.10 h6df0209_2
m2w64-gcc-libgfortran 5.3.0 6
m2w64-gcc-libs 5.3.0 7
m2w64-gcc-libs-core 5.3.0 7
m2w64-gmp 6.1.0 2
m2w64-libwinpthread-git 5.0.0.4634.697f757 2
markupsafe 1.1.1 py37he774522_0
menuinst 1.4.16 py37he774522_0
more-itertools 7.0.0 py37_0
msys2-conda-epoch 20160418 1
openssl 1.1.1c he774522_1
packaging 19.0 py37_0
pcre 8.43 ha925a31_0
pip 19.1.1 py37_0
pixman 0.34.0 hcef7cb0_3
pkginfo 1.5.0.1 py37_0
pluggy 0.12.0 py_0
psutil 5.6.2 py37he774522_0
py 1.8.0 py37_0
py-lief 0.9.0 py37ha925a31_2
pycairo 1.18.1 py37h63da52a_0
pycosat 0.6.3 py37hfa6e2cd_0
pycparser 2.19 py37_0
pygobject 3.30.4 py37h5e4a255_1000 conda-forge
pyopenssl 19.0.0 py37_0
pyparsing 2.4.0 py_0
pysocks 1.7.0 py37_0
pytest 4.6.2 py37_0
python 3.7.3 h8c8aaf0_1
python-libarchive-c 2.8 py37_6
pytz 2019.1 py_0
pywin32 223 py37hfa6e2cd_1
pyyaml 5.1 py37he774522_0
requests 2.22.0 py37_0
ruamel_yaml 0.15.46 py37hfa6e2cd_0
setuptools 41.0.1 py37_0
six 1.12.0 py37_0
soupsieve 1.8 py37_0
sqlite 3.28.0 he774522_0
tqdm 4.32.1 py_0
urllib3 1.24.2 py37_0
vc 14.1 h0510ff6_4
vs2015_runtime 14.15.26706 h3a45250_4
wcwidth 0.1.7 py37_0
wheel 0.33.4 py37_0
win_inet_pton 1.1.0 py37_0
wincertstore 0.2 py37_0
xz 5.2.4 h2fa13f4_4
yaml 0.1.7 hc54c509_2
zipp 0.5.1 py_0
zlib 1.2.11 h62dcd97_3
zstd 1.3.7 h508b16e_0):
In a freshly created conda environment on win-64, installing `pygobject` and then running `python -c "import gi"` produces the following error: ``` File "", line 1, in File "C:\Users\Jeff\AppData\Local\Continuum\miniconda3\envs\pqt2\lib\site-packages\gi\__init__.py", line 42, in from . import _gi ImportError: DLL load failed: The specified procedure could not be found. ```
This renders the win-64 build unusable. Thanks for any help you can give!
The text was updated successfully, but these errors were encountered: