I am trying to install Setupools
for python
using Windows PowerShell
.
https://www.youtube.com/watch?v=Es_kdnPUgDg
Based on the above mentioned YouTube, I am proceeding with the procedure of the video, but it didn't go well.
PSC:\>pythones_setup.py
Extracting inc:\users\somasoma\appdata\local\temp\tmpqfz8v7
Now working inc:\users\somasoma\appdata\local\temp\tmpqfz8v7\setuptools-18.0.1
Installing Setupools
Traceback (most recent call last):
File "ez_setup.py", line 391, in<module>
sys.exit(main())
File "ez_setup.py", line 388, in main
return_install(archive,_build_install_args(options))
File "ez_setup.py", line 53, in_install
if not_python_cmd('setup.py', 'install', *install_args):
File "ez_setup.py", line 45, in_python_cmd
return subprocess.call(args) == 0
File "C:\Python27\Lib\subprocess.py", line 524,incall
return Popen(*popenargs,**kwargs).wait()
File "C:\Python27\Lib\subprocess.py", line711, in__init__
errread, errwrite)
File "C:\Python27\Lib\subprocess.py", line 948, in_execute_child
startupinfo)
WindowsError: Error 2 The system cannot find the file specified
PSC:\>
It turned out thatThe system is unable to locate the file.If you know how to solve this problem, please let me know.
python powershell setuptools
Apparently, an error occurred because the Python executable stored in the sys.executable
variable specified in line 44 of ez_setup.py could not be found.
What values do I see when I do the following?
python-c "import sys; print sys.executable"
The expected value is 'C:\Python27\python.exe'
, but if not, that's probably the reason. You need to investigate whether Python installation itself was a bad procedure.
574 Who developed the "avformat-59.dll" that comes with FFmpeg?
915 When building Fast API+Uvicorn environment with PyInstaller, console=False results in an error
572 rails db:create error: Could not find mysql2-0.5.4 in any of the sources
612 GDB gets version error when attempting to debug with the Presense SDK (IDE)
© 2024 OneMinuteCode. All rights reserved.