equery u cronie
Traceback (most recent call last):
File "/usr/lib/python-exec/python3.9/equery", line 38, in <module>
equery.main(sys.argv)
File "/usr/lib/python3.9/site-packages/gentoolkit/equery/__init__.py", line 356, in main
loaded_module.main(module_args)
File "/usr/lib/python3.9/site-packages/gentoolkit/equery/uses.py", line 306, in main
output = get_output_descriptions(pkg, global_usedesc)
File "/usr/lib/python3.9/site-packages/gentoolkit/equery/uses.py", line 186, in get_output_descriptions
local_usedesc = pkg.metadata.use()
File "/usr/lib/python3.9/site-packages/gentoolkit/metadata.py", line 286, in use
for node in self._xml_tree.getiterator('flag'):
AttributeError: 'ElementTree' object has no attribute 'getiterator'
The problem is that gentoolkit does not work with python 3.9
Question
ainsley31415926
Asked this before but dont see any fix
equery u cronie
Traceback (most recent call last):
File "/usr/lib/python-exec/python3.9/equery", line 38, in <module>
equery.main(sys.argv)
File "/usr/lib/python3.9/site-packages/gentoolkit/equery/__init__.py", line 356, in main
loaded_module.main(module_args)
File "/usr/lib/python3.9/site-packages/gentoolkit/equery/uses.py", line 306, in main
output = get_output_descriptions(pkg, global_usedesc)
File "/usr/lib/python3.9/site-packages/gentoolkit/equery/uses.py", line 186, in get_output_descriptions
local_usedesc = pkg.metadata.use()
File "/usr/lib/python3.9/site-packages/gentoolkit/metadata.py", line 286, in use
for node in self._xml_tree.getiterator('flag'):
AttributeError: 'ElementTree' object has no attribute 'getiterator'
The problem is that gentoolkit does not work with python 3.9
I cant downgrade to 3.7 as everything goes wrong
Surely someone else has this problem?
Link to comment
Share on other sites
1 answer to this question
Recommended Posts