Python developers, take note! Setting up a virtual environment (venv) is an essential step in any Python project. This simple guide will walk you through the process, helping you keep dependencies organized and avoiding conflicts with other projects.
To get started, run the command `python -m venv` in your terminal or command prompt. A new folder named "venv" will be created, containing your virtual environment. From here, you can install packages like boto3, an official AWS SDK for Python.
When you're done, simply deactivate your virtual environment and run `pip list` to see a list of globally installed packages. With venv, you can easily manage dependencies and keep your projects organized. Try it out today!
Source: https://dev.to/vidya_rautela/isolation-made-easy-venvin-python-3207