Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[spark][bugfix] Fix Ray on Spark running on layered virtualenv python…
… environment (ray-project#32996) Supposing we create a virtualenv python environment based on the original python environment, and Ray is installed in the original python environment, and we run setup_ray_cluster on the virtualenv python environment, then ray_exec_path = os.path.join(os.path.dirname(sys.executable), "ray") will get a invalid path, because the ray script is installed in the original python environment. Signed-off-by: Weichen Xu <weichen.xu@databricks.com> Signed-off-by: Jack He <jackhe2345@gmail.com>
- Loading branch information