My ide tools pycharm, python environment by anaconda is installed python3.6
Question: TensorFlow and TensorFlow -gpu two packages are installed successfully, but the ide pycharm, there is no code hints
Solutions into your IED rely Kit path, that is the installation package in your environment python ide tools running on,
The anaconda default path dependent kit (root path: C: \ ProgramData \ Anaconda3 \ Lib \ site-packages \ tensorflow)
I am using a virtual environment, installation package directory: C: \ ProgramData \ Anaconda3 \ envs \ faceidentify \ Lib \ site-packages \ tensorflow
Among the above, if not, you may be creating a virtual environment, a non-administrator user directory: C: \ Users \ XXXXXX (your username) \ AppData \ Local \ conda \ conda \ envs \ faceswap \ Lib \ site-packages
After opening TensorFlow installation package, there is a __init__.py file, edit (recommended to make a copy)
Delete the following lines
contrib = LazyLoader('contrib', globals(), 'tensorflow.contrib', _CONTRIB_WARNING) del LazyLoader
Change
from tensorflow import contrib
Restart your ide tools, can be found TensorFlow can prompt completion of the