You need to enable JavaScript to run this app.
最新活动
大模型
产品
解决方案
定价
生态与合作
支持与服务
开发者
了解我们

在RapidMiner AI Studio中执行Python时提示'Pandas module not found'的问题求助

在RapidMiner AI Studio中执行Python时提示'Pandas module not found'的问题求助

我现在在MacOS Sonoma 14.6.1系统上使用RapidMiner AI Studio 2024.1.0,最近尝试用Execute Python算子的时候碰到了棘手的问题,想请教大家有没有解决办法。

我已经确认安装了Python、pip和pandas,有截图可以证明:
Python、pip及pandas已安装的验证截图
另一个验证安装状态的截图

但运行RapidMiner流程时,我还是收到了这样的错误提示:

'Pandas module not found -- The pandas module for Python was not found. Please make sure that the pandas module for Python is installed in your execution environment.'

可pandas明明已经装好了啊!我该尝试哪些排查步骤呢?

对了,为了测试能不能正常运行,我在Execute Python里写的脚本超级简单,就是一段测试用的dummy代码:

def rm_main(data):
    # Print a greeting message (output can be found in the Log View)
    print('Hello, world!')
    return data, data2 

RapidMiner里配置Python二进制路径的选项有这些:
RapidMiner的Python二进制路径配置界面截图


更新:

我已经在RapidMiner里配置了正确的路径,还重装了pip和pandas,但现在又出现了新的错误,相关截图如下:
新错误提示截图1
新错误提示截图2
新错误提示截图3

我对PATH环境变量不太熟悉,目前我的~/.bash_profile文件里只有这一行内容:

export PATH=/usr/leonie/Library/Python/3.9/bin

是不是需要在这个文件里添加更多内容?如果是的话,应该加什么呢?

备注:内容来源于stack exchange,提问作者Leonie

火山引擎 最新活动