Reputation: 167
I installed tensorflow with pip3 install tensorflow
and then I opened the terminal typed python
and import tensorflow
.
But when I hit Enter it gives me an Error:
Invalid machine command (memory dump written)
I already reinstalled tensorflow multiple times but it won't work. Could someone please help me?
Upvotes: 1
Views: 9446
Reputation: 167
conda create -n tensorflow python=3.6
source activate tensorflow
(tensorflow)name@name$
type conda install tensorflow
python3
and then import tensorflow
exit
to reactivate it type source activate tensorflow
Upvotes: -1
Reputation: 9008
Not sure what's causing your problem exactly but if you search for same problem and possible solutions online, you reach here: https://github.com/tensorflow/tensorflow/issues/17411.
Basically a solution would be to install an earlier tensorflow version.
Try:
pip uninstall tensorflow
pip install tensorflow==1.5
Upvotes: 2