A developer uses a 'virtual environment' when working on Python projects. What problem does this primarily solve?
-
A
Running Python in a web browser
-
B
Isolating project-specific package versions to avoid dependency conflicts
-
C
Securing code from unauthorized access
-
D
Compiling Python into machine code