且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

运行pyspark时系统找不到指定的路径错误

更新时间:2022-03-03 06:48:08

实际上,问题出在JAVA_HOME环境变量路径. JAVA_HOME路径设置为.../jdk/bin previously

Actually, the problem was with the JAVA_HOME environment variable path. The JAVA_HOME path was set to .../jdk/bin previously,

我删除了JAVA_HOME的最后一个/bin部分,同时将它(/jdk/bin)保留在系统或环境路径变量(%path%)中.

I stripped the last /bin part for JAVA_HOME while keeping it (/jdk/bin) in system or environment path variable (%path%) did the trick.