I am trying to install a package in Python but I ended up with “Defaulting to user installation because normal site-packages is not writeable” error. I don’t know what’s wrong but finally I found the solution.
In this article, I am going to share the solution I found to help other developers. Okay, let’s move on to the article.
How to Fix Defaulting to user installation because normal site-packages is not writeable Error?
The error itself tells that it can’t add/update files to the Python location. To fix this error just uninstall and reinstall Python.
If this method doesn’t work then try the second solution. You can uninstall Python via control panel.
Due to some permission error on your operating for the specific Python location this error may occur. Just uninstall the Python and reinstall Python in different location.
On the Python setup wizard, you can change the installation location easily. Don’t forget to choose “Add to Path” option.
Try to update the Python to the latest version. Sometimes, “Defaulting to user installation because normal site-packages is not writeable” error may occur due to old Python version.
I hope this article helps you to fix the error in Python. Still, If you’re having doubts please let us know via the comment section. We will help you. Share this article with other Python developers to help them.