On Fri, 18 Dec 2020, Joseph L. Casale wrote:
I just ran into this recently, I don't recall the actual source but it was
the version of setuptools having been so old. Your version is from Jun 3,
2016...
Update it, that was what worked for me.
jlc,
Upgraded to python-setuptools-51.0.0-x86_64. Now when I try building
python3-babel it fails at this point:
running import_cldr
Extracting CLDR to '/tmp/SBo/babel-2.8.1/cldr/cldr-core-36'
Traceback (most recent call last):
File "/tmp/SBo/babel-2.8.1/scripts/import_cldr.py", line 34, in <module>
from babel import dates, numbers
File "/tmp/SBo/babel-2.8.1/babel/dates.py", line 23, in <module>
import pytz as _pytz
ModuleNotFoundError: No module named 'pytz'
## N.B.: pytz is installed here: pytz-2018.3-x86_64-1_SBo
## Could this also be too old? There's a pytz-2020.4 on PyPI
Traceback (most recent call last):
File "/tmp/SBo/babel-2.8.1/scripts/download_import_cldr.py", line 104, in
<module>
main()
File "/tmp/SBo/babel-2.8.1/scripts/download_import_cldr.py", line 97, in main
subprocess.check_call([
File "/usr/lib64/python3.9/subprocess.py", line 373, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/usr/bin/python3',
'/tmp/SBo/babel-2.8.1/scripts/import_cldr.py',
'/tmp/SBo/babel-2.8.1/cldr/cldr-core-36/common']' returned non-zero exit status
1.
Traceback (most recent call last):
File "/tmp/SBo/babel-2.8.1/setup.py", line 30, in <module>
setup(
File "/usr/lib/python3.9/site-packages/setuptools/__init__.py", line 153, in
setup
return distutils.core.setup(**attrs)
File "/usr/lib64/python3.9/distutils/core.py", line 148, in setup
dist.run_commands()
File "/usr/lib64/python3.9/distutils/dist.py", line 966, in run_commands
self.run_command(cmd)
File "/usr/lib64/python3.9/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/tmp/SBo/babel-2.8.1/setup.py", line 27, in run
subprocess.check_call([sys.executable, 'scripts/download_import_cldr.py'])
File "/usr/lib64/python3.9/subprocess.py", line 373, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/usr/bin/python3',
'scripts/download_import_cldr.py']' returned non-zero exit status 1.
Regards,
Rich
--
https://mail.python.org/mailman/listinfo/python-list