ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General Discussion » Python - Absolutely, totally off topic

Post new topic  Reply to topic
 Python - Absolutely, totally off topic « View previous topic :: View next topic » 
Author Message
RogerLacroix
PostPosted: Thu Jul 30, 2020 9:31 am    Post subject: Python - Absolutely, totally off topic Reply with quote

Jedi Knight

Joined: 15 May 2001
Posts: 3253
Location: London, ON Canada

All,

Note: I know next to nothing about Python.

Kyle (son #3) is on a summer project for a Professor doing Machine Learning (MI). The data his Python code is processing has millions of lines, so it takes hours and hours to run. He has a new MacBook Pro but it gets really hot. Since I have a bunch of servers, I figured he could use one of them.

The fast server is running SLES 12 SP3 on x86 64-bit. I got Python 3 (i.e. python3-3.4.6-25.21.1.x86_64) installed but I cannot figure how to get "pip" installed. Thinking it was already installed, I checked the /usr/lib64/python3.4/ directory but did not find it.

Does anyone know where "pip" is installed or how to install it on SLES 12 SP3?

I appreciate any help.

Regards,
Roger Lacroix
Capitalware Inc.
_________________
Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter
Back to top
View user's profile Send private message Visit poster's website
fjb_saper
PostPosted: Thu Jul 30, 2020 1:22 pm    Post subject: Re: Python - Absolutely, totally off topic Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20696
Location: LI,NY

RogerLacroix wrote:
All,

Note: I know next to nothing about Python.

Kyle (son #3) is on a summer project for a Professor doing Machine Learning (MI). The data his Python code is processing has millions of lines, so it takes hours and hours to run. He has a new MacBook Pro but it gets really hot. Since I have a bunch of servers, I figured he could use one of them.

The fast server is running SLES 12 SP3 on x86 64-bit. I got Python 3 (i.e. python3-3.4.6-25.21.1.x86_64) installed but I cannot figure how to get "pip" installed. Thinking it was already installed, I checked the /usr/lib64/python3.4/ directory but did not find it.

Does anyone know where "pip" is installed or how to install it on SLES 12 SP3?

I appreciate any help.

Regards,
Roger Lacroix
Capitalware Inc.


Roger you surprise me... I would have thought you'd googled it
This is the result of my google search
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
RogerLacroix
PostPosted: Thu Jul 30, 2020 3:35 pm    Post subject: Re: Python - Absolutely, totally off topic Reply with quote

Jedi Knight

Joined: 15 May 2001
Posts: 3253
Location: London, ON Canada

fjb_saper wrote:
Roger you surprise me... I would have thought you'd googled it
This is the result of my google search

Being their, done that, many, many times.

I was having issues on SLES 12.3 (Linux) not Windows. Actually, I have it running perfectly on Windows 10. I even added GPU support on Windows. But I need my PC, so I wanted to push it off to one of my MQ servers.

Shoheel on the MQ ListServer said to use "zypper install python3-pip".

Here was my answer:

I had already tried that. My subscription to SLES is over and I did not renew, so the command fails.

I dug around and found the SLES 12.3 disc #1, put it in, ran the command again and hit ignore until it stopped bugging me then it accessed the disc then performed the install. So, it worked in the end.

Regards,
Roger Lacroix
Capitalware Inc.
_________________
Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter
Back to top
View user's profile Send private message Visit poster's website
fjb_saper
PostPosted: Thu Jul 30, 2020 5:21 pm    Post subject: Re: Python - Absolutely, totally off topic Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20696
Location: LI,NY

RogerLacroix wrote:
fjb_saper wrote:
Roger you surprise me... I would have thought you'd googled it
This is the result of my google search

Being their, done that, many, many times.

I was having issues on SLES 12.3 (Linux) not Windows. Actually, I have it running perfectly on Windows 10. I even added GPU support on Windows. But I need my PC, so I wanted to push it off to one of my MQ servers.

Shoheel on the MQ ListServer said to use "zypper install python3-pip".

Here was my answer:

I had already tried that. My subscription to SLES is over and I did not renew, so the command fails.

I dug around and found the SLES 12.3 disc #1, put it in, ran the command again and hit ignore until it stopped bugging me then it accessed the disc then performed the install. So, it worked in the end.

Regards,
Roger Lacroix
Capitalware Inc.

Ahhh. That did not clearly come out in your original message. Those pesky Linux support subscriptions. They will get to you, unless you can install from a downloaded rpm (you can hear my RHEL background there) or equivalent... Gotta love yum... (RHEL again)... in that google page I had found the second link very interesting https://packaging.python.org/tutorials/installing-packages/ as it also told how to install pip from the python command line... alas for python 3.6 not 3.4...
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General Discussion » Python - Absolutely, totally off topic
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.