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



Pete pointed me at your comment about having problems installing Pillow
for reportlab, which I missed since it was under a subject line about RPG.

Here's how I got Pillow installed:

$ wget https://pypi.python.org/Pillow-3.2.0.tar.gz
$ tar -xzf Pillow-3.2.0 # if you're using standard PASE tar, use "gzip
-d -c Pillow-3.2.0 | tar -xf -" instead
$ cd Pillow-3.2.0
$ export MAX_CONCURRENCY=1
$ python3 setup.py build_ext --disable-jpeg
$ python3 setup.py build_ext --disable-jpeg install

This will disable JPEG support though (still supports PNG and possibly
other formats). If you need JPEG support, you'll need to download libjpeg
or libjpeg-turbo (with libjpeg-turbo probably being preferable) and build
them. libjpeg is also available from Perzl, so that may be an option for
you as well. Additionally, if you have libjpeg installed you should just
be able to do pip install pillow and have things work, so long as you set
MAX_CONCURRENCy=1 first, since there seems to be a bug in the build
otherwise that just puts it in an infinite loop.

"OpenSource" <opensource-bounces@xxxxxxxxxxxx> wrote on 06/20/2016
12:26:07 PM:

From: Jim Steil <jim@xxxxxxxxxxxxxxx>
To: IBMi Open Source Roundtable <opensource@xxxxxxxxxxxx>
Date: 06/20/2016 12:26 PM
Subject: Re: [IBMiOSS] Error installing pandas
Sent by: "OpenSource" <opensource-bounces@xxxxxxxxxxxx>

So, it seems like you don't feel this is going to be as simple as 'pip
install pandas' any time soon. is that a fair statement? Also getting
errors installing reportlab. FWIW, I'm on Python 3 on IBM i.

-Jim

On Mon, Jun 20, 2016 at 12:11 PM, Kevin Adler <kadler@xxxxxxxxxx> wrote:

I'm assuming you're using the 5733OPS Python (since neither Perzl nor
IseriesPython package pip), though not sure if you're using 3.4 or 2.7
(possibly 2.7, since you said pip and not pip3). I don't see any
details
about what went wrong on the list. Pete Helgren emailed me about the
problem and mentioned NumPy and Pillow as being problematic, but I
don't
know where he got this information (off-list message?).

Anyway, looking at the requirements for Pandas, NumPy seems to be the
only
problematic one (pytz and python-dateutil are contain no C code (and
are
Python 2/3 agnostic), since they list a "py2-py3-non-any.whl" package.
NumPy doesn't depend on any other Python packages, but it does have
native
code and has a few external dependencies (
http://www.scipy.org/scipylib/building/linux.html):

Before building, you will also need to install packages that NumPy and
SciPy depend on
1) BLAS and LAPACK libraries (optional but strongly recommended for
NumPy,
required for SciPy): typically ATLAS + LAPACK, or MKL, or ACML
2) C and Fortran compilers (typically gcc and gfortran).
3) Python header files (typically a package named python-dev or
python-devel)
4) Unless you are building from released source packages, the Cython
compiler is necessary (typically in a package named cython). For
building
recent SciPy, it is possible that you need Cython in a newer version
than
is available in your distribution.

You'll need to build and install the items from #1. For #2, gcc can be
installed via the 5733OPS option 3 scripts, though not sure if it has
a
premade script for getting gfortran as well (it's available from
Perzl, so
should be easy enough to whip up if it isn't). We ship the python
header
files, so that's not #3 is not a problem. For #4, Cython is available
using pip.

"OpenSource" <opensource-bounces@xxxxxxxxxxxx> wrote on 06/20/2016
09:55:11 AM:

From: Jim Steil <jim@xxxxxxx>
To: opensource@xxxxxxxxxxxx
Date: 06/20/2016 11:17 AM
Subject: [IBMiOSS] Error installing pandas
Sent by: "OpenSource" <opensource-bounces@xxxxxxxxxxxx>

I'm getting a traceback error trying to install pandas - http://
pandas.pydata.org/

Steps to reproduce

1. Upgrade pip to the latest version: pip install -upgrade
pip
2. Install pandas: pip install pandas

Anyone else have any luck installing Pandas?

-Jim

Jim Steil
VP of Information Technology
Quality Liquid Feeds, Inc.
608.935.2345 x857 office
608.341.9896 cell
--
This is the IBMi Open Source Roundtable (OpenSource) mailing list
To post a message email: OpenSource@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/opensource
or email: OpenSource-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/opensource.



--
This is the IBMi Open Source Roundtable (OpenSource) mailing list
To post a message email: OpenSource@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/opensource
or email: OpenSource-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/opensource.

--
This is the IBMi Open Source Roundtable (OpenSource) mailing list
To post a message email: OpenSource@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/opensource
or email: OpenSource-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/opensource.




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.