Please login or register. June 19, 2018, 04:24:50 PM

Author Topic: Python3 64bit package  (Read 156 times)

0 Members and 1 Guest are viewing this topic.

sap_dude

  • New Member
  • *
  • Posts: 2
  • Karma: +0/-0
Python3 64bit package
« on: May 30, 2018, 07:04:15 AM »
Hello,
would it please be possible to provide also the 64bit version of the python3 package? I've tried compiling it myself without much success.

Michael

  • Administrator
  • Hero Member
  • *****
  • Posts: 1079
  • Karma: +0/-0
Re: Python3 64bit package
« Reply #1 on: June 01, 2018, 04:45:53 PM »
No problem. I'll have to think about how I "label" it.

For now - the packaging will be either 32 or 64 bit. If you think there is a real need for both, I'll think about using different "prefixes", e.g., /opt/bin/64 for the executables. The libraries will be dual sized - aka /opt/lib/python3.6 for both 32-bit and 64-bit libraries.

Also, out of curiosity - did you try my github branch with the extra patch for Lib/ctypes ?

Michael

  • Administrator
  • Hero Member
  • *****
  • Posts: 1079
  • Karma: +0/-0
Re: Python3 64bit package
« Reply #2 on: June 01, 2018, 07:13:53 PM »
Done. Also includes (embedded) the latest xz aka lzma library (version 5.2.4).

See http://www.aixtools.net/index.php/python3

sap_dude

  • New Member
  • *
  • Posts: 2
  • Karma: +0/-0
Re: Python3 64bit package
« Reply #3 on: June 06, 2018, 02:35:03 PM »
Hello Michael,
thanks a lot for such a prompt response and results! Much appreciated, guess I should buy you a beer at least.

I must admit I have not tried it, I only played with the vanilla source.
I'll try and install the package, and test it with the cx_Oracle module and 64bit Oracle client.

Best regards
Jiri

Michael

  • Administrator
  • Hero Member
  • *****
  • Posts: 1079
  • Karma: +0/-0
Re: Python3 64bit package
« Reply #4 on: June 06, 2018, 04:03:46 PM »
My pleasure. And I think you will be happier that I use the IBM compiler rather than gcc.

I did not try using pip, so I have not checked if it works. With Python2 I have often needed to tweek it before I repackage it.

Looking forward to your feedback.

Michael

Michael

  • Administrator
  • Hero Member
  • *****
  • Posts: 1079
  • Karma: +0/-0
Re: Python3 64bit package
« Reply #5 on: June 08, 2018, 06:51:31 PM »
just tested "pip3 install" using numpy and it worked fine for me.

Only one thing you need to remember to do. Before calling "pip3 install numpy", you should "export OBJECT_MODE=64" or you are likely to get errors when a 32-bit application tries to become "linkable" with 64-bit python.

HtH, Michael