Python脚本错误
你好
当我测试我的python脚本二进制文件时,我得到以下错误,当我尝试使用执行python块时,任何帮助都将不胜感激。
祖阿曼
当我测试我的python脚本二进制文件时,我得到以下错误,当我尝试使用执行python块时,任何帮助都将不胜感激。
- 例外:java.nio.file.InvalidPathException
- 非法字符<"> at索引0:"C:\Program Files\Python37\python.exe"
- 堆栈跟踪:
- sun.nio.fs.WindowsPathParser.normalize (WindowsPathParser.java: 182)
- sun.nio.fs.WindowsPathParser.parse (WindowsPathParser.java: 153)
- sun.nio.fs.WindowsPathParser.parse (WindowsPathParser.java: 77)
- sun.nio.fs.WindowsPath.parse (WindowsPath.java: 94)
- sun.nio.fs.WindowsFileSystem.getPath (WindowsFileSystem.java: 255)
- java.nio.file.Paths.get (Paths.java: 84)
- com.rapidminer.extension.pythonscripting.operator.scripting.python.PythonSetupTester.quotePath (PythonSetupTester.java: 271)
- com.rapidminer.extension.pythonscripting.operator.scripting.python.PythonSetupTester.getFullPathForPythonBinary (PythonSetupTester.java: 766)
- com.rapidminer.extension.pythonscripting.PluginInitPythonScripting.getDefaultPythonBinary (PluginInitPythonScripting.java: 368)
- com.rapidminer.extension.pythonscripting.PluginInitPythonScripting informparametersaved 3.美元(PluginInitPythonScripting.java: 313)
- com.rapidminer.tools.ParameterService.informListenerOfSave (ParameterService.java: 492)
- com.rapidminer.tools.ParameterService.saveParameters (ParameterService.java: 389)
- com.rapidminer.extension.pythonscripting.operator.scripting.python.PythonSetupTester.saveList (PythonSetupTester.java: 454)
- com.rapidminer.extension.pythonscripting.operator.scripting.python.PythonSetupTester.forceRefreshPythonBinaries (PythonSetupTester.java: 753)
- com.rapidminer.extension.pythonscripting.operator.scripting.python.PythonSetupTester.listPythonBinaries (PythonSetupTester.java: 494)
- com.rapidminer.extension.pythonscripting.operator.scripting.python.PythonSetupTester.refreshPythonBinariesCache (PythonSetupTester.java: 216)
- com.rapidminer.extension.pythonscripting.parameter.PythonBinariesSuggestionProvider.runRefreshOperation (PythonBinariesSuggestionProvider.java: 40)
- com.rapidminer.extension.pythonscripting.parameter.AbstractEnvironmentSuggestionProvider RefreshAction 1.美元运行(AbstractEnvironmentSuggestionProvider.java: 75)
- com.rapidminer.gui.tools.ProgressThread 3.美元运行(ProgressThread.java: 561)
- java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java: 1149)
- java.util.concurrent.ThreadPoolExecutor Worker.run美元(ThreadPoolExecutor.java: 624)
- java.lang.Thread.run (Thread.java: 748)
祖阿曼
0
答案
@IngoRM路径中没有("),我再次检查了它,并尝试了Python 3.7, 3.6, 3.5。
它们都不适用于Python脚本模块
然而,我在Anaconda中创建了一个新的环境,专用于3.5 Python的RapidMiner,现在正在工作。
谢谢。