系统找不到指定的路径。 Traceback (most recent call last): File "C:\fenzi\reinvent-randomized-master\create_randomized_smiles.py", line 56, in <module> SPARK, SC = us.SparkSessionSingleton.get("create_randomized_smiles") File "C:\fenzi\reinvent-randomized-master\utils\spark.py", line 27, in get session = session.getOrCreate() File "C:\Users\user\.conda\envs\reinvent-randomized\lib\site-packages\pyspark\sql\session.py", line 228, in getOrCreate sc = SparkContext.getOrCreate(sparkConf) File "C:\Users\user\.conda\envs\reinvent-randomized\lib\site-packages\pyspark\context.py", line 384, in getOrCreate SparkContext(conf=conf or SparkConf()) File "C:\Users\user\.conda\envs\reinvent-randomized\lib\site-packages\pyspark\context.py", line 144, in __init__ SparkContext._ensure_initialized(self, gateway=gateway, conf=conf) File "C:\Users\user\.conda\envs\reinvent-randomized\lib\site-packages\pyspark\context.py", line 331, in _ensure_initialized SparkContext._gateway = gateway or launch_gateway(conf) File "C:\Users\user\.conda\envs\reinvent-randomized\lib\site-packages\pyspark\java_gateway.py", line 105, in launch_gateway time.sleep(0.1) KeyboardInterrupt
时间: 2023-07-12 08:04:39 浏览: 104
navicatdesignquery.sql.bak系统找不到指定路径错误的解决方法
看起来你在使用 create_randomized_smiles.py 文件运行程序时出现了错误。错误提示显示系统找不到指定的路径。这可能是由于你的文件路径设置不正确所致。你可以检查一下代码中指定的路径是否正确,或者确认你是否有权限访问这个路径。此外,错误提示还包括一个 KeyboardInterrupt,这可能是由于你在程序运行时按下了 Ctrl+C 键,导致程序被中断。如果你需要更多帮助,请提供更多信息。
阅读全文