Due to recent updates, all users are required to create an Altair One account to login to the RapidMiner community. Click the Register button to create your account using the same email that you have previously used to login to the RapidMiner community. This will ensure that any previously created content will be synced to your Altair One account. Once you login, you will be asked to provide a username that identifies you to other Community users. Email us at Community with questions.

Panda Module detected but unable to load (MacOS)

lhilckenlhilcken Member Posts: 1 Learner III
I am trying to link my Python 3.10 with RapidMiner but always get this message. Does anyone know how to resolve this?

Tagged:

Answers

  • lumapelumape Member Posts: 1 Learner II
    I have the same issue! Someone please help out...
  • dingfsdingfs Member Posts: 1 Learner II
    Hey I have the same problem :,(
  • jwpfaujwpfau Employee, Member Posts: 303 RM Engineering
    edited November 2021
    Hi,

    Which RapidMiner and Python Scripting Version are you using? This should be supported from 9.6.0 on.

    Greetings,
    Jonas
  • btibertbtibert Member, University Professor Posts: 146 Guru
    edited January 2022
    I am able to use pandas in python 3.10 on my Mac.  My steps:

    1.  Create a new conda environment (conda create -n rm310 python=3.10)
    2.  Activate the environment (conda activate rm310)
    3.  Install pandas (pip install pandas)
    4.  Open RapidMiner and Point the Python scripting extension (found under properties) to this new environment rm310

    Create a simple process that executes the following code:

    import pandas as pd
    import numpy as np
    
    # rm_main is a mandatory function, 
    # the number of arguments has to be the number of input ports (can be none),
    #     or the number of input ports plus one if "use macros" parameter is set
    # if you want to use macros, use this instead and check "use macros" parameter:
    #def rm_main(data,macros):
    def rm_main():
    	df = pd.DataFrame({'x':np.arange(1,10)})
    	return df

    The results:




    FWIW I am on MacOS Catalina 10.15.7.



Sign In or Register to comment.