Python not found

sapperlon
sapperlon New Altair Community Member
edited November 5 in Community Q&A
New to rapid miner and Python. When first tried Execute Python it said "Python not found, Failed to detect Python at the given path or environment name:". But  I have downloaded Python 3.8 and Anacoda but still get these warnings. Spent hours to fix this, so frustrating. Could anyone help me ?
Tagged:

Best Answer

  • jacobcybulski
    jacobcybulski New Altair Community Member
    edited July 2020 Answer ✓
    Make sure that your Python Scripting Settings (in Preferences) point to the correct Python (use Conda settings). If you defined any environments you can select Python from that particular environment and press the "Test" button. Also, I am not certain that RM can call Python 3.8 (I need to test it but I recall having problems with it). I am currently using Anaconda with Python 3.7 and 3.6 on both Windows and Linux and not having any issues.

Answers

  • jacobcybulski
    jacobcybulski New Altair Community Member
    edited July 2020 Answer ✓
    Make sure that your Python Scripting Settings (in Preferences) point to the correct Python (use Conda settings). If you defined any environments you can select Python from that particular environment and press the "Test" button. Also, I am not certain that RM can call Python 3.8 (I need to test it but I recall having problems with it). I am currently using Anaconda with Python 3.7 and 3.6 on both Windows and Linux and not having any issues.
  • Pradyumna_26
    Pradyumna_26 New Altair Community Member
    I'm having the same issue. In my case, RapidMiner isn't even recognising the conda environments in the drop down menu of the python scripting preferences. Any idea on the reason or solution for this?
  • jacobcybulski
    jacobcybulski New Altair Community Member
    Make sure Anaconda is on the path, also older versions of RapidMiner did not recognise Anaconda environments, in which case you had to navigate to the environment folder and select Python from there. 
  • cristian_michi
    cristian_michi New Altair Community Member
    thank you @Pradyumna_26, I did what you indicated in the link and it worked.
  • Eden60
    Eden60 New Altair Community Member
    Hello,

    As per my knowledge, you should follow these points you're encountering the "Python not found" error in RapidMiner:
    1. Verify that Python 3.8 is installed and working correctly on your system.

    2. Check Anaconda if you're using it and ensure the correct environment is active.

    3. Add the path to your Python installation directory to your system's PATH variable.

    4. Check and configure the Python interpreter in RapidMiner's settings.

    5. Restart RapidMiner after making changes.

    6. Test by running a simple Python script in RapidMiner. If issues persist, provide more details for further help.

    I hope this will help you.

    Thanks
    Splunk
  • KeshavSundaresh
    KeshavSundaresh New Altair Community Member
    Hi All, This is a very useful thread - thank you! I setup myrm_genai environment on conda but unable to run the models in RM. I get the "python not found" error. I've followed all the steps outlined in this thread but still stuck. Can you please help?


  • RolandJones
    RolandJones
    Altair Employee
    Hi @KeshavSundaresh,

    Are you able to run any Python in RapidMiner? If you find the Execute Python operator, can you run the tutorial?

    Best,

    Roland
  • nataliarelish
    nataliarelish New Altair Community Member
    Thank you for sharing valuable insights I like the content that you provide. Your content is very helpful to me. I bookmark this site and will find your posts frequently in the future. I also want to share my experiences with the https://community.rapidminer.com/discussion/57693/python-not-foundPython course inKochi#latest . It's fantastic to see opportunities for learning and skill development in Python. Once again, thank you for your contributions, and I look forward to engaging more in this enriching Python thread.