Showing posts with label Script Folder Is Empty. Show all posts
Showing posts with label Script Folder Is Empty. Show all posts

Tuesday, September 8, 2020

[SOLVED] Python Scripts Folder is Empty and Pip Not Recognised Error Is Showing After Setting Up Environment Variable

Macstock

In This Post, I have Managed to Show You How You Can Easily Fix The Problem : Script Folder is Empty in Python

Basically, It is Not an Error, It is a Bug Of Python which is Faced By a Lot of Users.

For Better Understanding You Should Watch the Full Video [Explained In Hindi Language] By Clicking the Video Button Given Below


Steps to Fix This Error :

Step 1 : Uninstall Python By Going to The Folder Where You Put Python Installer File and Open It And Click Uninstall.

Step 2 : Click "Customize Installation" and Make Sure That "Add Python 3.8 to Path" Is Ticked

Step 3 : Check The Following Options :

✓ ‑ Install For All Users

✓ ‑ Associate Files With Python(Requires the Py Launcher)

✓ ‑ Create Shortcuts For Installed Applications

✓ ‑ Add Python To Environment Variables

✓ ‑ Precompile Standard Library

Step 4 : Enter Any Drive D: Or E: Path But Not Enter C: Drive Path in the Customize Install Location Bar and Click Install Button

Step 5 : After Installation Completes, Click The Finish Button and Go to the Path You Put in The Install File Location

Open Scripts Folder, You will See that "Easy_install.exe"is there.

Step 6 : Open Command Prompt And Run These Commands :

easy_install pip

easy_install webencodings

easy_install requests

Step 7 : Go to Your Python Main Folder Where You Installed It and Open "lib". In "lib" open "site-packages". In "site-packages" open "requests-2.24.0-py3.8.egg" and Copy "requests" Folder From There.
"\Python 3.8\Lib\site-packages\requests-2.24.0-py3.8.egg"

Step 8 : Go to Site-packages and Open "pip" folder. In Pip open "_vendor" and Paste The Folder in There.
"\Python 3.8\Lib\site-packages\pip\_vendor"

Step 9 : Go to Site Packages and Open "webencodings-0.5.1-py3.8.egg" folder and Copy "webencodings" folder from It.
"\Python 3.8\Lib\site-packages\webencodings-0.5.1-py3.8.egg"

Step 10 : Paste The Folder in "_vendor" Folder of pip.

Step 11 : Go to Site Packages and Open "urllib3-1.25.10-py3.8.egg" folder and Copy "urllib3" folder from it
"\Python 3.8\Lib\site-packages\urllib3-1.25.10-py3.8.egg"

Step 12 : Paste The Folder in "_vendor" Folder of pip.

All Work Done Now Go and Use Pip.


If Nothing Worked for You, then an alternative solution for you. Download Scripts Folder Files and lib folder Files From Below and Paste in Your Computer Original Location.