Python installing setuptools, ez_setup.py error -
i trying install setuptools on windows.
documentation says should run ez_setup.py.
did , following output:
extracting in c:\users\ut601039\appdata\local\temp\tmpf6a2mb working in c:\users\ut601039\appdata\local\temp\tmpf6a2mb\setuptools-1.0 installing setuptools went wrong during installation. see error message above. traceback (most recent call last): file "d:\python\setuptools\ez_setup.py", line 357, in <module> sys.exit(main()) systemexit: 2
the error message isn't informative. looking code found:
if not _python_cmd('setup.py', 'install', *install_args): log.warn('something went wrong during installation.') log.warn('see error message above.') # exitcode 2 return 2
i went _python_cmd()
, found:
def _python_cmd(*args): args = (sys.executable,) + args return subprocess.call(args) == 0
i found subprocess.call(args)
returns 1 instead of expected 0.
how trying run & install it? ideally.. run cmd cd extracted folder & run python setup.py install
should install it.. if on 64 bit windows 64bit python need appropriate version can found here: (http://www.lfd.uci.edu/~gohlke/pythonlibs/#setuptools)
Comments
Post a Comment