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
Checking the actual folder highlighted in the error message:
/mnt/STUFF/py36/lib/python3.6/site-packages/~ornado
I found that there was another one of those .fuse-hidden...
files sitting there which is typically while I'm using Geany (text editor) in my folders during its runtime, which then disappear after I've saved by files and I refresh my folder. Somehow such a file got created here as well and never got removed. Note that this might be my OS's fault and not Geany's - IDK. Anyways I removed the file myself and ran the upgrade command and no errors this time.