python_setup
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| python_setup [2026/04/29 01:11] – created admin | python_setup [2026/04/29 01:32] (current) – admin | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | To set up Python environment. | + | **To set up Python environment. |
| Make sure it is installed. | Make sure it is installed. | ||
| + | ** | ||
| + | **Arch:** < | ||
| + | **Deb/ | ||
| - | Arch: sudo pacman -S python python-pip | + | **Navigate to the folder you want to build the env in a terminal.** |
| - | Deb/Ubuntu: sudo apt install python python-pip | + | |
| + | **Run this command:** < | ||
| + | |||
| + | **Activate the .venv.** < | ||
| + | |||
| + | **You can now install libraries inside the .venv without affecting the rest of the system.** | ||
| + | |||
| + | **Example: | ||
| + | |||
| + | **To deactivate: | ||
python_setup.1777425088.txt.gz · Last modified: by admin
