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

1 Answers1

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!