Python Forum
No Scripts File present after python installation
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
No Scripts File present after python installation
#1
Hello,
I have been trying to install python and everytime I install a new version my scripts folder is empty there's no pip file or easy_install file there. When I'm using get-pip.py I'm getting an error. Please help me!!

The error is as follows:-

C:\water>py get-pip.py
Traceback (most recent call last):
File "get-pip.py", line 23484, in <module>
main()
File "get-pip.py", line 198, in main
bootstrap(tmpdir=tmpdir)
File "get-pip.py", line 83, in bootstrap
from pip._internal.commands.install import InstallCommand
File "<frozen importlib._bootstrap>", line 969, in _find_and_load
File "<frozen importlib._bootstrap>", line 958, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 664, in _load_unlocked
File "<frozen importlib._bootstrap>", line 634, in _load_backward_compatible
File "C:\Users\lenovo\AppData\Local\Temp\tmpwescoon7\pip.zip\pip\_internal\commands\install.py", line 24, in <module>
File "<frozen importlib._bootstrap>", line 969, in _find_and_load
File "<frozen importlib._bootstrap>", line 958, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 664, in _load_unlocked
File "<frozen importlib._bootstrap>", line 634, in _load_backward_compatible
File "C:\Users\lenovo\AppData\Local\Temp\tmpwescoon7\pip.zip\pip\_internal\cli\req_command.py", line 16, in <module>
File "<frozen importlib._bootstrap>", line 969, in _find_and_load
File "<frozen importlib._bootstrap>", line 958, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 664, in _load_unlocked
File "<frozen importlib._bootstrap>", line 634, in _load_backward_compatible
File "C:\Users\lenovo\AppData\Local\Temp\tmpwescoon7\pip.zip\pip\_internal\index\package_finder.py", line 21, in <module>
File "<frozen importlib._bootstrap>", line 969, in _find_and_load
File "<frozen importlib._bootstrap>", line 958, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 664, in _load_unlocked
File "<frozen importlib._bootstrap>", line 634, in _load_backward_compatible
File "C:\Users\lenovo\AppData\Local\Temp\tmpwescoon7\pip.zip\pip\_internal\index\collector.py", line 14, in <module>
File "<frozen importlib._bootstrap>", line 969, in _find_and_load
File "<frozen importlib._bootstrap>", line 958, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 664, in _load_unlocked
File "<frozen importlib._bootstrap>", line 634, in _load_backward_compatible
File "C:\Users\lenovo\AppData\Local\Temp\tmpwescoon7\pip.zip\pip\_vendor\requests\__init__.py", line 114, in <module>
File "<frozen importlib._bootstrap>", line 969, in _find_and_load
File "<frozen importlib._bootstrap>", line 958, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 664, in _load_unlocked
File "<frozen importlib._bootstrap>", line 634, in _load_backward_compatible
File "C:\Users\lenovo\AppData\Local\Temp\tmpwescoon7\pip.zip\pip\_vendor\requests\utils.py", line 27, in <module>
File "<frozen importlib._bootstrap>", line 969, in _find_and_load
File "<frozen importlib._bootstrap>", line 958, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 664, in _load_unlocked
File "<frozen importlib._bootstrap>", line 634, in _load_backward_compatible
File "C:\Users\lenovo\AppData\Local\Temp\tmpwescoon7\pip.zip\pip\_vendor\requests\_internal_utils.py", line 11, in <module>
File "<frozen importlib._bootstrap>", line 969, in _find_and_load
File "<frozen importlib._bootstrap>", line 958, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 664, in _load_unlocked
File "<frozen importlib._bootstrap>", line 634, in _load_backward_compatible
File "C:\Users\lenovo\AppData\Local\Temp\tmpwescoon7\pip.zip\pip\_vendor\requests\compat.py", line 65, in <module>
File "<frozen importlib._bootstrap>", line 969, in _find_and_load
File "<frozen importlib._bootstrap>", line 958, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 673, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 669, in exec_module
File "<frozen importlib._bootstrap_external>", line 774, in get_code
File "<frozen importlib._bootstrap_external>", line 827, in get_data
OSError: [Errno 9] Bad file descriptor
Reply
#2
What version of Python are you installing? What versions windows?
Reply
#3
(Jul-27-2020, 09:32 PM)jefsummers Wrote: What version of Python are you installing? What versions windows?

I was trying with python 3.5.3 and have also used upper versions of python Windows 10 education.
One more point initially I had python which was running well and then I was trying to install something on my pc and I started getting this error.
Reply
#4
Sounds like the configuration got messed up somewhere between the installs and the other software. My suggestion would be to uninstall Python and the other software using a good uninstaller (Revo Uninstaller is my favorite) that also cleans out related registry entries. Then reinstall, though would use Python 3.8 unless you have a very good reason.
Reply
#5
Thanks for the help man though it didn't work I don't know which file is the error pointing to when I try to find the file in which it is showing error it is showing that file doesn't exist."C:\Users\lenovo\AppData\Local\Temp\tmpwescoon7 this file is not present at the location
Reply
#6
completely uninstall python and follow these installation instructions.
Unless you have really good reason to use 3.5 use latest stable release - 3.8
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs

Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Python GDB scripts for Fedora41 voidtrance 3 678 Apr-14-2025, 05:52 PM
Last Post: voidtrance
  How to communicate between scripts in python via shared file? daiboonchu 4 1,733 Dec-31-2024, 01:56 PM
Last Post: Pedroski55
  White Screen Issue with Toolbar After Python Installation evelynfreya 2 1,065 Nov-25-2024, 06:26 PM
Last Post: deanhystad
  Install a module to a specific to Python Installation (one of many)) tester_V 2 2,087 Oct-29-2024, 03:25 PM
Last Post: snippsat
  Shrink Python installation? Extract site-packages from .zip only on demand? pstein 4 1,612 Oct-28-2024, 04:29 PM
Last Post: snippsat
  Troubleshooting Jupyter Notebook installation with Python using pip and a venv Drone4four 1 2,272 Jun-04-2024, 10:55 PM
Last Post: Drone4four
  Python installation for old MacOS Yonix 1 1,085 Sep-21-2023, 03:32 PM
Last Post: menator01
  Trying to us python.exe from our network to run scripts cubangt 3 1,989 Aug-17-2023, 07:53 PM
Last Post: deanhystad
  Installation of packages to newest Python version from previous one Andrzej_Andrzej 3 4,591 Jul-15-2023, 11:32 AM
Last Post: snippsat
  How to see the date of installation of python modules. newbieAuggie2019 4 4,585 Mar-31-2023, 12:40 PM
Last Post: newbieAuggie2019

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020