mirror of
https://github.com/iio612/DEFENDER.git
synced 2026-02-13 11:14:23 +00:00
V5.3.7
This commit is contained in:
@@ -172,7 +172,7 @@ class Install:
|
||||
required_version = package.version
|
||||
installed_version = None
|
||||
|
||||
output = check_output(['pip', 'show', package.name])
|
||||
output = check_output([self.config.venv_pip_executable, 'show', package.name])
|
||||
for line in output.decode().splitlines():
|
||||
if line.startswith('Version:'):
|
||||
installed_version = line.split(':')[1].strip()
|
||||
|
||||
Reference in New Issue
Block a user