Skip to content

Commit

Permalink
Actually added the check for Pyhton 3.5
Browse files Browse the repository at this point in the history
  • Loading branch information
hmaarrfk committed Jun 8, 2018
1 parent 8e1d739 commit 0c9b649
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions skimage/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,14 +87,15 @@
with your version of Python.
""")

if sys.version_info < (3,):
if sys.version_info < (3, 5):
raise ImportError("""
You are running scikit-image on Python 2.
You are running scikit-image on an unsupported version of Python.
Likely Python 2.
Unfortunately, scikit-image 0.15 and above no longer work on this
version of Python. You therefore have two options: either upgrade to
Python 3, or install an older version of scikit-image using
Python 3.5, or install an older version of scikit-image. For Python 2.7, use
$ pip install 'scikit-image<0.15'
Expand Down

0 comments on commit 0c9b649

Please sign in to comment.