CUDA drivers not detected by PyCharm's Python console

The CUDA drivers are detected everywhere else, including PyCharm’s own terminal. But for some reason, even though the environment is set to the one I installed TensorFlow to, it doesn’t recognize CUDA drivers. Everything else works fine.

@snailatspace,

Welcome to the Tensorflow Forum!

Make sure you have the correct version of CUDA that matches Tensorflow version.

For more details please refer to the tested build configurations.

Thank you!

@chunduriv,

No, the versions are definitely compatible for several reasons: I installed TensorFlow using the official guide; CUDA works, and I cannot stress this enough, everywhere else except PyCharm’s Python console; and, lastly, I checked the versions manually, just in case.

@snailatspace,

To debug issue further, could you please share the steps that you have followed to install tensorflow?

Thank you!