Python3.8.1 install Tensorflow problem

Downloaded Python 3.8.1 version on the official website

Install Tensorflow 2.1.0 version via pip

"ImportError: DLL load failed: Cannot find the specified module" error occurred. Tried the following solutions

(1) There is no matching TensorFlow version in the online search for Python 3.8.1, so try to drop the python version. The stable python version is 3.6, but the official website cannot be downloaded. Choose to install python3.7.7 version.

(2) To create a python virtual environment, you do not need to delete the previous python3.8.1, and use both versions at the same time. For details, please refer to the following:

https://blog.csdn.net/u011318077/article/details/85235544

https://jingyan.baidu.com/article/bea41d435e3e9af5c51be6e1.html

(3) After installing the virtual environment, install the python version to 3.7.7, pip installs the TensorFlow version to still be 2.1.0, the installation is successful, but an error still occurs during import.

(4) Change the TensorFlow version, " pip install -i https://pypi.douban.com/simple/ --upgrade tensorflow==1.13.1 "

The final version is python3.7.7 , TensorFlow1.13.1 import successfully!

Guess you like

Origin blog.csdn.net/sinat_39307513/article/details/105162109