Recently in the configuration TensorFlow, but found that the use of Spyder can not load TensorFlow code prompts, the need to enter the full function name, very inconvenient, and then from the Internet to find some information to solve the Spyder can not appear code hints.
1, find module_completion.py This file, I use the Anaconda3, the path is as follows: D:\anaconda3\Lib\site-packages\spyder\utils\introspection
2, line No. 279 You can see this code:
Mods = [' NumPy ', ' scipy ', ' sympy ', ' Pandas ', ' networkx ', ' statsmodels ', ' matplotlib ', ' sklearn ', ' skimage ', ' mpmath ', ' OS ' , ' PiL ', ' OpenGL ', ' array ', ' audioop ', ' binascii ', ' cpickle ', ' Cstringio ', ' Cmath ', ' Collections ', ' datetime ', ' errno ', ' Exceptions ', ' GC ', ' Imageop ', ' imp ', ' itertools ', ' Marshal ', ' math ', ' mmap ', ' MSVCRT ', ' nt ', ' operator ', ' parser ', ' Rgbimg ', ' signal ', ' strop ', ' sys ', ' thread ', ' time ', ' wx ', ' xxsubtype ', ' zipimport ', ' zlib ', ' nose ', ' PyQt4 ', ' pyside ', ' OS . Path ', ' TensorFlow ']
One of the TensorFlow is I added, as long as you use the module added here, in the programming will automatically appear function hints
3, delete the Submodules file in C:\Users\Administrator\.spyder-py3\db, restart the Spyder, you can solve the problem