0

I have hosted a vs code server to run my python files but when I am doing pip it is showing bash: pip: command not found I wanted to know how can I install modules in the same server Thanks for your help

5

1 Answer 1

0

I came across this while running code-server through coder. Was thrown off by the new environment, but the solution is actually fairly simple.

  • Start by opening up a terminal (F1 > Terminal: Create New Terminal).
  • Type lsb_release -a. If your environment is like mine, you'll see it's a standard Debian. The pitfall here is that its apt sources haven't been updated.
  • Type apt update to update the sources and get the packages.
  • Type apt install python3-pip

Hope this helps!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.