Basic process is this (assuming you're using a python virtual environment and have activated it).
(.venv) C:\source\project> python -m pip install pyspark
(.venv) C:\source\project> python
>>> from pyspark.sql import SparkSession
>>> spark = SparkSession.builder.appName("example").master("local[*]").getOrCreate()
If you want a specific version of Spark then you need to specify it when install pyspark, such as:
python -m pip install pyspark==3.0.1