Skip to content
This repository has been archived by the owner on Dec 21, 2023. It is now read-only.

Commit

Permalink
Restrict TensorFlow Version on Linux (#3089)
Browse files Browse the repository at this point in the history
  • Loading branch information
TobyRoseman authored Apr 3, 2020
1 parent 73dad21 commit 3473ac2
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,13 @@ def run(self):
"requests >= 2.9.1",
"scipy >= 1.1.0",
"six >= 1.10.0",
"tensorflow >= 2.0.0",
]
if sys.platform == "darwin":
install_requires.append("tensorflow >= 2.0.0")
else:
# ST, OD, AC and DC segfault on Linux with TensorFlow 2.1
# See: https://github.com/apple/turicreate/issues/3003
install_requires.append("tensorflow >= 2.0.0,<= 2.0.1 ")

setup(
name="turicreate",
Expand Down

0 comments on commit 3473ac2

Please sign in to comment.