--- a/src/pulp/solvers.py
+++ b/src/pulp/solvers.py
@@ -33,7 +33,10 @@ the current version
 import os
 import subprocess
 import sys
-from time import clock
+try:
+    from time import clock
+except ImportError:
+    from time import perf_counter as clock
 try:
     import configparser
 except ImportError:
