The OS is RHEL 7.7 and Pyton 2.7.
Can you please let me know if it is known issue? I tried to reinstall setuptools and still getting the same error:
easy_install -U ReviewBoard
Searching for ReviewBoard
Reading
https://pypi.python.org/simple/ReviewBoard/Best match: ReviewBoard 3.0.17
Downloading
https://files.pythonhosted.org/packages/5f/61/7fff7e98c795a30cd5324d8d5d83d9a4e27aac2088fc1ecca19a2ee473e4/ReviewBoard-3.0.17-py2.7.egg#sha256=f25a13e3aef048fa29da7f0a04d12ab7eefe7e7b4ba0985adc385d40edc3b3cfProcessing ReviewBoard-3.0.17-py2.7.egg
removing '/usr/lib/python2.7/site-packages/ReviewBoard-3.0.17-py2.7.egg' (and everything under it)
creating /usr/lib/python2.7/site-packages/ReviewBoard-3.0.17-py2.7.egg
Extracting ReviewBoard-3.0.17-py2.7.egg to /usr/lib/python2.7/site-packages
ReviewBoard 3.0.17 is already the active version in easy-install.pth
Installing rbext script to /usr/bin
Installing rbssh script to /usr/bin
Installing rb-site script to /usr/bin
Installed /usr/lib/python2.7/site-packages/ReviewBoard-3.0.17-py2.7.egg
Processing dependencies for ReviewBoard
Searching for Pygments>=2.1
Reading
https://pypi.python.org/simple/Pygments/Best match: Pygments 2.6.1
Downloading
https://files.pythonhosted.org/packages/6e/4d/4d2fe93a35dfba417311a4ff627489a947b01dc0cc377a3673c00cf7e4b2/Pygments-2.6.1.tar.gz#sha256=647344a061c249a3b74e230c739f434d7ea4d8b1d5f3721bc0f3558049b38f44Processing Pygments-2.6.1.tar.gz
Writing /tmp/easy_install-0g5Roa/Pygments-2.6.1/setup.cfg
Running Pygments-2.6.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-0g5Roa/Pygments-2.6.1/egg-dist-tmp-mGIurM
Traceback (most recent call last):
File "/usr/bin/easy_install", line 9, in <module>
load_entry_point('UNKNOWN==0.0.0', 'console_scripts', 'easy_install')()
File "/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 1992, in main
with_ei_usage(lambda:
File "/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 1979, in with_ei_usage
return f()
File "/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 1996, in <lambda>
distclass=DistributionWithoutHelpCommands, **kw
File "/usr/lib64/python2.7/distutils/core.py", line 152, in setup
dist.run_commands()
File "/usr/lib64/python2.7/distutils/dist.py", line 953, in run_commands
self.run_command(cmd)
File "/usr/lib64/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 380, in run
self.easy_install(spec, not self.no_deps)
File "/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 623, in easy_install
return self.install_item(spec, dist.location, tmpdir, deps)
File "/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 655, in install_item
self.process_distribution(spec, dist, deps)
File "/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 706, in process_distribution
[requirement], self.local_index, self.easy_install
File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 618, in resolve
dist = best[req.key] = env.best_match(req, self, installer)
File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 862, in best_match
return self.obtain(req, installer) # try and download/install
File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 874, in obtain
return installer(requirement)
File "/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 623, in easy_install
return self.install_item(spec, dist.location, tmpdir, deps)
File "/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 653, in install_item
dists = self.install_eggs(spec, download, tmpdir)
File "/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 849, in install_eggs
return self.build_and_install(setup_script, setup_base)
File "/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 1130, in build_and_install
self.run_setup(setup_script, setup_base, args)
File "/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 1115, in run_setup
run_setup(setup_script, args)
File "/usr/lib/python2.7/site-packages/setuptools/sandbox.py", line 69, in run_setup
lambda: execfile(
File "/usr/lib/python2.7/site-packages/setuptools/sandbox.py", line 120, in run
return func()
File "/usr/lib/python2.7/site-packages/setuptools/sandbox.py", line 71, in <lambda>
{'__file__':setup_script, '__name__':'__main__'}
File "setup.py", line 38, in <module>
def add_dir_to_list(dirlist, dir):
TypeError: find_packages() got an unexpected keyword argument 'include'