|
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 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.