Created attachment 518510 [details] emerge info I have tried multiple times to build twisted with different python3 version, all failed due to a post install step.
Created attachment 518512 [details] emerge output
Sorry, I should have seen this error long ago... Regenerating cache for twisted.plugins ... Cache update failed: [Errno 20] Not a directory: '/usr/lib64/python3.5/site-packages/colorama-0.3.9-py3.5.egg/twisted/plugins/dropin.cache' * ERROR: dev-python/twisted-17.1.0-r2::gentoo failed (postinst phase): This step rebuilds the twisted plugin cache for your install. In this case this indicates a problem with a plugin that imports clorama which installed the twisted plugin that is failing. Perhaps it is an orphaned entry. I installed colorama-0.3.9 and re-installed twisted without error. The installed files list for colorama does not indicate any interaction with twisted. And twisted has no direct use of colorama. You may need to do a reverse dependency search to find the pkg that installed the twisted plugin depending on colorama.