Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pyimport TensorFlow 1.14 hangs forever on Julia 1.4 #762

Open
kailaix opened this issue Apr 9, 2020 · 1 comment
Open

pyimport TensorFlow 1.14 hangs forever on Julia 1.4 #762

kailaix opened this issue Apr 9, 2020 · 1 comment

Comments

@kailaix
Copy link

kailaix commented Apr 9, 2020

I have a legacy code which calls Tensorflow 1.14.

pip install tensorflow==1.14

Recently after I upgrade to Julia 1.4, pyimport hangs forever

using PyCall
pyimport("tensorflow")

My OS version is MacOS 10.15.3.
The problem goes away when I use TensorFlow 2. But I prefer to stick to TensorFlow 1.14 because of a lot existing code development. Is there any quick workaround? Thanks in advance!

@stevengj
Copy link
Member

stevengj commented Apr 9, 2020

Not sure, maybe it is a shared library conflict? e.g. TensorFlow 1.14 is using an incompatible version of LLVM or something?

(Shared-library conflicts usually cause a crash, but I suppose it could cause a hang as well.)

@stevengj stevengj changed the title pyimport hangs forever on Julia 1.4 pyimport TensorFlow 1.14 hangs forever on Julia 1.4 Apr 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants