Home  >  Article  >  Backend Development  >  python cannot be installed after uninstalling it

python cannot be installed after uninstalling it

尚
Original
2019-07-11 15:24:276219browse

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!

Statement:
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