-
Notifications
You must be signed in to change notification settings - Fork 222
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
Cannot install packages with either pip or conda #10576
Comments
duplicate of conda/conda#8046 - you may find a workaround there. conda 4.6.2 included a fix that may address the root cause of the issue, but it probably doesn't fix already-broken environments. If those suggestions are too much for you, I recommend uninstalling anaconda, then reinstalling it, followed by immediately updating conda to 4.6.2 before doing anything else. From there, hopefully you are OK. |
Hi, |
Finally something that worked for me. Best regards. |
Just had this issue and solved with adding following line in
Just have to ensure |
Another +1 on this fix for Windows 10. |
Thanks this worked :) |
this also works for me on windows 10. i was using anaconda indirectly from vs code |
None of this is recommended. You are better off setting and env. var of
CONDA_DLL_SEARCH_MODIFICATION_ENABLE=1 permanently. This applies for users
of code (though I believe it activates conda correctly now so this is not
necessary) and for people who have broken their systems by installing 3rd
party applications that put non-system DLLs into C:\Windows\System32 (i.e.
those people who have been copying SSL dlls around).
…On Sun, Aug 25, 2019 at 1:27 PM weiwei2 ***@***.***> wrote:
this also works for me on windows 10. i was using anaconda indirectly from
vs code
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#10576?email_source=notifications&email_token=AAH6S5DHKJ7BS3U6CW3FZ6DQGJUBRA5CNFSM4GT5TDQKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5CRUPY#issuecomment-524622399>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAH6S5BBALXZO5XE4BG5AQLQGJUBRANCNFSM4GT5TDQA>
.
|
Here is what is happening when I try using pip to install something:
pip install pymsgbox
pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
Collecting pymsgbox
Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/pymsgbox/
Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/pymsgbox/
Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/pymsgbox/
Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/pymsgbox/
Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/pymsgbox/
Could not fetch URL https://pypi.org/simple/pymsgbox/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/pymsgbox/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) - skipping
Could not find a version that satisfies the requirement pymsgbox (from versions: )
No matching distribution found for pymsgbox
pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
Could not fetch URL https://pypi.org/simple/pip/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/pip/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) - skipping
here is what happened when I try the same thing with Conda:
conda install pymsgbox
Solving environment: failed
CondaHTTPError: HTTP 000 CONNECTION FAILED for url https://repo.anaconda.com/pkgs/r/noarch/repodata.json.bz2
Elapsed: -
An HTTP error occurred when trying to retrieve this URL.
HTTP errors are often intermittent, and a simple retry will get you on your way.
If your current network has https://www.anaconda.com blocked, please file
a support request with your network engineering team.
SSLError(MaxRetryError('HTTPSConnectionPool(host='repo.anaconda.com', port=443): Max retries exceeded with url: /pkgs/r/noarch/repodata.json.bz2 (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available."))'))
Here is my system information:
Windows 10, 64bit
Dell Inspiron 13 7000
Python 3.7.1
conda 4.5.12
Any idea what may be causing this? I just need a way to install files. I am a beginner to this stuff so please explain things as clearly as possible.
The text was updated successfully, but these errors were encountered: