DataSpell
 
Get DataSpell

Configure a virtualenv environment

Last modified: 13 November 2024

DataSpell makes it possible to use the virtualenv tool to create a project-specific isolated virtual environment. The main purpose of virtual environments is to manage settings and dependencies of a particular project regardless of other Python projects. virtualenv tool comes bundled with DataSpell, so the user doesn't need to install it.

You can create as many virtual environments as required. To easily tell them from each other, use different names.

This approach is particularly helpful when you want to upgrade a version of Python your environment is based on, for example, from 3.5 to 3.9. You can specify a new base interpreter and use requirements.txt to ensure all the needed packages are installed.