I need to install robot framework.
i had installed python 3.7, wxPython and robotframework. Need to install robotframework-ride. While trying pip install robotframework-ride
, getting error pip._internal.exceptions.InstallationError: Command "python setup.py egg_info" failed with error code 1 in C:\Users\mani~1\AppData\Local\Temp\pip-install-ee73re19\robotframework-ride\
.
Attaching details logs for reference.
pip install robotframework-ride
Removed build tracker 'C:\Users\mani~1\AppData\Local\Temp\pip-req-tracker-vdskcs3j' Command "python setup.py egg_info" failed with error code 1 in C:\Users\mani~1\AppData\Local\Temp\pip-install-ee73re19\robotframework-ride\ Exception information:
Traceback (most recent call last):
File "c:\users\mani\appdata\local\programs\python\python37-32\lib\site-packages\pip\_internal\basecommand.py", line 141, in main
status = self.run(options, args)
File "c:\users\mani\appdata\local\programs\python\python37-32\lib\site-packages\pip\_internal\commands\install.py", line 299, in run
resolver.resolve(requirement_set)
File "c:\users\mani\appdata\local\programs\python\python37-32\lib\site-packages\pip\_internal\resolve.py", line 102, in resolve
self._resolve_one(requirement_set, req)
File "c:\users\mani\appdata\local\programs\python\python37-32\lib\site-packages\pip\_internal\resolve.py", line 256, in _resolve_one
abstract_dist = self._get_abstract_dist_for(req_to_install)
File "c:\users\mani\appdata\local\programs\python\python37-32\lib\site-packages\pip\_internal\resolve.py", line 209, in _get_abstract_dist_for
self.require_hashes
File "c:\users\mani\appdata\local\programs\python\python37-32\lib\site-packages\pip\_internal\operations\prepare.py", line 298, in prepare_linked_requirement
abstract_dist.prep_for_dist(finder, self.build_isolation)
File "c:\users\mani\appdata\local\programs\python\python37-32\lib\site-packages\pip\_internal\operations\prepare.py", line 126, in prep_for_dist
self.req.run_egg_info()
File "c:\users\mani\appdata\local\programs\python\python37-32\lib\site-packages\pip\_internal\req\req_install.py", line 636, in run_egg_info
command_desc='python setup.py egg_info')
File "c:\users\mani\appdata\local\programs\python\python37-32\lib\site-packages\pip\_internal\utils\misc.py", line 701, in call_subprocess
% (command_desc, proc.returncode, cwd))
pip._internal.exceptions.InstallationError: Command "python setup.py egg_info" failed with error code 1 in C:\Users\mani~1\AppData\Local\Temp\pip-install-ee73re19\robotframework-ride\
easy_install robotframework-ride
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "c:\users\mani\appdata\local\programs\python\python37-32\lib\runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "c:\users\mani\appdata\local\programs\python\python37-32\lib\runpy.py", line 85, in _run_code
exec(code, run_globals)
File "C:\Users\mani\AppData\Local\Programs\Python\Python37-32\Scripts\easy_install.exe\__main__.py", line 9, in <module>
File "c:\users\mani\appdata\local\programs\python\python37-32\lib\site-packages\setuptools\command\easy_install.py", line 2312, in main
**kw
File "c:\users\mani\appdata\local\programs\python\python37-32\lib\site-packages\setuptools\__init__.py", line 129, in setup
return distutils.core.setup(**attrs)
File "c:\users\mani\appdata\local\programs\python\python37-32\lib\distutils\core.py", line 148, in setup
dist.run_commands()
File "c:\users\mani\appdata\local\programs\python\python37-32\lib\distutils\dist.py", line 966, in run_commands
self.run_command(cmd)
File "c:\users\mani\appdata\local\programs\python\python37-32\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "c:\users\mani\appdata\local\programs\python\python37-32\lib\site-packages\setuptools\command\easy_install.py", line 412, in run
self.easy_install(spec, not self.no_deps)
File "c:\users\mani\appdata\local\programs\python\python37-32\lib\site-packages\setuptools\command\easy_install.py", line 673, in easy_install
return self.install_item(spec, dist.location, tmpdir, deps)
File "c:\users\mani\appdata\local\programs\python\python37-32\lib\site-packages\setuptools\command\easy_install.py", line 699, in install_item
dists = self.install_eggs(spec, download, tmpdir)
File "c:\users\mani\appdata\local\programs\python\python37-32\lib\site-packages\setuptools\command\easy_install.py", line 884, in install_eggs
return self.build_and_install(setup_script, setup_base)
File "c:\users\mani\appdata\local\programs\python\python37-32\lib\site-packages\setuptools\command\easy_install.py", line 1152, in build_and_install
self.run_setup(setup_script, setup_base, args)
File "c:\users\mani\appdata\local\programs\python\python37-32\lib\site-packages\setuptools\command\easy_install.py", line 1138, in run_setup
run_setup(setup_script, args)
File "c:\users\mani\appdata\local\programs\python\python37-32\lib\site-packages\setuptools\sandbox.py", line 253, in run_setup
raise
File "c:\users\mani\appdata\local\programs\python\python37-32\lib\contextlib.py", line 130, in __exit__
self.gen.throw(type, value, traceback)
File "c:\users\mani\appdata\local\programs\python\python37-32\lib\site-packages\setuptools\sandbox.py", line 195, in setup_context
yield
File "c:\users\mani\appdata\local\programs\python\python37-32\lib\contextlib.py", line 130, in __exit__
self.gen.throw(type, value, traceback)
File "c:\users\mani\appdata\local\programs\python\python37-32\lib\site-packages\setuptools\sandbox.py", line 166, in save_modules
saved_exc.resume()
File "c:\users\mani\appdata\local\programs\python\python37-32\lib\site-packages\setuptools\sandbox.py", line 141, in resume
six.reraise(type, exc, self._tb)
File "c:\users\mani\appdata\local\programs\python\python37-32\lib\site-packages\setuptools\_vendor\six.py", line 685, in reraise
raise value.with_traceback(tb)
File "c:\users\mani\appdata\local\programs\python\python37-32\lib\site-packages\setuptools\sandbox.py", line 154, in save_modules
yield saved
File "c:\users\mani\appdata\local\programs\python\python37-32\lib\site-packages\setuptools\sandbox.py", line 195, in setup_context
yield
File "c:\users\mani\appdata\local\programs\python\python37-32\lib\site-packages\setuptools\sandbox.py", line 250, in run_setup
_execfile(setup_script, ns)
File "c:\users\mani\appdata\local\programs\python\python37-32\lib\site-packages\setuptools\sandbox.py", line 45, in _execfile
exec(code, globals, locals)
File "C:\Users\MPULAK~1\AppData\Local\Temp\easy_install-x0z_5joe\robotframework-ride-2.0a1\setup.py", line 20, in <module>
NameError: name 'execfile' is not defined