1. Instale directamente debajo de la ventana:
pip install tensorflow
No hay ningún problema con la instalación El sistema descargó la versión más alta por sí mismo, la versión 2 o superior, y luego ImportError: Error de carga de DLL: El módulo especificado no se pudo encontrar al importar el módulo.
(Ps: el informe de error se encontró en Internet, pero el contenido del error es similar)
Solución: encontré un método en Internet para decir que hay un problema con la versión de tensorflow. La versión anterior 2 es demasiado alta e incompatible, así que cambie la versión de tensorflow y vuelva a instalar
pip install tensorflow==1.4
Está bien después, (otros), el mío todavía tiene problemas,
D:\ruanjiananzhuang\Anconda\envs\py36\python.exe F:/code/code/PychramCode/MachineCode/02Code/test.py
D:\ruanjiananzhuang\Anconda\envs\py36\lib\site-packages\tensorflow\python\framework\dtypes.py:469: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_qint8 = np.dtype([("qint8", np.int8, 1)])
D:\ruanjiananzhuang\Anconda\envs\py36\lib\site-packages\tensorflow\python\framework\dtypes.py:470: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_quint8 = np.dtype([("quint8", np.uint8, 1)])
D:\ruanjiananzhuang\Anconda\envs\py36\lib\site-packages\tensorflow\python\framework\dtypes.py:471: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_qint16 = np.dtype([("qint16", np.int16, 1)])
D:\ruanjiananzhuang\Anconda\envs\py36\lib\site-packages\tensorflow\python\framework\dtypes.py:472: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_quint16 = np.dtype([("quint16", np.uint16, 1)])
D:\ruanjiananzhuang\Anconda\envs\py36\lib\site-packages\tensorflow\python\framework\dtypes.py:473: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_qint32 = np.dtype([("qint32", np.int32, 1)])
D:\ruanjiananzhuang\Anconda\envs\py36\lib\site-packages\tensorflow\python\framework\dtypes.py:476: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
np_resource = np.dtype([("resource", np.ubyte, 1)])
La versión de numpy es demasiado alta. Estará bien después de reducirla. La versión anterior era 1.17, pero ahora es 1.16