Search code examples
pythonpython-3.xdjangovirtualenvvirtual-environment

How to correct virtualenv command output


I am learning to use virtual environments like and I realize that by using the use the virtualenv command:

virtualenv env_dj_cuatro

my virtual environment is created but at the same time it returns the following information at the end of its creation:

diego@computer:~/Documentos/django$ virtualenv env_dj_cuatro
created virtual environment CPython3.7.2.final.0-64 in 694ms
  creator CPython3Posix(dest=/home/diego/Documentos/django/env_dj_cuatro, clear=False, global=False)
  seeder FromAppData(download=False, pip=latest, setuptools=latest, wheel=latest, via=copy, app_data_dir=/home/diego/.local/share/virtualenv/seed-app-data/v1.0.1)
  activators BashActivator,CShellActivator,FishActivator,PowerShellActivator,PythonActivator,XonshActivator
diego@computer:~/Documentos/django$ 

I understand that it is as a result of what has been done but I do not understand why it is shown since when reviewing the guide tutorials like this at no time does this information output occur

How could I do to remove this information output?

Thanks


Solution

  • I read the info in the link

    1. I excuete virtualenv --help

    In the last line it indicates that to configure files they should create the file:

    /home/diego/.config/virtualenv/virtualenv.ini active (the route changes according to the equipment)
    
    1. We enter the file and add the following lines:
    [virtualenv] 
    verbose = 0
    

    We save the changes and when creating new virtual environments the verbosity no longer appears at the end of the command.