[PYTHON] What to do if a UnicodeDecodeError occurs in pip

Running pip install on Windows can cause UnicodeDecodeError and get angry.

In the case of Windows, it tries to read with ascii when the encoding is not specified? However, in such a case, you can deal with it by the following method.

This should work.

Reference: UnicodeDecodeError from pip

Recommended Posts

What to do if a UnicodeDecodeError occurs in pip
What to do if pip gives a DistributionError in Homebrew
What to do if pipreqs results in UnicodeDecodeError
What to do if you get a UnicodeDecodeError with pip install
What to do if pip install fails in Xcode 5.1
[Python] What to do if an error occurs in pip (pyinstaller, pyautogui, etc.)
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
What to do if you get a minus zero in Python
What to do when UnicodeDecodeError occurs during read_csv in pandas (pd.read_table ())
Note: What to do if pip install fails
What to do if pip cannot be installed
What to do if there is a decimal in python json .dumps
What to do if you can't install with pip in babun environment
[OSX] [pyenv] What to do when an SSL error occurs in pip
What to do when a warning message is displayed in pip list
What to do if pip --user returns an error in a virtual environment created with pyenv
What to do if you can't pip install mysqlclient
What to do if pip install fails to install dependent libraries
What to do if you get a "No versions found" error in pipenv
What to do when SSL error occurs in pip in Windows10, miniconda, VScode environment
What to do if NotADirectoryError: [Errno 20] Not a directory:'xdg-settings' appears in jupyter notebook
What to do if a symbolic link error occurs in import cv while trying to install OpenCV in Python
What to do if yum breaks
UnicodeDecodeError occurs in pip (Windows environment)
What to do if ʻarguments [0] .scrollIntoView ();` fails in python selenium
What to do if you get "coverage unknown" in Coveralls
What to do if `pip install matplotlib` fails on Mac
What to do if you can't log in as root
What to do if pip install mysqlclient fails on MacOS
What to do when a Missing artifact occurs in a jar that is not defined in pom.xml
What to do if "Unnamed: 0" is added in to_csv-> read_csv in pandas
What to do if a communication error occurs due to proxy when installing with package management of pip, npm, gem
What to do if you can't use the trash in Lubuntu 18.04.
What to do if you get a Cannot retrieve metalink for repository error in yum
What to do when ModuleNotFoundError: No module named'XXX' occurs in Python
What to do if ʻObject arrays cannot be loaded when allow_pickle = False` occurs in numpy.load ()
What to do if you get angry with'vertices' must be a 2D list ... in matplotlib arrow
What to do if you get a must override `get_config` error when trying to model.save in Keras
[Memorandum] What to do when a warning appears after executing pip list
What to do if you can't find PDO in Laravel or CakePHP
What to do if you can't use scikit grid search in Python
What to do if you get lost in file reference with FileNotFoundError
What to do if you get angry in TensorFlow v2 without attribute'app'
What to do if No Python documentation found for ... appears in pydoc
What to do if an error occurs when importing numpy with VScode
What to do if you get a TypeError with numpy min, max
What to do if you get Could not fetch URL 443 with pip
What to do if fprintd requires a password when registering your fingerprint
What happens if you do "import A, B as C" in Python?
What to do if you can't pipenv shell
What to do if mod_fcgid cannot resolve UnicodeEncodeError
What to do if rails s doesn't work
What to do when PermissionError of tempfile.mkstemp occurs
What to do if atom autocomplete-python doesn't work
What to do to get google spreadsheet in python
What to do if Docker-sync suddenly stops working
What to do if "amazon-linux-extras" → "No module named amazon_linux_extras"
[Python] What to do if you get a ModuleNotFoundError when importing pandas using Jupyter Notebook in Anaconda
What to do if an error occurs in TensorFlow RNN related import or RNN (LSTM) Cell (v 0.11r ~)
What to do if CERTIFICATE_VERIFY_FAILED occurs when nltk.download () is done on macOS pyhon