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 installation for old MacOS Yonix 1 456 Sep-21-2023, 03:32 PM
Last Post: menator01
  Trying to us python.exe from our network to run scripts cubangt 3 815 Aug-17-2023, 07:53 PM
Last Post: deanhystad
  Installation of packages to newest Python version from previous one Andrzej_Andrzej 3 780 Jul-15-2023, 11:32 AM
Last Post: snippsat
  How to see the date of installation of python modules. newbieAuggie2019 4 1,464 Mar-31-2023, 12:40 PM
Last Post: newbieAuggie2019
  Getting "SSL client not supported by this Python installation" error prabirsarkar 0 914 Mar-13-2023, 05:01 PM
Last Post: prabirsarkar
  python installation/running inside singularity container erdemath 2 1,689 Sep-21-2022, 08:13 AM
Last Post: erdemath
Question Python V3.11 Installation Help Danno 2 1,053 Aug-11-2022, 02:30 AM
Last Post: Danno
  Check if a value is present in each group Menthix 8 2,587 May-16-2022, 12:25 PM
Last Post: Menthix
  Anaconda pip install mpyc Error pip-script.py is not present Anldra12 2 7,717 Dec-13-2021, 06:59 PM
Last Post: Anldra12
  How to run an exe file in the Scripts folder using py.exe? quazirfan 2 2,900 Sep-08-2021, 01:00 AM
Last Post: quazirfan

Forum Jump:

User Panel Messages

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