-
Originally posted by my colleague on the RosettaCommons forums here. A very unusual problem is happening. If I use both Pyrosetta and Tensorflow in the same python script, depending on which I import first, I get one of two errors:
My environment includes:
This happens for all versions of Pyrosetta that I've tested (2023.45+release and 2024.24+release), and with all Tensorflow versions I've tested (2.14, 2.15, 2.16). Several colleagues are running into the same problem on their machines. Additionally, one of my colleagues who runs into this problem does not have this issue when installed See the below quote for details from the original reported issue, including a core dump indicating an issue during import coming from
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Some additional context. importing tensorflow first:
Importing Pyrosetta first:
|
Beta Was this translation helpful? Give feedback.
@lyskov I actually have an update on this: Despite running on Fedora, as a last-ditch effort I tried installing the Ubuntu wheel (which is separate from the general "linux" wheel), and this error does not occur! Additionally things seem to run fine for me, even though I'm not on Ubuntu. Do you happen to know what the difference is between these packages? Would you expect the Ubuntu wheel to give me any trouble?
In either case I think this isolates the issue to the general "linux" wheel.
To answer your question, I have not tried Python 3.10, but I can give that a try tomorrow if it will help you debug. Otherwise it seems like I have a working alternative.