系统找不到指定的路径。 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 17:04:39 浏览: 76
看起来你在使用 create_randomized_smiles.py 文件运行程序时出现了错误。错误提示显示系统找不到指定的路径。这可能是由于你的文件路径设置不正确所致。你可以检查一下代码中指定的路径是否正确,或者确认你是否有权限访问这个路径。此外,错误提示还包括一个 KeyboardInterrupt,这可能是由于你在程序运行时按下了 Ctrl+C 键,导致程序被中断。如果你需要更多帮助,请提供更多信息。
相关问题
traceback (most recent call last): file "d:\anaconda\lib\site-packages\conda
引用:已解决"Traceback (most recent call last): File “E:\Anaconda3\lib\site-packages\pip_vendor\urllib3\response.py”, line 360, in _error_catcher yield" 这是一个错误的追踪信息,通常出现在代码中发生了异常或错误时。它会显示出错的具体位置和引发异常的原因。
引用:网上给出了一些解决方法,比如关闭后台jupyter notebook,并根据提示使用命令"python -m pip install --upgrade pip"来升级pip工具。这个操作可以帮助更新pip并解决一些常见的问题。
引用:另外,还可以考虑更换镜像源来解决问题。可以使用命令"pip install tensorflow -i https://pypi.douban.com/simple"来安装TensorFlow,并指定使用豆瓣镜像源进行安装,这样可能可以避免一些下载或安装的问题。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *3* [已解决Traceback (most recent call last): File “E:\Anaconda3\lib\site-packages\pip_vendor\urllib3\...](https://blog.csdn.net/weixin_50843918/article/details/129991452)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
- *2* [python安装报错ERROR: Exception: Traceback (most recent call last): File “d:\anaconda3.5.2\lib\site-...](https://blog.csdn.net/qq_41387939/article/details/109828665)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
traceback (most recent call last): file
"traceback (most recent call last): file" 是一个经典的错误提示信息,通常表示在代码中发生了错误。这个错误提示信息告诉我们在最近一次调用中发生了问题,并且提供了出错的位置信息。
通常,在 "traceback (most recent call last):" 这一行下方的几行代码都是错误的来源。你可以提供更多的错误信息和代码,这样我就可以更好地帮助你解决问题。请提供完整的错误提示信息和相关的代码,我会尽力为你提供帮助。
相关推荐
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)