Please login or register. October 18, 2019, 09:52:57 PM

Author Topic: Paramiko for Python3  (Read 1220 times)

0 Members and 1 Guest are viewing this topic.

Duckabush

  • Jr. Member
  • **
  • Posts: 9
  • Karma: +0/-0
Re: Paramiko for Python3
« Reply #10 on: August 02, 2019, 06:10:00 AM »
Thanks, we will wait.

Our UniVerse install is by Rocket Software.

https://www.rocketsoftware.com/products/rocket-universe-0/rocket-universe

Michael

  • Administrator
  • Hero Member
  • *****
  • Posts: 1156
  • Karma: +0/-0
Re: Paramiko for Python3
« Reply #11 on: August 02, 2019, 12:33:30 PM »
I have updated the Python3 installable - to not need gnu.gettext or gnu.libiconv, and have updated the aixtools wiki with the page python.wheels - which is the direction I want to go. For now, installp is still needed.

p.s. - I have contacted Rocket to get a trial version of Universe. My hope is that you could reconfigure Universe to find my Python (and just leave the version supplied by Rocket alone).

Any questions - problems encountered?
« Last Edit: August 05, 2019, 12:33:01 PM by Michael »

Michael

  • Administrator
  • Hero Member
  • *****
  • Posts: 1156
  • Karma: +0/-0
Re: Paramiko for Python3
« Reply #12 on: August 05, 2019, 12:04:49 PM »
@Duckabush - is this working for you - or do you have a question?

Michael

  • Administrator
  • Hero Member
  • *****
  • Posts: 1156
  • Karma: +0/-0
Re: Paramiko for Python3
« Reply #13 on: August 05, 2019, 06:19:28 PM »
I had a quick chat with rocket software support.

Their version of Python (probably still 3.4.1) is embedded (at p[robable /opt/uv/python/....
There should be no conflict with their Python installation and mine residing at /opt/bin and /opt/lib/python3.7

Hope this helps!

Duckabush

  • Jr. Member
  • **
  • Posts: 9
  • Karma: +0/-0
Re: Paramiko for Python3
« Reply #14 on: August 05, 2019, 06:30:18 PM »
Thanks, we are checking it out today. Will report back. Thanks so much for your help.

@Michael

We ran
installp -d aixtools.python3.3.7.0.0.32bit.I -a all

It said python was already installed and didn't continue to install. When I tried to run python it is now uninstalled. Did I do something wrong?
« Last Edit: August 05, 2019, 09:38:44 PM by Duckabush »

Michael

  • Administrator
  • Hero Member
  • *****
  • Posts: 1156
  • Karma: +0/-0
Re: Paramiko for Python3
« Reply #15 on: August 06, 2019, 10:23:50 AM »
The command format is:

# installp -d <directory-name> -a all ## to install everything in directory

Note: when directory-name is a file-name, it only looks at that one file.

To see what is in a directory (read, what installp sees as being offered) compare

# installd -d <file-name> -L

with


# inutoc <dir-name> # just to be sure the .toc aka table-of-contents data is current
# installp -d <dir-name> -L


Hope this helps!

Duckabush

  • Jr. Member
  • **
  • Posts: 9
  • Karma: +0/-0
Re: Paramiko for Python3
« Reply #16 on: August 09, 2019, 09:06:35 PM »
Thanks, worked like a charm.

Duckabush

  • Jr. Member
  • **
  • Posts: 9
  • Karma: +0/-0
Re: Paramiko for Python3
« Reply #17 on: August 09, 2019, 09:19:54 PM »
Okay, maybe it didn't nothing is showing up on /opt/bin at this point.

Michael

  • Administrator
  • Hero Member
  • *****
  • Posts: 1156
  • Karma: +0/-0
Re: Paramiko for Python3
« Reply #18 on: August 11, 2019, 10:09:18 AM »
Try "# lslpp -f <fileset-name>".

There is a dependency on the 'latest' openssl.base (1.0.2.1601) for aixtools.python3.rte.

Please use: "# lslpp -L openssl.base" and let me know the result.

Duckabush

  • Jr. Member
  • **
  • Posts: 9
  • Karma: +0/-0
Re: Paramiko for Python3
« Reply #19 on: August 12, 2019, 08:03:44 PM »
$ lslpp -L openssl.base
  Fileset                      Level  State  Type  Description (Uninstaller)
  ----------------------------------------------------------------------------
  openssl.base            1.0.2.1500    C     F    Open Secure Socket Layer


State codes:
 A -- Applied.
 B -- Broken.
 C -- Committed.
 E -- EFIX Locked.
 O -- Obsolete.  (partially migrated to newer version)
 ? -- Inconsistent State...Run lppchk -v.

Type codes:
 F -- Installp Fileset
 P -- Product
 C -- Component
 T -- Feature
 R -- RPM Package
E -- Interim Fix