[ https://issues.apache.org/jira/browse/SPARK-13587?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15175003#comment-15175003 ]
Jeff Zhang commented on SPARK-13587: ------------------------------------ Thanks for your feedback [~msukmanowsky]. spark.pyspark.virtualenv.path is not the path where the virtualenv created, it is the path to the executable file for virtualenv/conda which is used for creating virtualenv ( I need to rename it to a more proper name to avoid confusing). In my POC, I will create virtualenv in all the executors not only driver. As you said, some python packages depends on C library, we can not guarantee it would work if we compile it in driver and distribute it to other nodes. > Support virtualenv in PySpark > ----------------------------- > > Key: SPARK-13587 > URL: https://issues.apache.org/jira/browse/SPARK-13587 > Project: Spark > Issue Type: Improvement > Components: PySpark > Reporter: Jeff Zhang > > Currently, it's not easy for user to add third party python packages in > pyspark. > * One way is to using --py-files (suitable for simple dependency, but not > suitable for complicated dependency, especially with transitive dependency) > * Another way is install packages manually on each node (time wasting, and > not easy to switch to different environment) > Python has now 2 different virtualenv implementation. One is native > virtualenv another is through conda. This jira is trying to migrate these 2 > tools to distributed environment -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org