<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Hi,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
it looks&nbsp;like you didn't create a venv.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Can you try to create a venv first and report back?</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
The steps you should run are:</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
$GRAALVM_HOME/graalpython -m venv pandas_venv<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="background-color:rgb(255, 255, 255);display:inline !important">source pandas_venv/bin/activate</span><br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="background-color:rgb(255, 255, 255);display:inline !important">python -m ginstall install pandas</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Best,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Tim</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<blockquote itemscope="" itemtype="https://schemas.microsoft.com/QuotedText" style="border-left: 3px solid rgb(200, 200, 200); border-top-color: rgb(200, 200, 200); border-right-color: rgb(200, 200, 200); border-bottom-color: rgb(200, 200, 200); padding-left: 1ex; margin-left: 0.8ex; color: rgb(102, 102, 102);">
<pre>Hi,

I am following the website docs for the test of graalpython
<a href="https://www.graalvm.org/reference-manual/python/">https://www.graalvm.org/reference-manual/python/</a>

The installation of pandas seems to stop without an error.

— Would appreciate some advice on how I can possibly fix this.

Best,
Marius

---

1.) Check for installable packages:

<a href="https://oss.oracle.com/mailman/listinfo/graalvm-users">marius at shell</a>:~/Downloads/graalvm-ce-java11-21.1.0/languages/python/bin$ ./graalpython -m ginstall install --help
usage: ginstall.py install [-h] [--prefix PREFIX] package

Install a known package. Known packages are pytest, pytest_parallel, py, attrs, pyparsing, packaging, more_itertools,
… pandas, scipy, cycler ...

2.) Install package

graalpython -m ginstall install pandas
...
building 'pandas._libs.algos' extension
creating build/temp.linux-x86_64-3.8
creating build/temp.linux-x86_64-3.8/pandas
creating build/temp.linux-x86_64-3.8/pandas/_libs
/home/marius/Downloads/graalvm-ce-java11-21.1.0/languages/llvm/native/bin/graalvm-native-clang -stdlib=libc++ -DNDEBUG -fPIC -DNPY_NO_DEPRECATED_API=0 -Ipandas/_libs/src/klib -Ipandas/_libs/src -I/home/marius/.local/lib/python3.8/site-packages/numpy-1.16.4-py3.8-linux-x86_64.egg/numpy/core/include -I/home/marius/Downloads/graalvm-ce-java11-21.1.0/languages/python/include -c pandas/_libs/algos.c -o build/temp.linux-x86_64-3.8/pandas/_libs/algos.o -Wno-unused-function

<a href="https://oss.oracle.com/mailman/listinfo/graalvm-users">marius at shell</a>:~/Downloads/graalvm-ce-java11-21.1.0/languages/python/bin$ ./graalpython
Python 3.8.5 (Fri Apr 16 11:46:53 UTC 2021)
[Graal, GraalVM CE, Java 11.0.11] on linux
Type &quot;help&quot;, &quot;copyright&quot;, &quot;credits&quot; or &quot;license&quot; for more information.
&gt;&gt;&gt;<i>&nbsp;import pandas
</i>Traceback (most recent call last):
File &quot;&lt;stdin&gt;&quot;, line 1, in &lt;module&gt;
ModuleNotFoundError: No module named ‘pandas'

3.) List installed packages

graalpython -m ginstall list
Installed packages:

setuptools-41.0.1-py3.8.egg
setuptools_scm-1.15.0-py3.8.egg
python_dateutil-2.7.5-py3.8.egg
six-1.12.0-py3.8.egg
numpy-1.16.4-py3.8-linux-x86_64.egg

4.) Test interactively

graalpython
Python 3.8.5 (Fri Apr 16 11:46:53 UTC 2021)
[Graal, GraalVM CE, Java 11.0.11] on linux
Type &quot;help&quot;, &quot;copyright&quot;, &quot;credits&quot; or &quot;license&quot; for more information.
&gt;&gt;&gt;<i>&nbsp;import pandas as pd
</i>Traceback (most recent call last):
File &quot;&lt;stdin&gt;&quot;, line 1, in &lt;module&gt;
ModuleNotFoundError: No module named 'pandas'
&gt;&gt;&gt;<i>&nbsp;import numpy as np
</i>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <a href="http://oss.oracle.com/pipermail/graalvm-users/attachments/20210512/2dabca45/attachment.html">http://oss.oracle.com/pipermail/graalvm-users/attachments/20210512/2dabca45/attachment.html</a>&nbsp;</pre>
</blockquote>
<br>
</div>
</body>
</html>