Problem under Linux system: AttributeError: module 'paddle.fluid' has no attribute 'install_check'

insert image description here

I encountered a problem when using the Paddle framework under the Linux system: AttributeError: module 'paddle.fluid' has no attribute 'install_check'.

Referring to many blog posts and stepping on a lot of pitfalls, I summed up the solution to this problem myself.

My question is as follows:

I installed Paddle on the next wheel. CUDA uses version 11.2. The download link of Paddle official website wheel is: add link description

The specific version I chose is as follows:

insert image description here

The graphics card parameters of the computer are as follows:

insert image description here

The CUDA versions are all in compliance with the installation, but in the final test, various attempts cannot be solved. Finally, I refer to a reply to solve the problem. The link is: Add link description

insert image description here

I chose to install the cuda11.1 version later, and the test is indeed feasible. There is no way to install the wheel. The quick installation link on the official website is: Add link description

The following is the version that I successfully installed and debugged myself:

insert image description here
The following is the style of successful installation:

Enter the command as follows:

import paddle.fluid as fluid
fluid.install_check.run_check()

insert image description here

I haven't tried other versions of CUDA. If scholars can also adjust other versions, please leave a message for others' reference.

Guess you like

Origin blog.csdn.net/qq_40280673/article/details/132408008