I have added PYTHONPATH
with the path to the Spark libraries in an IntelliJ project:
However the PySpark classes are not accessible:
So what further needs to be done to the IJ project?
I have added PYTHONPATH
with the path to the Spark libraries in an IntelliJ project:
However the PySpark classes are not accessible:
So what further needs to be done to the IJ project?
You should add PySpark libraries to your project path as well. Assuming you're using IDEA Intellij, not PyCharm go to File -> Project Structure -> SDKs and configure Classpath for Python interpreter.