Pyspark and Pycharm

Hi, after setting up PySpark envirnment in Pycharm i tried executing below:
“”“from pyspark.sql import SparkSession
from pyspark.sql import SparkConf”""

Getting error as
ImportError: cannot import name ‘SparkConf’ from ‘pyspark.sql’ (C:\spark-2.4.5-bin-hadoop2.7\python\pyspark\sql_init_.py)

Please help!!