How Do You Troubleshoot “/bin/python3.6: bad interpreter: No such file or directory”?

Problem scenario
You are trying to run a pip command. But you get "/bin/python3.7: bad interpreter: Permission denied". What should you do about these "bad interpreter" errors in response to having run pip commands?

Use "sudo" before the pip command. It should allow you to run the pip command. You may need to be a different user or obtain sudoer rights. If you need assistance with obtaining sudoer rights, see this posting.

Leave a comment

Your email address will not be published. Required fields are marked *