Skip to content

Commit 4d8e845

Browse files
authored
3.4.5 - linux install
1 parent 4accad9 commit 4d8e845

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/setup_linux.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@
44
if sys.version_info.major != 3 or sys.version_info.minor not in [10, 11]:
55
print("Only Python 3.10 or 3.11 are supported.")
66
sys.exit(1)
7-
7+
8+
subprocess.run(['python', '-m', 'pip', 'install', '--upgrade', 'pip'], stdout=subprocess.PIPE, stderr=subprocess.PIPE)
9+
810
def is_package_installed(package_name):
911
result = subprocess.run(['dpkg', '-l', package_name], stdout=subprocess.PIPE, stderr=subprocess.PIPE)
1012
return result.returncode == 0

0 commit comments

Comments
 (0)