soparla n00b
Joined: 21 Aug 2018 Posts: 72 Location: Florida
|
Posted: Fri Nov 01, 2019 3:46 am Post subject: [SOLVED] dev-python/astor-0.7.1 fails no attribute 'split' |
|
|
New to Python and been trying to figure out why astor is failing to emerge for me with build log:
Code: |
cat /var/tmp/portage/dev-python/astor-0.7.1/temp/build.log
* Package: dev-python/astor-0.7.1
* Repository: gentoo
* Maintainer: python@gentoo.org
* USE: abi_x86_64 amd64 elibc_glibc kernel_linux python_targets_python2_7 python_targets_python3_6 userland_GNU
* FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
>>> Unpacking astor-0.7.1.tar.gz to /var/tmp/portage/dev-python/astor-0.7.1/work
>>> Source unpacked in /var/tmp/portage/dev-python/astor-0.7.1/work
>>> Preparing source in /var/tmp/portage/dev-python/astor-0.7.1/work/astor-0.7.1 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-python/astor-0.7.1/work/astor-0.7.1 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-python/astor-0.7.1/work/astor-0.7.1 ...
* python2_7: running distutils-r1_run_phase distutils-r1_python_compile
python2.7 setup.py build
Traceback (most recent call last):
File "setup.py", line 17, in <module>
setup(**config['options'])
File "/usr/lib64/python2.7/site-packages/setuptools/__init__.py", line 145, in setup
return distutils.core.setup(**attrs)
File "/usr/lib64/python2.7/distutils/core.py", line 111, in setup
_setup_distribution = dist = klass(attrs)
File "/usr/lib64/python2.7/site-packages/setuptools/dist.py", line 447, in __init__
k: v for k, v in attrs.items()
File "/usr/lib64/python2.7/distutils/dist.py", line 287, in __init__
self.finalize_options()
File "/usr/lib64/python2.7/site-packages/setuptools/dist.py", line 735, in finalize_options
ep.load()(self, ep.name, value)
File "/usr/lib64/python2.7/site-packages/setuptools/dist.py", line 291, in check_specifier
packaging.specifiers.SpecifierSet(value)
File "/usr/lib64/python2.7/site-packages/setuptools/_vendor/packaging/specifiers.py", line 594, in __init__
specifiers = [s.strip() for s in specifiers.split(",") if s.strip()]
AttributeError: 'SpecifierSet' object has no attribute 'split'
* ERROR: dev-python/astor-0.7.1::gentoo failed (compile phase):
* (no error message)
*
* Call stack:
* ebuild.sh, line 125: Called src_compile
* environment, line 2621: Called distutils-r1_src_compile
* environment, line 810: Called _distutils-r1_run_foreach_impl 'distutils-r1_python_compile'
* environment, line 323: Called python_foreach_impl 'distutils-r1_run_phase' 'distutils-r1_python_compile'
* environment, line 2165: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile'
* environment, line 1525: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile'
* environment, line 1523: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'distutils-r1_python_compile'
* environment, line 526: Called distutils-r1_run_phase 'distutils-r1_python_compile'
* environment, line 801: Called distutils-r1_python_compile
* environment, line 669: Called esetup.py 'build'
* environment, line 1069: Called die
* The specific snippet of code:
* "${@}" || die "${die_args[@]}";
|
dev-python/setuptools-41.5.0
Help is more than appreciated.
Last edited by soparla on Tue Dec 03, 2019 4:49 am; edited 4 times in total |
|