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



On Fri, Aug 24, 2018 at 5:18 AM Craig Richards <craig@xxxxxxxxxxxxxxxx> wrote:
What I'd like to do now is install xlsxwriter into the RPM python3
installation.
I'm not really sure how to do that - do I need to use yum manually to do
that?

No, once Python is installed, the idea is to use pip for everything
related to that installation of Python.

I don't have any of the PASE Pythons to test for myself, but there
should be a pip that is specific to your Python 3.6.6. If you can't
find that, then you can invoke pip not as a standalone command but as
a Python script that is run by the desired Python interpreter. For
example, assuming your path and/or current directory is such that
`python` refers to the Python you want, do

python -m pip install xlsxwriter

Also, on a slightly different note, although the RPM version of python
3.6.6 works fine for my json pretty print requirement, I notice that if I
run QSH interactively and then /QOpenSys/pkgs/bin/python3 to go into python
it behaves differently to the other installs of python2 and python3 -if I
type something and press enter, it takes just the first letter of what I
have typed, if I press enter a second time, the rest of what I typed
appears on the next line down and then runs?

As I said, I can't test this myself, but the preferred way to work
with any of the PASE Pythons is to set up your i to accept SSH
sessions, and then log in that way. You'll then have a much more
Unix-like environment. The 5250 is just not a TTY-style terminal
interface, and you really need that to use PASE effectively (and
sanely!).

Sadly, I don't have any tips on how to tell if you are set up for SSH
(other than just trying to connect using PuTTY or similar software),
and more importantly how to set it up if it's not already. But plenty
of others here can chime in because they all use SSH for their PASE
work.

John Y.

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.