I am trying to install apache spark to run locally on my windows machine. I have followed all instructions here https://medium.com/@loldja/installing-apache-spark-pyspark-th
I edited worker.py file. Removed all resource-related lines. Actually # set up memory limits block and import resource. The error disappeared.
# set up memory limits
import resource