I am a very beginner, but need to use KModes.
I found the documentation for KModes.
As described I am starting by this code to install kmodes on Jupyter Notebook (via Anaconda)
!pip install kmodes
but get this error message :
Could not fetch URL https://pypi.org/simple/kmodes/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/kmodes/ (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1129)'))) - skipping
I should I install this new KModes, please ?
Related
We facing the issue in docker where we remove the proxy but still we facing the proxy error.
Connection Error occurred. ProxyError: HTTPSConnectionPool(host='', port=443): Max retries exceeded with url: (Caused by ProxyError('Cannot connect to proxy.', OSError('Tunnel connection failed: 403 Forbidden',)))
we removed proxy configuration from docker config.json file as well as docker.service.d folder.
I'm try to write a requests, but get error...
requests.exceptions.SSLError: HTTPSConnectionPool(host='www.google.com', port=443): Max retries exceeded with url: / (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:777)'),))
code snippet:
import requests
response = requests.head('https://www.google.com')
print("", response)
and i find some solutin,
ex:
pip install cryptography
pip install pyOpenSSL
pip install certifi
or verify=False
but it still not worked.
Could someone help me? Thanks!
I have been trying to send a GET Request to a web but I've been raised following Error:
requests.exceptions.SSLError: HTTPSConnectionPool(host='courses.fit.hcmus.edu.vn', port=443): Max retries exceeded with url: /course/view.php?id=2040 (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)')))
This is my code up to now:
import requests
session = requests.get('https://courses.fit.hcmus.edu.vn/course/view.php?id=2040')
print(session.text)
This web requires account and password but I've tried to use cookies already but I got same errors,...
I've try to upgrade pip or several things familiar to that but it didn't work.
Thanks,
Tien Dung
No matching distribution found for autobahn==0.14.1
[pipenv.exceptions.InstallError]:
['Collecting autobahn==0.14.1 (from -r /tmp/pipenv-mUvBAU-requirements/pipenv-hE1ELq-requirement.txt (line 1))', '
Could not fetch URL https://pypi.org/simple/autobahn/:
There was a problem confirming the ssl certificate: HTTPSConnectionPool(host=\'pypi.org\', port=443): Max retries exceeded with url: /simple/autobahn/ (Caused by SSLError("Can\'t connect to HTTPS URL because the SSL module is not available.",)) - skipping']
Please change to your python folder and run the following command.
./configure --with-ssl
make
sudo make install
I am trying to install the package langdect in Anaconda
As I am working in an office, I tried to set up the proxy by creating a .condarc file in C:\Users\my_username
In this file I put
channels:
- defaults
show_channel_urls: True
allow_other_channels: True
proxy_servers:
http: http://username:passwordwith%escape#proxyhost:8080
https: https://username:passwordwith%escape#proxyhost:8080
ssl_verify: True
But i got the following error when executing conda update conda
ProxyError(MaxRetryError("HTTPSConnectionPool(host='repo.anaconda.com', port=443):
Max retries exceeded with url: /pkgs/pro/noarch/repodata.json.bz2
(Caused by ProxyError('Cannot connect to proxy.',
OSError('Tunnel connection failed: 407 au thenticationrequired')))"))
I already tried the solution on this question How to make Anaconda work behind HTTP proxy (not https)?
But I have some questions, is there an easy way to check my proxy blocked out the repository url? What else can I try to make it work?