The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here
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."
Tagged:
0
Best Answer
-
varunm1 Member Posts: 1,207 UnicornHello,
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.
Regards,
Varun
https://www.varunmandalapu.com/Be Safe. Follow precautions and Maintain Social Distancing
9
Answers
ı added screenshot of error to Word file.can you check it ?
Can you check if your python path has " in it. I think the issue might be with " in your path. There shouldn't be " before C:
Varun
https://www.varunmandalapu.com/
Be Safe. Follow precautions and Maintain Social Distancing
Your path looks fine for me. Maybe @Marco_Boeck or @hughesfleming68 can suggest on this?
Varun
https://www.varunmandalapu.com/
Be Safe. Follow precautions and Maintain Social Distancing
@lionelderkrikor do you have any suggestions for this.
Varun
https://www.varunmandalapu.com/
Be Safe. Follow precautions and Maintain Social Distancing
cuz it s forwarding me to python 3.7 if u sent it i ll be glad . Thanks
https://docs.conda.io/projects/conda/en/latest/user-guide/tasks/manage-environments.html#creating-an-environment-with-commands
Varun
https://www.varunmandalapu.com/
Be Safe. Follow precautions and Maintain Social Distancing
I agree with you. Installing Python 3.5 is maybe the solution...
Regards,
Lionel
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
Varun
https://www.varunmandalapu.com/
Be Safe. Follow precautions and Maintain Social Distancing
-----------------------------error------------------
Varun
https://www.varunmandalapu.com/
Be Safe. Follow precautions and Maintain Social Distancing