pip install robotframework
pip install --upgrade robotframework-seleniumlibrary
pip install webdrivermanager
-- note : both in c: or in virtual environment
× Getting requirements to build wheel did not run successfully.
exit code: 1
╰─> [31 lines of output]
C:\Users\Sathish Althus\AppData\Local\Temp\pip-install-iepgg5o1\webdrivermanager_8109961131654d29879155c324efd338\versioneer.py:421: SyntaxWarning: invalid escape sequence '\s'
LONG_VERSION_PY['git'] = '''
Traceback (most recent call last):
File "d:\workspaces\python\tutorial-env\Lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 353, in
main()
File "d:\workspaces\python\tutorial-env\Lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "d:\workspaces\python\tutorial-env\Lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 118, in get_requires_for_build_wheel
return hook(configsettings)
^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Sathish Althus\AppData\Local\Temp\pip-build-env-7aw67l2\overlay\Lib\site-packages\setuptools\build_meta.py", line 325, in get_requires_for_build_wheel
return self._get_build_requires(configsettings, requirements=['wheel'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Sathish Althus\AppData\Local\Temp\pip-build-env-7aw67l2\overlay\Lib\site-packages\setuptools\build_meta.py", line 295, in _get_build_requires
self.runsetup()
File "C:\Users\Sathish Althus\AppData\Local\Temp\pip-build-env-7aw67l2\overlay\Lib\site-packages\setuptools\build_meta.py", line 480, in run_setup
super(_BuildMetaLegacyBackend, self).run_setup(setup_script=setupscript)
File "C:\Users\Sathish Althus\AppData\Local\Temp\pip-build-env-7aw67l2\overlay\Lib\site-packages\setuptools\build_meta.py", line 311, in run_setup
exec(code, locals())
File "", line 47, in
File "C:\Users\Sathish Althus\AppData\Local\Temp\pip-install-iepgg5o1\webdrivermanager_8109961131654d29879155c324efd338\versioneer.py", line 1480, in get_version
return get_versions()["version"]
^^^^^^^^^^^^^^
File "C:\Users\Sathish Althus\AppData\Local\Temp\pip-install-iepgg5o1\webdrivermanager_8109961131654d29879155c324efd338\versioneer.py", line 1412, in get_versions
cfg = get_config_from_root(root)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Sathish Althus\AppData\Local\Temp\pip-install-iepgg5o1\webdrivermanager_8109961131654d29879155c324efd338\versioneer.py", line 342, in get_config_from_root
parser = configparser.SafeConfigParser()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'configparser' has no attribute 'SafeConfigParser'. Did you mean: 'RawConfigParser'?
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
Since Selenium (the python side) now has selenium-manager baked into its python distribution - webdrivermanager is somewhat obsolete. It provides the same functionality as webdrivermanager but at runtime if underlying Selenium is new enough.
Prerequisites
For issues
Steps to reproduce the issue
pip install robotframework pip install --upgrade robotframework-seleniumlibrary pip install webdrivermanager -- note : both in c: or in virtual environment
Error messages and additional information
Collecting webdrivermanager Using cached webdrivermanager-0.10.0.tar.gz (33 kB) Installing build dependencies ... done Getting requirements to build wheel ... error error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully. exit code: 1 ╰─> [31 lines of output] C:\Users\Sathish Althus\AppData\Local\Temp\pip-install-iepgg5o1\webdrivermanager_8109961131654d29879155c324efd338\versioneer.py:421: SyntaxWarning: invalid escape sequence '\s' LONG_VERSION_PY['git'] = ''' Traceback (most recent call last): File "d:\workspaces\python\tutorial-env\Lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 353, in
main()
File "d:\workspaces\python\tutorial-env\Lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "d:\workspaces\python\tutorial-env\Lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 118, in get_requires_for_build_wheel
return hook(configsettings)
^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Sathish Althus\AppData\Local\Temp\pip-build-env-7aw67l2\overlay\Lib\site-packages\setuptools\build_meta.py", line 325, in get_requires_for_build_wheel
return self._get_build_requires(configsettings, requirements=['wheel'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Sathish Althus\AppData\Local\Temp\pip-build-env-7aw67l2\overlay\Lib\site-packages\setuptools\build_meta.py", line 295, in _get_build_requires
self.runsetup()
File "C:\Users\Sathish Althus\AppData\Local\Temp\pip-build-env-7aw67l2\overlay\Lib\site-packages\setuptools\build_meta.py", line 480, in run_setup
super(_BuildMetaLegacyBackend, self).run_setup(setup_script=setupscript)
File "C:\Users\Sathish Althus\AppData\Local\Temp\pip-build-env-7aw67l2\overlay\Lib\site-packages\setuptools\build_meta.py", line 311, in run_setup
exec(code, locals())
File "", line 47, in
File "C:\Users\Sathish Althus\AppData\Local\Temp\pip-install-iepgg5o1\webdrivermanager_8109961131654d29879155c324efd338\versioneer.py", line 1480, in get_version
return get_versions()["version"]
^^^^^^^^^^^^^^
File "C:\Users\Sathish Althus\AppData\Local\Temp\pip-install-iepgg5o1\webdrivermanager_8109961131654d29879155c324efd338\versioneer.py", line 1412, in get_versions
cfg = get_config_from_root(root)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Sathish Althus\AppData\Local\Temp\pip-install-iepgg5o1\webdrivermanager_8109961131654d29879155c324efd338\versioneer.py", line 342, in get_config_from_root
parser = configparser.SafeConfigParser()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'configparser' has no attribute 'SafeConfigParser'. Did you mean: 'RawConfigParser'?
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully. │ exit code: 1 ╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
Expected behavior and actual behavior
webdriver installed successfully
Environment
Operating System: Windows 11 Libraries