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


Screen Link:

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

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.


Thank you, I was missing the last “s”

1 Like