Problem description
Pycharm encountered SSL error while running websocket
Error: Connection error: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed
Problem-solving
Since I use Anaconda environment in pycharm, I need to configure it in the environment corresponding to anaconda
python -m certifi
Get certificate path
conda config --set ssl_verify <your-path>
Save the certificate path so that websocket can be opened normally
Read More:
- Python Error: certificate verify failed: certificate has expired
- python minio client Error: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certific
- python3 ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:833) Error
- Pycharm error: original error was: DLL load failed while importing _multiarray _Umath: the specified module could not be found
- [Solved] PyCharm Error: Cannot open Local Terminal Failed to start [powershell.exe] in C:\Users\…….
- Change the Python installation path in Pycharm
- [Solved] Windows10 Pycharm Use Virtual Environment Error: Cannot set up a python SDK
- [Solved] PyCharm Failed to Start Error: failed to create jvm.jvm path…
- [Solved] Pycharm error: attributeerror: ‘Htmlparser’ object has no attribute ‘unescape’
- [How to Solve] PyCharm Error: Non-zero exit code (2)
- How to Solve pycharm terminal Failed to switch to virtual environment
- [Solved] pycharm Import New Project Error: cannot set up a python sdk
- PyCharm: How to Solve Tensorflow_datasets Import Error
- [Solved] PyCharm pytest-html Install Error: Try to run this command from the system terminal. Make sure that you use
- [Solved] Pycharm Use pip to install package error: no such option –build-dir
- [Solved] Pycharm from xx import xx Error: Unresolved reference
- [Solved] Pycharm Use pip Error: Script file ‘D:\Anaconda3\envs\pytorch\Scripts\pip-script.py‘ is not present
- When sending HTTP request, python encountered: error 54, ‘connection reset by peer’ solution
- Linux create connection command ln -s soft connection
- Python requests Error: ConnectionError: (‘Connection aborted.‘, error(104, ‘Connection reset by peer‘))