Difference between revisions of "Quickstart/Virtual Environments"

From HPC
Jump to: navigation , search
(created a new ve page)
 
m (What is a Virtual Environment?)
Line 1: Line 1:
 
==What is a Virtual Environment?==
 
==What is a Virtual Environment?==
 +
 +
A virtual environment is a named, isolated, working copy of Python that maintains its own files, directories, and paths so that you can work with specific versions of libraries or Python itself without affecting other Python projects. Virtual environments make it easy to cleanly separate different projects and avoid problems with different dependencies and version requirements across components.
 +
 +
The conda command is the preferred interface for managing installations and virtual environments with the Anaconda Python distribution.
  
 
==Why should you use a Virtual Environment?==
 
==Why should you use a Virtual Environment?==

Revision as of 09:14, 3 November 2022

What is a Virtual Environment?

A virtual environment is a named, isolated, working copy of Python that maintains its own files, directories, and paths so that you can work with specific versions of libraries or Python itself without affecting other Python projects. Virtual environments make it easy to cleanly separate different projects and avoid problems with different dependencies and version requirements across components.

The conda command is the preferred interface for managing installations and virtual environments with the Anaconda Python distribution.

Why should you use a Virtual Environment?

How to use a Virtual Environment

Back