<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Python 3 Runtime in HANA XSA in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/python-3-runtime-in-hana-xsa/m-p/12310960#M1990789</link>
    <description>&lt;P&gt;Hi Sergio, &lt;/P&gt;&lt;P&gt;Python 3 is supported; the guide provides an example for 3.6. &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;./configure --prefix=/home/&amp;lt;myuser&amp;gt;/tmp/builds/Python-3.6.2 --exec-prefix=/home/&amp;lt;myuser&amp;gt;/tmp/builds/Python-3.6.2 --enable-optimizations
make -j4
make altinstall&lt;/CODE&gt;&lt;/PRE&gt;&lt;UL&gt;
&lt;LI&gt;XSA Developer Guide (SPS 05)&lt;UL&gt;
&lt;LI&gt;&lt;A href="https://help.sap.com/viewer/4505d0bdaf4948449b7f7379d24d0f0d/2.0.05/en-US/681f48593a1a46e595f8bfde1cfe0048.html"&gt;Building from Sources and Deploying the Python Run Time to XS Advanced&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;</description>
    <pubDate>Thu, 18 Feb 2021 08:55:34 GMT</pubDate>
    <dc:creator>dvankempen</dc:creator>
    <dc:date>2021-02-18T08:55:34Z</dc:date>
    <item>
      <title>Python 3 Runtime in HANA XSA</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/python-3-runtime-in-hana-xsa/m-p/12310958#M1990787</link>
      <description>&lt;P&gt;Hello all, &lt;/P&gt;
  &lt;P&gt;I have tried installing the Python 3.x version to my HANA XSA Express edition without any luck. &lt;/P&gt;
  &lt;P&gt;I am able to create the CF Python buildpack but that apparently does not provide me the runtime and there are also instructions to create the runtime. I am following the &lt;A href="https://blogs.sap.com/2019/02/11/setup-python-runtime-for-xsa-by-the-sap-hana-academy/comment-page-1/#comment-555765"&gt;BYOR Setup Python Runtime blog&lt;/A&gt; but I am only able to get to the step where the create-runtime command is executed and I am getting an error stating: &lt;/P&gt;
  &lt;P&gt;java.io.IOException: could not find ~/builds/Python-3.9.1/lb/python3.9/site-packages/pks_resources&lt;/P&gt;
  &lt;P&gt;I am not sure how to proceed from here.&lt;/P&gt;
  &lt;P&gt;in the vm, I am able to run python --version and i get the default runtime 2.7 and I can run python3 --version and I get 3.4&lt;/P&gt;
  &lt;P&gt;I am confused whether the buildpack should allow me to push a Python app to the system or not (I get an error when trying xs push app -b cf_python &amp;lt;-- the name of my buildpack which also shows in the xs buildpacks command) &lt;/P&gt;
  &lt;P&gt;or if I need to install the Python 3.9 version (matching the python install from the blog) but I cannot get pass through the create runtime command. Any tips are appreciated. &lt;/P&gt;
  &lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Sun, 14 Feb 2021 23:25:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/python-3-runtime-in-hana-xsa/m-p/12310958#M1990787</guid>
      <dc:creator>SergioG_TX</dc:creator>
      <dc:date>2021-02-14T23:25:19Z</dc:date>
    </item>
    <item>
      <title>Re: Python 3 Runtime in HANA XSA</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/python-3-runtime-in-hana-xsa/m-p/12310959#M1990788</link>
      <description>&lt;P&gt;I have tried python 3.9.1 and 3.4.10 - I wonder if python 3 is not supported yet ?&lt;/P&gt;</description>
      <pubDate>Tue, 16 Feb 2021 06:01:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/python-3-runtime-in-hana-xsa/m-p/12310959#M1990788</guid>
      <dc:creator>SergioG_TX</dc:creator>
      <dc:date>2021-02-16T06:01:53Z</dc:date>
    </item>
    <item>
      <title>Re: Python 3 Runtime in HANA XSA</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/python-3-runtime-in-hana-xsa/m-p/12310960#M1990789</link>
      <description>&lt;P&gt;Hi Sergio, &lt;/P&gt;&lt;P&gt;Python 3 is supported; the guide provides an example for 3.6. &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;./configure --prefix=/home/&amp;lt;myuser&amp;gt;/tmp/builds/Python-3.6.2 --exec-prefix=/home/&amp;lt;myuser&amp;gt;/tmp/builds/Python-3.6.2 --enable-optimizations
make -j4
make altinstall&lt;/CODE&gt;&lt;/PRE&gt;&lt;UL&gt;
&lt;LI&gt;XSA Developer Guide (SPS 05)&lt;UL&gt;
&lt;LI&gt;&lt;A href="https://help.sap.com/viewer/4505d0bdaf4948449b7f7379d24d0f0d/2.0.05/en-US/681f48593a1a46e595f8bfde1cfe0048.html"&gt;Building from Sources and Deploying the Python Run Time to XS Advanced&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Thu, 18 Feb 2021 08:55:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/python-3-runtime-in-hana-xsa/m-p/12310960#M1990789</guid>
      <dc:creator>dvankempen</dc:creator>
      <dc:date>2021-02-18T08:55:34Z</dc:date>
    </item>
    <item>
      <title>Re: Python 3 Runtime in HANA XSA</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/python-3-runtime-in-hana-xsa/m-p/12310961#M1990790</link>
      <description>&lt;P&gt;Hi Sergio,&lt;/P&gt;&lt;P&gt;python 3 is supported. The most issues are caused by a incomplete Python build due to missing packages in the OS preparation step, also mentioned in the blog from Denys.&lt;/P&gt;&lt;P&gt;Please check the &lt;A href="https://help.sap.com/viewer/4505d0bdaf4948449b7f7379d24d0f0d/2.0.05/en-US/681f48593a1a46e595f8bfde1cfe0048.html" target="_blank"&gt;SP05 Development Guide&lt;/A&gt; about the required packages, as they are some added to the already mentioned packages in SP03 documentation and in Denys blog.&lt;/P&gt;&lt;P&gt;If you are still facing issues, please provide the whole output of the create-python-runtime.sh script.&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Andreas&lt;/P&gt;</description>
      <pubDate>Thu, 18 Feb 2021 10:11:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/python-3-runtime-in-hana-xsa/m-p/12310961#M1990790</guid>
      <dc:creator>ansteiner</dc:creator>
      <dc:date>2021-02-18T10:11:27Z</dc:date>
    </item>
    <item>
      <title>Re: Python 3 Runtime in HANA XSA</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/python-3-runtime-in-hana-xsa/m-p/12310962#M1990791</link>
      <description>&lt;P&gt;thank you for your responses. I have already added the required packages shown in the building from sources documentation page. My current problem now is during the make -j4 command I am getting this error:&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1891885-make-j4error.png" /&gt;&lt;/P&gt;&lt;P&gt;(I waited several minutes and the error wouldn'g go away, then I clicked on Cntl+C to exit the log and see the following: &lt;/P&gt;&lt;P&gt;Total duration 11 mins  56 sec&lt;/P&gt;&lt;P&gt;Test result: FAILURE&lt;/P&gt;&lt;P&gt;makefile:482: recipe for target 'run_profile_task' failed&lt;/P&gt;&lt;P&gt;Makefile:460: recipe for target 'profile-opt' failed&lt;/P&gt;&lt;P&gt;make: *** [profile-opt] interrupt&lt;/P&gt;&lt;P&gt;running the sudo make alt install clean afterwards runs and returns and completes.&lt;/P&gt;&lt;P&gt;running the create-runtime command &lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1891887-create-runtime-error.png" /&gt;&lt;/P&gt;&lt;P&gt;** the __pycache__ folder exists however&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1891888-pycache.png" /&gt;&lt;/P&gt;&lt;P&gt;thank you again for your guidance&lt;/P&gt;</description>
      <pubDate>Fri, 19 Feb 2021 12:35:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/python-3-runtime-in-hana-xsa/m-p/12310962#M1990791</guid>
      <dc:creator>SergioG_TX</dc:creator>
      <dc:date>2021-02-19T12:35:01Z</dc:date>
    </item>
    <item>
      <title>Re: Python 3 Runtime in HANA XSA</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/python-3-runtime-in-hana-xsa/m-p/12310963#M1990792</link>
      <description>&lt;P&gt;Hi Sergio, &lt;BR /&gt;there must be an failure earlier already. Before the test. Was the configure step successful? If so, was there an failure on the make earlier already?&lt;/P&gt;&lt;P&gt;On which OS you are trying to build the Python? If you have all the &lt;A href="https://help.sap.com/viewer/4505d0bdaf4948449b7f7379d24d0f0d/2.0.05/en-US/681f48593a1a46e595f8bfde1cfe0048.html" target="_blank"&gt;listed packages&lt;/A&gt; installed I would recommend to use the create-python-runtime.sh script. I unset PYTHONHOME and PYTHONPATH as &amp;lt;sid&amp;gt;adm before I run the script for version 3.9.1, otherwise I got also some make errors.&lt;/P&gt;&lt;P&gt;You should also uncomment the read -p lines in the script to check every step, before you proceed. Because in case the configure is not successful, the make will also fail and for sure the xs create-runtime. Perhaps we can improve the provided script with the unset of the env and also some exit code checks for every executed command.&lt;/P&gt;&lt;P&gt;In case you didn't get your Python runtime build successfully, please open an incident on BC-XS-PY and inform me about this. I will pick it up and we will get that resolved together.&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Andreas&lt;/P&gt;</description>
      <pubDate>Mon, 22 Feb 2021 14:01:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/python-3-runtime-in-hana-xsa/m-p/12310963#M1990792</guid>
      <dc:creator>ansteiner</dc:creator>
      <dc:date>2021-02-22T14:01:28Z</dc:date>
    </item>
    <item>
      <title>Re: Python 3 Runtime in HANA XSA</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/python-3-runtime-in-hana-xsa/m-p/12310964#M1990793</link>
      <description>&lt;P&gt;my OS is suse linux on a vmworkstation 16 player. &lt;/P&gt;&lt;P&gt;yes, all the listed packages were installed correctly with no errors.I unset the PYTHONHOME and PYTHONPATHs - &lt;/P&gt;&lt;P&gt;where is the create-pythin-runtime.sh file located? I do not find it in the Python 3.9.1 version, I only see several references in the 3.6.2 folder &lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1891980-391create-python-runtime.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1891981-362create-python-runtime.png" /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Feb 2021 00:38:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/python-3-runtime-in-hana-xsa/m-p/12310964#M1990793</guid>
      <dc:creator>SergioG_TX</dc:creator>
      <dc:date>2021-02-23T00:38:59Z</dc:date>
    </item>
    <item>
      <title>Re: Python 3 Runtime in HANA XSA</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/python-3-runtime-in-hana-xsa/m-p/12310965#M1990794</link>
      <description>&lt;P&gt;Hi Sergio, &lt;BR /&gt;I thought you followed the &lt;A href="https://blogs.sap.com/2019/02/11/setup-python-runtime-for-xsa-by-the-sap-hana-academy/" target="_blank"&gt;blog &lt;/A&gt;and in the section "Code Walktru" you can get everything from github. Also the scripts and run the create-python-runtime.sh with parameter e.g. 3.9.1 to get the Python 3.9.1 downloaded and created. Otherwise you have to download the Python version you want to build, extract them and run the configure and make by your self. But as mentioned you have to unset the env, if you run the script as &amp;lt;sid&amp;gt;adm and please uncomment the mentioned read -p lines in the script to stop after every step and check the output above to be sure the step was successful before you continue. As mentioned in case the configure or make step is not successful the incomplete Python runtime will be uploaded via xs create-runtime, but will not work.&lt;BR /&gt;You need to get a successful Python runtime build first and upload/install this in XSA via xs create-runtime command.&lt;/P&gt;&lt;P&gt;Kind regards&lt;BR /&gt;Andreas&lt;/P&gt;</description>
      <pubDate>Tue, 23 Feb 2021 08:20:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/python-3-runtime-in-hana-xsa/m-p/12310965#M1990794</guid>
      <dc:creator>ansteiner</dc:creator>
      <dc:date>2021-02-23T08:20:31Z</dc:date>
    </item>
    <item>
      <title>Re: Python 3 Runtime in HANA XSA</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/python-3-runtime-in-hana-xsa/m-p/12310966#M1990795</link>
      <description>&lt;P&gt;hi Andreas, yes I followed the blog - I thought you were referring to a different file. When I run the create-python-runtime.sh file from the command line (uncommented the -p lines) and also unsetting the PYTHONPATH and PYTHONHOME vars, I still get an error at right after the make altinstall command  (I did open the script and also included the make -j4 command suggested by Denys before the make altinstall clean&lt;/P&gt;&lt;P&gt;the output of the create-python-runtime.sh attached&lt;/P&gt;&lt;P&gt;&lt;A href="https://answers.sap.com/storage/temp/1892057-output.txt"&gt;output.txt&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Feb 2021 21:58:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/python-3-runtime-in-hana-xsa/m-p/12310966#M1990795</guid>
      <dc:creator>SergioG_TX</dc:creator>
      <dc:date>2021-02-23T21:58:29Z</dc:date>
    </item>
    <item>
      <title>Re: Python 3 Runtime in HANA XSA</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/python-3-runtime-in-hana-xsa/m-p/12310967#M1990796</link>
      <description>&lt;P&gt;Hi Sergio,&lt;/P&gt;&lt;P&gt;thanks for the output. There is another package missing and the reason why the make failed.&lt;/P&gt;&lt;P&gt;Please check with zypper search libuuid-devel and as this should be missing install this via zypper install libuuid-devel.&lt;/P&gt;&lt;P&gt;Rerun the script. The make -j4 isn't really necessary. If all the needed packages installed the script  should run without errors.&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Andreas&lt;/P&gt;</description>
      <pubDate>Wed, 24 Feb 2021 08:28:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/python-3-runtime-in-hana-xsa/m-p/12310967#M1990796</guid>
      <dc:creator>ansteiner</dc:creator>
      <dc:date>2021-02-24T08:28:44Z</dc:date>
    </item>
    <item>
      <title>Re: Python 3 Runtime in HANA XSA</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/python-3-runtime-in-hana-xsa/m-p/12310968#M1990797</link>
      <description>&lt;P&gt;thank you for the response Andreas. I added the libuuid-devel and tried the steps to create the runtime but i am still getting errors on the altinstall step unfortunately. I will keep trying&lt;/P&gt;</description>
      <pubDate>Fri, 26 Feb 2021 12:32:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/python-3-runtime-in-hana-xsa/m-p/12310968#M1990797</guid>
      <dc:creator>SergioG_TX</dc:creator>
      <dc:date>2021-02-26T12:32:44Z</dc:date>
    </item>
    <item>
      <title>Re: Python 3 Runtime in HANA XSA</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/python-3-runtime-in-hana-xsa/m-p/12310969#M1990798</link>
      <description>&lt;P&gt;Hi Sergio,&lt;/P&gt;&lt;P&gt;please check the &lt;A href="https://github.com/saphanaacademy/python" target="_blank"&gt;github project&lt;/A&gt; for updates. I improved the create-python-runtime script already. It will first check the required packages, before the build will start and will do some further checks after every process call to avoid an upload of a broken or incomplete Python runtime to XSA.&lt;/P&gt;&lt;P&gt;Please provide the complete output again to check the latest error.&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Andreas&lt;/P&gt;</description>
      <pubDate>Fri, 26 Feb 2021 12:42:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/python-3-runtime-in-hana-xsa/m-p/12310969#M1990798</guid>
      <dc:creator>ansteiner</dc:creator>
      <dc:date>2021-02-26T12:42:55Z</dc:date>
    </item>
    <item>
      <title>Re: Python 3 Runtime in HANA XSA</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/python-3-runtime-in-hana-xsa/m-p/12310970#M1990799</link>
      <description>&lt;P&gt;thank you for the updated script - I was able to run it and still getting an error during the altinstall step. &lt;/P&gt;&lt;P&gt;attached is the output --&amp;gt;   &lt;A href="https://answers.sap.com/storage/temp/1897593-outsat.txt"&gt;outsat.txt&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 27 Feb 2021 16:20:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/python-3-runtime-in-hana-xsa/m-p/12310970#M1990799</guid>
      <dc:creator>SergioG_TX</dc:creator>
      <dc:date>2021-02-27T16:20:26Z</dc:date>
    </item>
    <item>
      <title>Re: Python 3 Runtime in HANA XSA</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/python-3-runtime-in-hana-xsa/m-p/12310971#M1990800</link>
      <description>&lt;P&gt;Hi Sergio,&lt;/P&gt;&lt;P&gt;you are still struggling with the Python make. There are still issues with Python packages like pip:&lt;/P&gt;&lt;P&gt;Can't list '/usr/sap/HXE/home/builds/Python-3.9.1/lib/python3.9/site-packages/pip'  and some others.&lt;/P&gt;&lt;P&gt;In addition there are some strange permission issues:&lt;/P&gt;&lt;P&gt;Compiling '/usr/sap/HXE/home/builds/Python-3.9.1/lib/python3.9/config-3.9-x86_64-linux-gnu/python-config.py'...
*** PermissionError: [Errno 13] Permission denied: '/usr/sap/HXE/home/builds/Python-3.9.1/lib/python3.9/config-3.9-x86_64-linux-gnu/__pycache__/python-config.cpython-39.opt-1.pyc.140048625805776'&lt;/P&gt;&lt;P&gt;I would recommend to cleanup the folders builds, source, Downloads in home of hxeadm (/usr/sap/HXE/home) and rerun the script again.&lt;/P&gt;&lt;P&gt;If there are still issues it must be somehow related to the vm you are running into. Do you have the possibility to make the Python on another host?&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;P&gt;Andreas&lt;/P&gt;</description>
      <pubDate>Mon, 01 Mar 2021 12:57:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/python-3-runtime-in-hana-xsa/m-p/12310971#M1990800</guid>
      <dc:creator>ansteiner</dc:creator>
      <dc:date>2021-03-01T12:57:07Z</dc:date>
    </item>
    <item>
      <title>Re: Python 3 Runtime in HANA XSA</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/python-3-runtime-in-hana-xsa/m-p/12310972#M1990801</link>
      <description>&lt;P&gt;I wish I had better answers but it is still not working.&lt;/P&gt;&lt;P&gt;I have tried this on 3 different VM ware versions and i get the errors before mentioned. I also tried on an Oracle Virtual box getting the same errors. &lt;/P&gt;&lt;P&gt;I went ahead and tried the Express edition on an EC2 instance on AWS but the issue I am now facing is that the terminal does not seem to take the root password. I assume the root password is the one I have to change initially from HXEHana1 to my new password? is there a different default password I am not aware of on HXE? I have tried installing this a couple of times and it is failing on the root password so I am not even able to install any of the packages. In all the other videos from HANA academy, they are using google cloud, is there something unique about google cloud? I feel really lost on something that seems to be fairly simple. I do not see any other post from anyone else having this error. any advice on which vm i need to try next? &lt;/P&gt;</description>
      <pubDate>Tue, 09 Mar 2021 22:58:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/python-3-runtime-in-hana-xsa/m-p/12310972#M1990801</guid>
      <dc:creator>SergioG_TX</dc:creator>
      <dc:date>2021-03-09T22:58:08Z</dc:date>
    </item>
    <item>
      <title>Re: Python 3 Runtime in HANA XSA</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/python-3-runtime-in-hana-xsa/m-p/12310973#M1990802</link>
      <description>&lt;P&gt;Hi Sergio,&lt;/P&gt;&lt;P&gt;it's really strange that the python make is not working. Did the error change after you installed the libuuid-devel or was it really still the same error? Can you provide the whole output again? Perhaps you can also ask the python community for some support with the make. &lt;/P&gt;&lt;P&gt;I'm not an expert about the HXE. Perhaps &lt;SPAN class="mention-scrubbed"&gt;denys.kempen&lt;/SPAN&gt; can help with this.&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Andreas&lt;/P&gt;</description>
      <pubDate>Thu, 11 Mar 2021 14:24:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/python-3-runtime-in-hana-xsa/m-p/12310973#M1990802</guid>
      <dc:creator>ansteiner</dc:creator>
      <dc:date>2021-03-11T14:24:07Z</dc:date>
    </item>
    <item>
      <title>Re: Python 3 Runtime in HANA XSA</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/python-3-runtime-in-hana-xsa/m-p/12310974#M1990803</link>
      <description>&lt;P&gt;Will check, to be continued...&lt;/P&gt;</description>
      <pubDate>Thu, 11 Mar 2021 14:49:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/python-3-runtime-in-hana-xsa/m-p/12310974#M1990803</guid>
      <dc:creator>dvankempen</dc:creator>
      <dc:date>2021-03-11T14:49:01Z</dc:date>
    </item>
    <item>
      <title>Re: Python 3 Runtime in HANA XSA</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/python-3-runtime-in-hana-xsa/m-p/12310975#M1990804</link>
      <description>&lt;P&gt;Andreas, thank you for your continued support on this question. I was able to rebuilt my vm (vm ware) and install, import, etc... however, the create runtime file is still throwing the error related to no acceptable C compiler. &lt;/P&gt;&lt;P&gt;see attached file.&lt;A href="https://answers.sap.com/storage/temp/1900065-output.txt"&gt;output.txt&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Mar 2021 19:57:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/python-3-runtime-in-hana-xsa/m-p/12310975#M1990804</guid>
      <dc:creator>SergioG_TX</dc:creator>
      <dc:date>2021-03-17T19:57:30Z</dc:date>
    </item>
    <item>
      <title>Re: Python 3 Runtime in HANA XSA</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/python-3-runtime-in-hana-xsa/m-p/12310976#M1990805</link>
      <description>&lt;P&gt;Hi Sergio,&lt;/P&gt;&lt;P&gt;for sure, you need a compiler installed to build python. See also &lt;A href="https://devguide.python.org/setup/#build-dependencies" target="test_blank"&gt;https://devguide.python.org/setup/#build-dependencies&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;So install the gcc and rerun the script.&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Andreas &lt;/P&gt;</description>
      <pubDate>Thu, 18 Mar 2021 08:14:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/python-3-runtime-in-hana-xsa/m-p/12310976#M1990805</guid>
      <dc:creator>ansteiner</dc:creator>
      <dc:date>2021-03-18T08:14:11Z</dc:date>
    </item>
    <item>
      <title>Re: Python 3 Runtime in HANA XSA</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/python-3-runtime-in-hana-xsa/m-p/12310977#M1990806</link>
      <description>&lt;P&gt;Hi Sergio,&lt;/P&gt;&lt;P&gt;I know it's been a while since you posted this thread. However, since you mentioned that you built your own python_buildpack, I'm wondering if we need to do the same.&lt;/P&gt;&lt;P&gt;We were able to build the Python Runtime for multiple versions using a slightly modified [repo](https://github.com/draschke/rhel-create-xsa-python-runtime.sh) from [Andreas](https://github.com/saphanaacademy/python) and push it to XSA.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;/CODE&gt;&lt;/PRE&gt;vscode ➜ /workspaces/python/pyapp $ xs runtimes | grep pythonpython3               3.10.13      23   true       true     Python 3.10.13                                 0python3               3.12.0       22   true       true     Python 3.12.0                                  0python3               3.9.17       24   true       true     Python 3.9.17                                  0&lt;BR /&gt;vscode ➜ /workspaces/python/pyapp $ xs buildpacksbuildpacks             version   position   enabledsap_python_buildpack   0.5.3     4          true&lt;P&gt;However, we are now getting the following error when pushing the sample app [pyapp](https://help.sap.com/docs/SAP_HANA_PLATFORM/4505d0bdaf4948449b7f7379d24d0f0d/5fdcf7f11e9c4979a83d00e9ca44b67a.html?version=2.0.05&amp;amp;locale=en-US) &lt;/P&gt;xs push --verbose pyapp&lt;PRE&gt;&lt;CODE&gt;&lt;/CODE&gt;&lt;/PRE&gt;OUT   Detect: BUILD_DIR             [/hana/shared/sid/xs/app_working/stager/stager-sidxsaspace2xsa/work/64d8b540-5b83-488f-9efb-231f9535b6a5-6/droplet/app]   OUT   Detect: BUILDPACK_DIR [/hana/shared/sid/xs/app_working/stager/stager-sidxsaspace2xsa/cache/264513e6-7dc1-442d-8b01-17123507f88e/bin/..]   OUT   Python Buildpack version: 0.5.3   ERR   compile: python3 detected at /bin/python3   OUT   Logging was set to INFO   OUT   Compile: started, running with python version: 3.6.8   OUT   Compile: BUILD_DIR              [/hana/shared/sid/xs/app_working/stager/stager-sidxsaspace2xsa/work/64d8b540-5b83-488f-9efb-231f9535b6a5-6/droplet/app]   OUT   Compile: CACHE_DIR              [/hana/shared/sid/xs/app_working/stager/stager-sidxsaspace2xsa/cache/20e5c823-654f-4cad-a749-e108192e40e3-264513e6-7dc1-442d-8b01-17123507f8         8e]   OUT   Compile: BUILDPACK_DIR  [/hana/shared/sid/xs/app_working/stager/stager-sidxsaspace2xsa/cache/264513e6-7dc1-442d-8b01-17123507f88e]   OUT   Compile: running on     [Linux exvmdsapsidrdb 4.18.0-305.91.1.el8_4.x86_64 #1 SMP Thu May 18 15:06:49 EDT 2023 x86_64]   OUT   Compile: application requires python version 3.12.0&lt;BR /&gt;   ERR   Execution of bin/compile failed (exit value 1)   ERR   Failed to stage app 'pyapp' [Org 'XSA', Space 'DEV_SANDBOX']: Execution of bin/compile failed (exit value 1).&lt;P&gt;The system is trying to build the app with Python 3.6.8, even though we have the runtime 3.12.0 in XSA. Do we need to build the Python buildpack ourselves?&lt;/P&gt;&lt;P&gt;Thanks,
Dirk&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Oct 2023 11:28:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/python-3-runtime-in-hana-xsa/m-p/12310977#M1990806</guid>
      <dc:creator>draschke</dc:creator>
      <dc:date>2023-10-11T11:28:03Z</dc:date>
    </item>
  </channel>
</rss>

