MrGiovanni / UNetPlusPlus

[IEEE TMI] Official Implementation for UNet++
Other
2.26k stars 538 forks source link

[ISSUE SOLUTION] Tensorflow 1.4.1 not compatible with python=3.7 #57

Closed LAUBENicolas closed 3 years ago

LAUBENicolas commented 3 years ago

Hello,

I had an issue during the installation of tensorflow 1.4.1 with python 3.7. The console threw me this error:

ERROR: Could not find a version that satisfies the requirement tensorflow==1.4.0 (from versions: 1.13.0rc1, 1.13.0rc2, 1.13.1, 1.13.2, 1.14.0rc0, 1.14.0rc1, 1.14.0, 1.15.0rc0, 1.15.0rc1, 1.15.0rc2, 1.15.0rc3, 1.15.0, 1.15.2, 1.15.3, 1.15.4, 2.0.0a0, 2.0.0b0, 2.0.0b1, 2.0.0rc0, 2.0.0rc1, 2.0.0rc2, 2.0.0, 2.0.1, 2.0.2, 2.0.3, 2.1.0rc0, 2.1.0rc1, 2.1.0rc2, 2.1.0, 2.1.1, 2.1.2, 2.2.0rc0, 2.2.0rc1, 2.2.0rc2, 2.2.0rc3, 2.2.0rc4, 2.2.0, 2.2.1, 2.3.0rc0, 2.3.0rc1, 2.3.0rc2, 2.3.0, 2.3.1)
ERROR: No matching distribution found for tensorflow==1.4.0

I managed to fix this issue thanks to this post: https://github.com/tensorflow/tensorflow/issues/20444. So it seemed that only python 3.4, 3.5 and 3.6 have a wheel for this tensorflow version.

Besides, the version of tensorflow 1.4.1 is not supported with windows (use 1.4.0 instead)