Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

2
  • Hello, this is a pretty common error in the usage of pip, I guess. Use the suggested --user to install the package in your home directory or use a virtualenv. Commented Feb 25, 2020 at 12:13
  • If you are already using an virtual env on ubuntu and if you get this error,then navigate to your virtual env folder.If you see a lock symbol Then you don't have the appropriate permission as a user to pip install inside this.Hence change the permission of the venv folder using this command: sudo chown -R $USER path/to/venv Now switch to the venv and install your package. Commented Sep 6, 2021 at 13:12