Python Forum

Full Version: No Scripts File present after python installation
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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
What version of Python are you installing? What versions windows?
(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.
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.
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
completely uninstall python and follow these installation instructions.
Unless you have really good reason to use 3.5 use latest stable release - 3.8