Home > Backend Development > Python Tutorial > python cannot be installed after uninstalling it

python cannot be installed after uninstalling it

Release: 2019-07-27 16:45:27
Original
6423 people have browsed it

python cannot be installed after uninstalling it

This article mainly introduces to you the solutions to problems encountered when uninstalling and reinstalling python. It is shared for your reference and study. I won’t say much below, let’s take a look at the details. Let me introduce.

Uninstall Python:

First check your python version under cmd, and download the appropriate installation package online to uninstall

python cannot be installed after uninstalling it

If uninstall failed to uninstall, just repair it first and then uninstall it.

When you encounter problems when installing Python, you cannot install it. Solution:

When installing, you encounter verify that you have access to that directory. Just run it as an administrator.

Problems encountered by pip

If pip install xlwt fails, you are using pip version 10.0.1, however version 19.1.1 is available.

Solution: python -m pip install --upgrade pip

For example: If pip install xlwt fails, Consider using the --user option or check the permissions.

Solution: pip install --user xlwt

For more Python-related technical articles, please visit the Python Tutorial column to learn!

The above is the detailed content of python cannot be installed after uninstalling it. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template