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

GenoCAE build fails due to upstream update #26

Closed
richelbilderbeek opened this issue Feb 7, 2022 · 1 comment
Closed

GenoCAE build fails due to upstream update #26

richelbilderbeek opened this issue Feb 7, 2022 · 1 comment

Comments

@richelbilderbeek
Copy link
Contributor

Dear GenoCAE maintainers, hi Carl and Kristiina,

Thanks for GenoCAE and its tests using GitHub Actions, showing off how awesome it is!

However, upstream something has happened that cause the builds of all of my Python-dependent work to fail. Sadly, it happened to GenoCAE as well. As you are superior with Python, I hope you will help me/us :-)

Currently, the last GitHub Action trigger of the repo passed, which was (as of today) 5 days ago. That seems great! However, today this build fails. I figured this out by simpling forking this repo and trigger a rebuild. From the GitHub Actions log one can read:

Run python3 run_gcae.py --help
2022-02-07 14:01:16.923333: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'libcudart.so.11.0'; dlerror: libcudart.so.11.0: cannot open shared object file: No such file or directory
2022-02-07 14:01:16.923388: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.
RuntimeError: module compiled against API version 0xe but this version of numpy is 0xd
Traceback (most recent call last):
  File "run_gcae.py", line 32, in <module>
    import tensorflow as tf
  File "/home/runner/.local/lib/python3.8/site-packages/tensorflow/__init__.py", line 37, in <module>
    from tensorflow.python.tools import module_util as _module_util
  File "/home/runner/.local/lib/python3.8/site-packages/tensorflow/python/__init__.py", line 37, in <module>
    from tensorflow.python.eager import context
  File "/home/runner/.local/lib/python3.8/site-packages/tensorflow/python/eager/context.py", line 35, in <module>
    from tensorflow.python.client import pywrap_tf_session
  File "/home/runner/.local/lib/python3.8/site-packages/tensorflow/python/client/pywrap_tf_session.py", line 19, in <module>
    from tensorflow.python.client._pywrap_tf_session import *
ImportError: SystemError: <built-in method __contains__ of dict object at 0x7f9dbba31580> returned a result with an error set

The problem is obviously:

RuntimeError: module compiled against API version 0xe but this version of numpy is 0xd

I have been trying all day to fix this, but I did not dare to meddle with requirements.txt. I will continue trying, yet I hope you will beat me fix this 😇

@richelbilderbeek
Copy link
Contributor Author

I got this to work at richelbilderbeek@0dc24d1 . Happily closing this Issue!

This was referenced Feb 14, 2022
richelbilderbeek pushed a commit to richelbilderbeek/GenoCAE that referenced this issue Feb 14, 2022
richelbilderbeek pushed a commit to richelbilderbeek/GenoCAE that referenced this issue Feb 14, 2022
kausmees added a commit that referenced this issue Feb 22, 2022
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

1 participant