PyCharm, Jupyter Notebook script and NVIDIA Docker Container

hi

I’m trying to use:

  • PyCharm (2022.1.1)
  • Jupyter Notebook Script
  • connect to NVIDIA TensorFlow Docker container (22.04-tf2)

Currently, I always get the error ‘Tensorflow module not found’ in PyCharm.

It all works just fine in VS Code. So, there must be a way in PyCharm.

Here is my Jupyter script:

import tensorflow as tf
import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
import math
import seaborn as sns

ModuleNotFoundError: No module named ‘tensorflow’

Thank you,
Ed