Ask questionstensorflow for arm64 issue


I have successfully built the tensorflow for arm64 and indeed it created libtensorflow-lite.a However I'm trying to import the tesorflow in one of my python script like

$ cat import numpy import tensorflow

It is showing No named modules something like.

$ python3 Traceback (most recent call last): File "test_imports/", line 2, in <module> import tensorflow ModuleNotFoundError: No module named 'tensorflow'

Do we need to do any setup to python to picking the tensorflow here? or did I miss any step.

Any help?


Answer questions aselle

how did you build it? you can't import a .a you must import a python library which usually is a dylib or so or dll


Related questions

Error occurred when finalizing GeneratorDataset iterator
ModuleNotFoundError: No module named 'tensorflow.contrib'
ModuleNotFoundError: No module named 'tensorflow.contrib' hot 4
When importing TensorFlow, error loading Hadoop hot 4
The flag 'log_dir' is defined twice. hot 3
[TF 2.0] Dataset has no attribute 'make_one_shot_iterator' hot 3
Lossy conversion from float32 to uint8. Range [0, 1]. Convert image to uint8 prior to saving to suppress this warning. hot 3
TF2.0 AutoGraph issue hot 3
Error loading tensorflow hot 3
AttributeError: module 'tensorflow' has no attribute 'set_random_seed' hot 3
No tf.lite.experimental.nn.bidirectional_dynamic_rnn ops is finded hot 3
Incorrect Error TypeError: padded_batch() missing 1 required positional argument: &#39;padded_shapes&#39; hot 3
tensorflow2.0 detected 'xla_gpu' , but 'gpu' expected hot 2
Using tensorflow gpu 2.1 with Cuda 10.2 hot 2
Restoring Keras model fails inside a distribution strategy scope hot 2
Github User Rank List