title: How to run Python code with pandas, request etc dependencies from Java?
body: <p>There is of course JPython, that allows to run Python within JVM.</p>
  <p>But will it do to run Python that have some or many dependencies/libraries like <code>pandas</code>, <code>requests</code> ?</p>
  <p>Is there guaranteed way to run any Python script on JVM?</p>
  <hr />
  <p>P.S. within the same process, so that memory structures can be shared.</p>
  <p>P.P.S Jython version is 2.7, compatible with Python 2.x, there is likely no Python 3.6+ support.</p>
  <blockquote>
  <p>The most recent release is Jython 2.7.2. It was released on 21 March 2020 and is compatible with Python 2.7</p>
  </blockquote>
  <p>More general question was <a href="https://stackoverflow.com/questions/8898765/calling-python-in-java">Calling Python in Java?</a></p>
  <p>GraalVM Python Runtime is experimental, but aims at Python 3.8 and supporting SciPy/NumPy
  <a href="https://www.graalvm.org/reference-manual/python/" rel="nofollow noreferrer">https://www.graalvm.org/reference-manual/python/</a></p>
  <blockquote>
  <p>GraalVM provides a Python 3.8 compliant runtime. A primary goal of the GraalVM Python runtime is to support SciPy and its constituent libraries, as well as to work with other data science and machine learning libraries from the rich Python ecosystem. At this point, the Python runtime is made available for experimentation and curious end-users.</p>
  </blockquote>