Packages in Python

Niharika
Niharika New Altair Community Member
edited November 2024 in Community Q&A
I am running a python code on  RapidMiner server which uses Elasticsearch package.So do I need to install that package on the machine where my server has been hosted?
Tagged:

Best Answer

  • kayman
    kayman New Altair Community Member
    Answer ✓
    Sorry, Semantics. With Vanilla I meant Python without additional packages. Everything which is part of the distribution will work by default, so for Anaconda this will include all the packages that are part of Anaconda. You do however need to ensure your server is setup to work with the Anaconda distribution and this might be more challenging.

    But as the Elastic stack python package isn't part of Anaconda (as far as I know) it needs to be installed regardless if you use Python 'standalone' or Anaconda

Answers

  • kayman
    kayman New Altair Community Member
    Yes, basically all packages you want to use need to be installed on your server also as otherwise you would be using a vanilla python installation. 
  • Niharika
    Niharika New Altair Community Member
    Okay I got the answer to my question.But for the second half of your answer I am not clear.
    For running python codes on RapidMiner Server we have installed Anaconda on the machine where my server has been hosted.So my machine will have some packages which come with  anconda library which can run on server.If some extra packages are required we can install it.So how does vanilla python comes into picture can you please explain.
  • kayman
    kayman New Altair Community Member
    Answer ✓
    Sorry, Semantics. With Vanilla I meant Python without additional packages. Everything which is part of the distribution will work by default, so for Anaconda this will include all the packages that are part of Anaconda. You do however need to ensure your server is setup to work with the Anaconda distribution and this might be more challenging.

    But as the Elastic stack python package isn't part of Anaconda (as far as I know) it needs to be installed regardless if you use Python 'standalone' or Anaconda