Tags: vencv*

0 bookmark(s) - Sort by: Date ↓ / Title /

  1. Learn how to manage virtual environments in Python to avoid dependency conflicts and ensure smooth project management.

    | Command | Description | Example |
    |-------------------------------------|-|-------------------------------------------|
    | `python -m venv ` | Creates a virtual environment. | `python -m venv venv` |
    | `source venv/bin/activate` | Activates the virtual environment. | `source venv/bin/activate` |
    | `deactivate` | Deactivates the virtual environment. | `deactivate` |
    | `pip install ` | Installs a library. | `pip install pandas` |
    | `pip install ==` | Installs a specific version of a library. | `pip install pandas==2.1.4` |
    | `pip show ` | Shows information about an installed library. | `pip show pandas` |
    | `pip uninstall ` | Uninstalls a library. | `pip uninstall pandas` |
    | `pip freeze` | Lists all installed libraries and their versions. | `pip freeze` |
    | `pip freeze > requirements.txt` | Saves the list of installed libraries to a requirements.txt file. | `pip freeze > requirements.txt` |
    | `pip install -r requirements.txt` | Installs all libraries listed in a requirements.txt file. | `pip install -r requirements.txt` |
    2025-03-08 Tags: , , by klotz

Top of the page

First / Previous / Next / Last / Page 1 of 0 SemanticScuttle - klotz.me: tagged with "vencv"

About - Propulsed by SemanticScuttle