Skip to content
This repository has been archived by the owner on Aug 31, 2021. It is now read-only.

Commit

Permalink
Adding current version print to version guard in __init__
Browse files Browse the repository at this point in the history
  • Loading branch information
ilblackdragon committed Mar 8, 2016
1 parent 21cf932 commit 3fc885f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions skflow/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@
[pkg_rs.get_distribution(pkg).version for pkg in ['skflow', 'scikit-learn', 'tensorflow']]

if SKLEARN_VERSION < '0.16.0':
raise ImportError("Your scikit-learn version needs to be at least 0.16. ")
raise ImportError("Your scikit-learn version needs to be at least 0.16. "
"Your current version is %s. " % SKLEARN_VERSION)
if TF_VERSION < '0.7.0':
raise ImportError("Your tensorflow version needs to be at least 0.7. ")
raise ImportError("Your tensorflow version needs to be at least 0.7. "
"Your current version is %s. " % TF_VERSION)

0 comments on commit 3fc885f

Please sign in to comment.