Posting both Q & A here as there wasn\'t a post on SO for this kind of error yet, and other links on web-search led to unresolved gihub issues. Here is me just updating a pa
Had a similar problem where creating a built distribution archive of my own python package using wheel (python setup.py bdist_wheel
) resulted in the same error message. Problem was resolved once I closed all open files of the package I wanted to generate a built distribution from (i.e. I closed my text-editor).
As it is the same error and similar solution but occurring at a very different situation, I created its own stack-overflow question here