Home > Backend Development > Python Tutorial > What to do if there is no scripts folder when installing python

What to do if there is no scripts folder when installing python

php中世界最好的语言
Release: 2018-04-09 10:27:33
Original
7589 people have browsed it

This time I will bring you How to deal with the scripts folder when installing python, and what are the precautions when installing python without the scripts folder , the following is a practical case, let’s take a look.

When installing Python 2.7, the scripts folder was not generated many times, resulting in the inability to use pip.

After some tossing around, I found a solution.

What is unacceptable is that as long as the installation package I give will not generate a scripts folder, there should be a problem with my installation package. I suggest this problem arise. Babies, please change the installation package first. If you still have this error after changing it, you can see how I solved it, for reference only.

1 Go to the official website to download the ez_setup.py file

2 cmd, then switch to the corresponding path and execute the command python ez_setup.py. After completion, scripts will be generated Folder

3 Switch to the scripts folder, install pip, enter the command: easy_install.exe pip

4 Then configure the environmentvariables

Believe it or not After reading the case in this article, you have mastered the method. For more exciting information, please pay attention to other related articles on the PHP Chinese website!

Recommended reading:

How to batch read txt files into DataFrame format in Python

How to implement HMacMD5 encryption algorithm in Python

The above is the detailed content of What to do if there is no scripts folder when installing python. 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