[PYTHON] What to do when an error occurs with import _ssl

If you google, you will be asked to reinsert Python. so, There is an option for ssl at the time of installation.

However, since it was a Homebrew environment, I tried to re-insco it as it was and it was fixed.

The following procedure commands

$ brew remove python
$ brew doctor
$ brew install python
$ brew doctor
$ python
>>> import _ssl

Make sure there are no errors >>> exit ()

Recommended Posts

What to do when an error occurs with import _ssl
[Beanstalk] What to do when an error occurs with import uuid
What to do if an error occurs when importing numpy with VScode
[OSX] [pyenv] What to do when an SSL error occurs in pip
What to do if you get an Import Error when importing matplotlib with Jupyter
[Python] What to do when an error related to SSL authentication is returned
[python] What to do when an error occurs in send_keys of headless chrome
What to do when SSL error occurs in pip in Windows10, miniconda, VScode environment
What to do if you get an error when installing python with pyenv
What to do if an SSL connection error (ssl.SSLError: [SSL: DH_KEY_TOO_SMALL]) occurs on Ubuntu 20.04
What to do when a Remove Error occurs when updating conda
[Python] Type Error:'WebElement' object is not iterable What to do when an error occurs
What to do if you get an OpenSSL error when installing Python 2 with pyenv
What to do if an error occurs when loading a python project created with poetry into VS Code
What to do if you get an Undefined error when trying to use pip with pyenv
What to do when PermissionError of tempfile.mkstemp occurs
Rollback processing when an error occurs with fabric
What to do if pyenv install does not proceed with an error
What to do if you get an error when trying to load mnist
What to do if you get an error when installing Dlib (Ubuntu)
What to do when psycopg2 throws an error when pipenv lock under Pipenv environment
What to do when "cannot import name xxx" [Python]
A memorandum when an error occurs with pip install
[Python] What to do if an error occurs in pip (pyinstaller, pyautogui, etc.)
[Django] What to do if an Integrity Error occurs when registering data from the management site to the database
What to do if an error occurs in TensorFlow RNN related import or RNN (LSTM) Cell (v 0.11r ~)
What to do when Ubuntu crashes
[AWS] What to do when you want to pip with Lambda
What to do with Magics install
After installing CentOS8 with VirtualBox, an error occurs when restarting
What to do if you get an error when importing matplotlib in Python (Mac)
What to do if a 0xC0000005 error occurs in tf.train.start_queue_runners ()
What to do when "SSL: CERTIFICATE_VERIFY_FAILED _ssl.c: 1056" appears in Python
What to do if you run python in IntelliJ and end with an error
What to do if a communication error occurs due to proxy when installing with package management of pip, npm, gem
What to do when you get an error saying "Name resolution temporarily failed" on linux
What to do if you get an error when running "certbot renew" in CakePHP environment
I get an error when trying to install maec 4.0.1.0 with pip
What to do when UnicodeDecodeError occurs during read_csv in pandas (pd.read_table ())
What to do when ModuleNotFoundError: No module named'XXX' occurs in Python
Solution when an error occurs when hiding the console screen with PyInstaller
I get an error with import pandas.
When I get an error with PyInstaller
What to do if pip --user returns an error in a virtual environment created with pyenv
What to do if you couldn't send an email to Yahoo with Python.
What to do when pyinstaller: error: argument --add-binary: invalid add_data_or_binary value: appears
[Docker] What to do when error Couldn't find the binary git appears
How to deal with SSL error when connecting to S3 with boto of Python
[AWS] How to deal with WordPress "An error occurred when cropping an image."
I built an environment from centos installation to php source expansion on linux, but what to do when a browser error occurs
I got an error when saving with OpenCV
How to write what to do when an application is first displayed in Qt for Python with Designer
When doing sam build with AWS Lambda Layers, the file hierarchy changes and an import error occurs.
What to do when "OS Error: [WinError 126] The specified module cannot be found" appears in import torch
What to do if a symbolic link error occurs in import cv while trying to install OpenCV in Python
An error occurs when importing japandas (problem unsolved)
Workaround if you get an error when trying to install PySide with pip
[Python] I want to know the variables in the function when an error occurs!
What to do if CERTIFICATE_VERIFY_FAILED occurs when nltk.download () is done on macOS pyhon
What to do if a Unicode Encode Error occurs in Sublime Text Python
What to do if a version error occurs in the selenium Chrome driver