ideansa.blogg.se

Yum install python 3.7
Yum install python 3.7










This means that if you create new programs in this environment, they will only utilize the settings and packages specific to this environment.īy now, the Python virtual environment is set and ready to use. $ (my_project_venv) prefix indicates that the Python virtual environment my_project_venv is currently active. Once the virtual environment is activated, your shell prompt should be prefixed with the title of the virtual environment. Now, run the command below from within the new Project root to fashion a new environment called my_project_venv: $ python -m venv my_project_venvĮxecute the command below to enable the new virtual environment: $source my_project_venv/bin/activate Next, run the command below to enable Python: $ scl enable rh-python36 bash It ensures that every project has its own dependencies and that it will not interfere with other projects.įirst, fashion a new project directory, then switch to the directory: $ mkdir ~/my_new_project

yum install python 3.7

The environment offers unprecedented control over your system for Python projects. The Python virtual environment permits you to configure Python packages in a secure location.












Yum install python 3.7