I deployed pyspark in ubuntu,and run it well in shell.but when I run the same code in pycharm,it got some problem.I also set the environment variable in pyCharm as the same as the value in /etc/profile.enter image description here
could someone help me?