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

SystemError: initialization of _pywrap_tensorflow_internal raised unreported exception #7

Open
diaoxue opened this issue Oct 19, 2017 · 1 comment

Comments

@diaoxue
Copy link

diaoxue commented Oct 19, 2017

RuntimeError: module compiled against API version 0xa but this version of numpy is 0x9
RuntimeError: module compiled against API version 0xa but this version of numpy is 0x9
Traceback (most recent call last):
File "./example_feat_extract.py", line 24, in
from feature_extractor.feature_extractor import FeatureExtractor
File "/home/defy/TF_FeatureExtraction/feature_extractor/feature_extractor.py", line 19, in
import tensorflow as tf
File "/usr/local/lib/python3.4/dist-packages/tensorflow/init.py", line 24, in
from tensorflow.python import *
File "/usr/local/lib/python3.4/dist-packages/tensorflow/python/init.py", line 49, in
from tensorflow.python import pywrap_tensorflow
File "/usr/local/lib/python3.4/dist-packages/tensorflow/python/pywrap_tensorflow.py", line 41, in
from tensorflow.python.pywrap_tensorflow_internal import *
File "/usr/local/lib/python3.4/dist-packages/tensorflow/python/pywrap_tensorflow_internal.py", line 28, in
_pywrap_tensorflow_internal = swig_import_helper()
File "/usr/local/lib/python3.4/dist-packages/tensorflow/python/pywrap_tensorflow_internal.py", line 24, in swig_import_helper
_mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)
File "/usr/lib/python3.4/imp.py", line 243, in load_module
return load_dynamic(name, filename, file)
SystemError: initialization of _pywrap_tensorflow_internal raised unreported exception

update numpy, but do not work

thanks

@diaoxue diaoxue closed this as completed Oct 19, 2017
@diaoxue diaoxue reopened this Oct 19, 2017
@Lucky94
Copy link

Lucky94 commented Nov 22, 2017

Hi @diaoxue,
I guess you are running the script from tensorflow root directory. Try running it from somewhere else (any other directory), it should work.

Hope it helps.
Regards,
Lucky Srivastava

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