× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Stay tuned as IBM and the Litmis team have been working on addressing
things like this. One page to follow is the ibmiperzl effort:
https://bitbucket.org/litmis/ibmiperzl

Using ibmiperzl can make python 2.7 install as simple as the following:

$ cd /QOpenSys/download
$ ./wwwperzl.sh aix61 wget python-2.7
$ ./wwwperzl.sh aix61 rpm python-2.7

Note ibmiperzl is the next chapter of the following:
http://youngiprofessionals.com/wiki/index.php/PASE/OpenSourceBinaries#perzl

Aaron Bartell
litmis.com - Services for open source on IBM i


On Wed, Oct 7, 2015 at 12:43 PM, Hiebert, Chris <
chris.hiebert@xxxxxxxxxxxxxx> wrote:

5733OPS installs Python as 'python3'. This throws a gyp error: 'Error:
Can't find Python executable "python"'

When I run npm install again I get a new gyp error: 'Python executable
"python" is v3.4.2, which is not supported by gyp'

IBM gave us Python 3.

As others have mentioned, there is a huge code base of Python 2.x and a
good portion of that code requires some changes before its Python 3.x
compatible.

From node-gyp Github page:
On Unix: python (v2.7 recommended, v3.x.x is not supported)

So it looks like you may not be able to use this tool unless you get
Python 2.x installed and you will potentially have to do that directly into
PASE since IBM only gave us Python 3.x through 5733OPS.

Chris Hiebert
Senior Programmer/Analyst
Disclaimer: Any views or opinions presented are solely those of the author
and do not necessarily represent those of the company.
--
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing
list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/web400.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.