Esrally error executing./esrally configure command

Please give advice or comments,thanks

[root@xm-ls001 bin]# ./esrally configure
Traceback (most recent call last):
File "./esrally", line 7, in
from esrally.rally import main
File "/usr/local/python3.7/lib/python3.7/site-packages/esrally/", line 24, in
version = pkg_resources.require("esrally")[0].version
File "/usr/local/python3.7/lib/python3.7/site-packages/pkg_resources/", line 892, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/local/python3.7/lib/python3.7/site-packages/pkg_resources/", line 783, in resolve
raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.ContextualVersionConflict: (urllib3 1.26.5 (/usr/local/python3.7/lib/python3.7/site-packages), Requirement.parse('urllib3<1.26,>=1.20; python_version >= "3.4"'), {'botocore'})


Thanks for using Rally :slight_smile:
I personally recommend using a virtual environment to install rally so that the dependencies it comes with don't conflict with anything else you may have: Installation — Rally 2.2.0 documentation

Also, note that the configure sub-command has been removed in Rally 2.0.3, and you should be composing rally.ini per the documentation here if you are using a recent version.

Hope that helps,
Rick B

Thank you, I tried to install with virtual environment, but not yet

WARNING: Discarding (from Links for py-cpuinfo). Command errored out with exit status 1: python egg_info Check the logs for full command output.
Using cached py-cpuinfo-0.2.3.tar.gz (21 kB)
ERROR: Command errored out with exit status 1:
command: /usr/local/python3/bin/.venv/bin/python3 -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-j3he_33o/py-cpuinfo_fc566acfdb9e456c920e204678318938/'"'"'; file='"'"'/tmp/pip-install-j3he_33o/py-cpuinfo_fc566acfdb9e456c920e204678318938/'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code ='"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-ig2856p3
cwd: /tmp/pip-install-j3he_33o/py-cpuinfo_fc566acfdb9e456c920e204678318938/
Complete output (11 lines):
Traceback (most recent call last):
File "", line 1, in
File "/usr/local/python3/bin/.venv/lib/python3.8/site-packages/setuptools/", line 20, in
from setuptools.dist import Distribution, Feature
File "/usr/local/python3/bin/.venv/lib/python3.8/site-packages/setuptools/", line 35, in
from setuptools import windows_support
File "/usr/local/python3/bin/.venv/lib/python3.8/site-packages/setuptools/", line 2, in
import ctypes
File "/usr/local/python3/lib/python3.8/ctypes/", line 7, in
from _ctypes import Union, Structure, Array
ModuleNotFoundError: No module named '_ctypes'
WARNING: Discarding (from Links for py-cpuinfo). Command errored out with exit status 1: python egg_info Check the logs for full command output.
ERROR: Cannot install esrally==0.10.0, esrally==0.10.1, esrally==0.11.0, esrally==0.2.0, esrally==0.2.1, esrally==0.3.0, esrally==0.3.1, esrally==0.3.2, esrally==0.3.3, esrally==0.4.0, esrally==0.4.1, esrally==0.4.2, esrally==0.4.3, esrally==0.4.4, esrally==0.4.5, esrally==0.4.6, esrally==0.4.7, esrally==0.4.8, esrally==0.5.0, esrally==0.5.1, esrally==0.5.2, esrally==0.5.3, esrally==0.6.0, esrally==0.6.1, esrally==0.6.2, esrally==0.7.0, esrally==0.7.1, esrally==0.7.2, esrally==0.7.3, esrally==0.7.4, esrally==0.8.0, esrally==0.8.1, esrally==0.9.0, esrally==0.9.1, esrally==0.9.2, esrally==0.9.3, esrally==0.9.4, esrally==1.0.0, esrally==1.0.1, esrally==1.0.2, esrally==1.0.3, esrally==1.0.4, esrally==1.1.0, esrally==1.2.1, esrally==1.3.0, esrally==1.4.0, esrally==1.4.1, esrally==2.0.0, esrally==2.0.1, esrally==2.0.2, esrally==2.0.3, esrally==2.0.4, esrally==2.1.0 and esrally==2.2.0 because these package versions have conflicting dependencies.

To fix this you could try to:

  1. loosen the range of package versions you've specified
  2. remove package versions to allow pip attempt to solve the dependency conflict

ERROR: ResolutionImpossible: for help visit User Guide - pip documentation v21.2.dev0

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.