1) Criando novo ambiente virtual
PS C:\Users\guilh\OneDrive\Área de Trabalho\VENV-OO-SABOR-EXPRESS> python -m venv venv
2) Ativando o ambiente virtual denominado venv
PS C:\Users\guilh\OneDrive\Área de Trabalho\VENV-OO-SABOR-EXPRESS> .\venv\Scripts\activate.ps1
(venv) PS C:\Users\guilh\OneDrive\Área de Trabalho\VENV-OO-SABOR-EXPRESS>
3) Desativando o ambiente virtual denonimado venv
(venv) PS C:\Users\guilh\OneDrive\Área de Trabalho\VENV-OO-SABOR-EXPRESS> deactivate
PS C:\Users\guilh\OneDrive\Área de Trabalho\VENV-OO-SABOR-EXPRESS>
4) Instalando um pacote
PS C:\Users\guilh\OneDrive\Área de Trabalho\VENV-OO-SABOR-EXPRESS> .\venv\Scripts\activate.ps1
(venv) PS C:\Users\guilh\OneDrive\Área de Trabalho\VENV-OO-SABOR-EXPRESS> pip install requests
Collecting requests
Downloading requests-2.32.4-py3-none-any.whl.metadata (4.9 kB)
Collecting charset_normalizer<4,>=2 (from requests)
Downloading charset_normalizer-3.4.2-cp313-cp313-win_amd64.whl.metadata (36 kB)
Collecting idna<4,>=2.5 (from requests)
Using cached idna-3.10-py3-none-any.whl.metadata (10 kB)
Collecting urllib3<3,>=1.21.1 (from requests)
Downloading urllib3-2.5.0-py3-none-any.whl.metadata (6.5 kB)
Collecting certifi>=2017.4.17 (from requests)
Downloading certifi-2025.8.3-py3-none-any.whl.metadata (2.4 kB)
Downloading requests-2.32.4-py3-none-any.whl (64 kB)
Downloading charset_normalizer-3.4.2-cp313-cp313-win_amd64.whl (105 kB)
Using cached idna-3.10-py3-none-any.whl (70 kB)
Downloading urllib3-2.5.0-py3-none-any.whl (129 kB)
Downloading certifi-2025.8.3-py3-none-any.whl (161 kB)
Installing collected packages: urllib3, idna, charset_normalizer, certifi, requests
Successfully installed certifi-2025.8.3 charset_normalizer-3.4.2 idna-3.10 requests-2.32.4 urllib3-2.5.0
[notice] A new release of pip is available: 25.1.1 -> 25.2
[notice] To update, run: python.exe -m pip install --upgrade pip
(venv) PS C:\Users\guilh\OneDrive\Área de Trabalho\VENV-OO-SABOR-EXPRESS> python.exe -m pip install --upgrade pip
Requirement already satisfied: pip in c:\users\guilh\onedrive\área de trabalho\venv-oo-sabor-express\venv\lib\site-packages (25.1.1)
Collecting pip
Downloading pip-25.2-py3-none-any.whl.metadata (4.7 kB)
Downloading pip-25.2-py3-none-any.whl (1.8 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.8/1.8 MB 4.1 MB/s eta 0:00:00
Installing collected packages: pip
Attempting uninstall: pip
Found existing installation: pip 25.1.1
Uninstalling pip-25.1.1:
Successfully uninstalled pip-25.1.1
Successfully installed pip-25.2
5) Listando as dependências do projeto no terminal
(venv) PS C:\Users\guilh\OneDrive\Área de Trabalho\VENV-OO-SABOR-EXPRESS> pip freeze
certifi==2025.8.3
charset-normalizer==3.4.2
idna==3.10
requests==2.32.4
urllib3==2.5.0
6) Listando as dependências do projeto em um arquivo(requirements.txt)
(venv) PS C:\Users\guilh\OneDrive\Área de Trabalho\VENV-OO-SABOR-EXPRESS> pip freeze > requirements.txt