[Solved] Defaulting to user installation because normal site-packages is not writeable

You are currently viewing [Solved] Defaulting to user installation because normal site-packages is not writeable

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?

Solution 1:

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.

Solution 2:

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.

Solution 3:

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.

Conclusion

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.

Ranjith

Hi, I'm Manoj a full-time Blogger, YouTuber, Affiliate Marketer, & founder of Coding Diksha. Here, I post about programming to help developers.

Leave a Reply