mirror of
https://github.com/zebrajr/faceswap.git
synced 2025-12-06 00:20:09 +01:00
python version check (#99)
* detect minimum python3.2 * change for when python4.0 is (eventually) released
This commit is contained in:
parent
c529bd4f1c
commit
68ef3b9926
|
|
@ -1,4 +1,10 @@
|
|||
#!/usr/bin/env python3
|
||||
import sys
|
||||
if sys.version_info[0] < 3:
|
||||
raise Exception("This program requires at least python3.2")
|
||||
if sys.version_info[0] == 3 and sys.version_info[1] < 2:
|
||||
raise Exception("This program requires at least python3.2")
|
||||
|
||||
from lib.utils import FullHelpArgumentParser
|
||||
|
||||
from scripts.extract import ExtractTrainingData
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user