Skip to content

tymzar/wut-earin-laboratory

Repository files navigation

README

Virtual Environment (venv)

A virtual environment is a tool that helps to keep dependencies required by different projects separate by creating isolated Python environments for them. This is one of the most important tools that most Python developers use.

Why Use venv?

  • Different applications can then use different versions of the same module without causing conflicts.
  • It's easier to manage Python packages with venv.

How to Use venv?

  1. Install the virtual environment via pip:
pip install virtualenv
  1. Navigate to your project directory and create a virtual environment:
cd my_project
virtualenv venv
  1. Activate the virtual environment:

On Windows, run:

venv\Scripts\activate

On Unix or MacOS, run:

source venv/bin/activate
  1. Install the required packages for your project:
pip install -r requirements.txt

Requirements

The script requires Python 3.10 or later and the Python packages listed in requirements.txt. You can install the required packages using the following command:

pip install -r requirements.txt

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published