-
Notifications
You must be signed in to change notification settings - Fork 6
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
Windows: conda-standalone may fail with no OPENSSL_Applink
with official Python installed
#86
Comments
Thanks to @guitarpicker, we learnt that this problem occurs when the After some debugging @marcoesters and I got to the conclusion that this is indirectly caused by a change introduced in That PR calls this function on import: from urllib3.util.ssl_ import create_urllib3_context
create_urllib3_context() And that causes the reported crash. We are only observing this in the latest 24.5.0 build because of the
The root cause is not well understood (possibly in this CPython C code block, plus some interaction with PyInstaller?), but we can workaround the issue by unsetting the |
I'm out of my lane and don't feel confident about posting in the upstream repo, but after taking a cursory looking at that block, I notice it's using
I'm not sure if this is the same thing, but from my recent experience I can tell you that the SSLKEYLOGFILE target file is usually being referenced by some process or another where I can't do any sort of deletion or modification. Mine is still locked by MS Edge (and probably Chrome and potentially any other log aware program as well) since I haven't gotten around to restarting my user session since reporting my findings. Perhaps |
I currently think it's much more likely that it is due to how
And do the same thing with vanilla python or even a conda-installed python. Only I would also expect a different error message if it was some kind of access violation. |
Checklist
What happened?
Some users report failures with Miniconda 24.5.0, which uses
conda-standalone 24.5.0
as the bootstrapper. One example can be found here: ContinuumIO/anaconda-issues#13408Further debugging showed that the release binaries for
conda-standalone 24.5.0
produce the same error:There appears to be a correlation with users having an official Python installed. I cannot reproduce the problem though.
Miniconda 24.4.0, which uses
conda-standalone 24.3.0
, works fine though.Conda Info
Conda Config
Conda list
Additional Context
A lot of things have changed between
conda-standalone 24.3.0
and24.5.0
, most notably the Python and pyinstaller versions got updated.However, the packages on
defaults
were both built withpyinstaller 5.13.2
.The text was updated successfully, but these errors were encountered: