Re: trouble with 'pip pyspark' pyspark.sql.functions. ³unresolved import² for col() and lit()

2018-04-04 Thread Gourav Sengupta
Hi, the way I manage things is, download spark, and set SPARK_HOME and the import findspark and run findspark.init(). And everything else works just fine. I have never tried pip install pyspark though. Regards, Gourav Sengupta On Wed, Apr 4, 2018 at 11:28 PM, Andy Davidson <

trouble with 'pip pyspark' pyspark.sql.functions. ³unresolved import² for col() and lit()

2018-04-04 Thread Andy Davidson
I am having trouble setting up my python3 virtualenv. I created a virtualenv Œspark-2.3.0¹ Installed pyspark using pip how ever I am not able to import pyspark.sql.functions. I get ³unresolved import² when I try to import col() and lit() from pyspark.sql.functions import * I found if I