python - AttributeError: module ... - Stack Overflow
https://stackoverflow.com/questions/5172430907.08.2018 · As Andriy Ivaneyko mentioned above, reinstalling tensorflow helps. I'm not sure why, but installing tensorflow-serving-api breaks something somewhere along the way. We solved this by running: pip install --force-reinstall tensorflow Note that this applies to both tensorflow and tensorflow-gpu installations. Specifically, the above command will fix this problem in situations …