If you run venv install -r somefile.txt but somefile.txt does not exist then the environment is first cleared and then pip gives an error (see attachment). It could be a nice feature to first check if the file exists before clearing the environment. The same problem occurs if you try to install a package that is not known to pip.
Of course it is bad practice to try to install something that does not exist and in most cases you are able to recreate the environment which was cleared, but it would be nice to not lose the entire environment due to a spelling mistake for instance ;)

If you run
venv install -r somefile.txtbutsomefile.txtdoes not exist then the environment is first cleared and thenpipgives an error (see attachment). It could be a nice feature to first check if the file exists before clearing the environment. The same problem occurs if you try to install a package that is not known topip.Of course it is bad practice to try to install something that does not exist and in most cases you are able to recreate the environment which was cleared, but it would be nice to not lose the entire environment due to a spelling mistake for instance ;)