Command Line Python Scripting - "pip install" with permission issue

,

Screen Link:
https://app.dataquest.io/m/97/command-line-python-scripting/3/installing-packages-that-extend-python

My Code:

pip install request

What I expected to happen:
Install the module request in the VM.

What actually happened:

PermissionError: [Errno 13] Permission denied: '/dataquest/system/env/python3/li
b/python3.4/site-packages/public-2019.4.13.dist-info'

I can’t have a “pass” for this screen due to this error and I can’t sudo this command.

Are you sure you are entering the correct command?

The command required as per the instructions is -

pip install requests

Note the s at the end of requests. I just tried the correct command, and it worked.

2 Likes

Thank you, I was missing the last “s”

1 Like