Error when executing operator
A RapidMiner user wants to know the answer to this question: "Hey there. When I try to use the Execute Python operator it is giving error saying Failed to detect Python at the given path. I do have Python installed on my computer. Maybe someone knows how to fix this? I want to restrict to sample size of clustering are there any other options to do so? F.e i have 3 cluster and 20 item i wanna that each cluster have 6 item at least or max. 10 item how can i restrict it ? Thank you."
Sort by:
1 - 15 of
151
@varunm1 ı have problem about execute python operator it is giving error .ı did the python path in Settings --> Preferences --> Python Scripting window. ı set the python path and tested it but it gave me error
ı added screenshot of error to Word file.can you check it ?
ı added screenshot of error to Word file.can you check it ?
Hello @Selim
Your path looks fine for me. Maybe @Marco_Boeck or @hughesfleming68 can suggest on this?

Your path looks fine for me. Maybe @Marco_Boeck or @hughesfleming68 can suggest on this?

@varunm1 When ı was run it ıt was saying me pandas modul not found and then ı install to anaconda 3 but still same sitution ı have . So ıdk wht am gonna do exactly . When u install to python and anaconda is there anything do special ? And also where did u set it ? İn C file ?
If you were using anaconda please create a dedicated environment for rapidminer and install all the necessary packages in this environment, I suggest setting up this new environment with python 3.5 as it work without any issues.
@lionelderkrikor do you have any suggestions for this.
@lionelderkrikor do you have any suggestions for this.
@varunm1 ı want to progress step by step .so firstly am ı gonna use to anaconda navigator to do this instructions ? this web site does not saying where am gonna wrıte this instructions ? ı added my screen of anaconda3 may u check it to discribe me where ı ll write 2 this instructions ?
You need to use anaconda terminal, type anaconda in your windows search, you can see anaconda prompt. In this prompt, you will run the above-mentioned code which will create a new environment with python 3.5.
Once you were done creating a new environment, you can close the current anaconda prompt and open prompt for the new environment. For example, if I search for Anaconda on my pc you can see there are two prompts. The first one Anaconda prompt is for default python 3.7 and Anaconda Prompt (Varun) is what I use for rapidminer with 3.5. Similarly, you will get something called myenv. You should open this for installing modules that were required by rapidminer.
you need to install modules like numpy, pandas, etc in the new anaconda prompt (myenv). Before installing check in anaconda navigator in the new environment if you have these packages or not.

If you want to install pandas, you can search on google "pandas install anaconda" which will show you https://anaconda.org/anaconda/pandas link where you can find a command to install pandas, similarly you need to install numpy etc if they are not available.
Hope this helps
Once you were done creating a new environment, you can close the current anaconda prompt and open prompt for the new environment. For example, if I search for Anaconda on my pc you can see there are two prompts. The first one Anaconda prompt is for default python 3.7 and Anaconda Prompt (Varun) is what I use for rapidminer with 3.5. Similarly, you will get something called myenv. You should open this for installing modules that were required by rapidminer.

you need to install modules like numpy, pandas, etc in the new anaconda prompt (myenv). Before installing check in anaconda navigator in the new environment if you have these packages or not.

If you want to install pandas, you can search on google "pandas install anaconda" which will show you https://anaconda.org/anaconda/pandas link where you can find a command to install pandas, similarly you need to install numpy etc if they are not available.
Hope this helps
@varunm1 @lionelderkrikor ı have opened to anaconda prompth and wrote 2 conda create -n myenv python = 3.5 and then what am ı gonna do 2 run it ? may u check 2 word file to see of anaconda prompt screen ? when ı press to enter it is giving error
-----------------------------error------------------
-----------------------------error------------------
(base) C:\Users\yavuz çelebi>conda create -n myenv python = 3.5
WARNING: The conda.compat module is deprecated and will be removed in a future release.
WARNING: A space was detected in your requested environment path
'C:\Users\yavuz çelebi\.conda\envs\myenv'
Spaces in paths can sometimes be problematic.
CondaValueError: invalid package specification: =
@varunm1 ı understand to what is the problem at execute python operator but now ı need to create new section as u say and load which ı need libraries as scipy,pandas etc... but as ı say at my last messsage ı just have a problem about to run to codes at anaconda prompt .and also ı have checked base(root) section of anaconda navigator and there is pandas modula. ı am waiting 4 your answer.thanks
Sort by:
1 - 1 of
11
The user need to check the python path in Settings --> Preferences --> Python Scripting window. Here they need to set the python path and test to see if everything is fine. Screenshot below.