#๐ what's the recommended way to download pip for python
35 messages ยท Page 1 of 1 (latest)
@orchid verge
Remember to:
- Ask your Python question, not if you can ask or if there's an expert who can help.
- Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
- Explain what you expect to happen and what actually happens.
:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.
when you install python , it already comes with pip , you dont need to install pip seperately
as for the command giving you errors , try the command with py -m before it
so run py -m pip install pandas
py is the recommended way on windows
i see
is there anything else i need to take note when downloading packages
i'm new to python so i'm not sure where to check when i download my packages
dont download random packages someone tells you to download
but for the most part you should be fine , any well known package is fine to be downloaded
it's best to use virtual environments
how do i use them?
i get a notification from python when i try to pip install
vscoe*
VsCode*
there is gui options for creating a venv in vscode but I find it easier to use use a terminal and run
py -m venv venv
```and then activate the environment (which is done differently on windows then other platforms
why is there 2 venv's?
One is the name for your virtual environment
the first is to run the module, the second is the directory name
py -m venv venv_name
i see
in venv_name you can write what name you prefer
it's just normal to call the directory either .venv or venv
bye
This help channel has been closed. Feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.