Python Forum
Accessing IBM MQ using Python
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Accessing IBM MQ using Python
#1
Hi,
I am looking to access IBM MQ via python, pyMQI looks to need C compiler, so unable to use it as I dont have option of installing the same on everyone who would be running the script. Any suggestion or pointer would help?

Thanks,
Rj
Reply
#2
you can install pymqi see: https://dsuch.github.io/pymqi/
install from command line with:

first try pip -V to see if pip is for proper version of python
if so, use
pip install pymqi
if not, use:
pip3 install pymqi
to use, follow instructions on above link
Reply
#3
I tried pymqi. It looks like its just a wrapper around pymqe which requires a c compiler to compile it before I can use it (if my understanding is correct)
Reply
#4
it's 'pymqi'.
Did you read the page link above?
I see nothing at all about having to compile anything!
what happened when you tried?
show code used for attempt.
Reply
#5
Yes, I did, first thing mymqi does is import pymqe. And so I get the error

import pymqe # Backward compatibility
ImportError: No module named pymqe
Reply
#6
I have taken the route of using Jython, but if there is an option using python compiler, would be great
Reply
#7
Quote:Yes, I did, first thing mymqi does is import pymqe. And so I get the error
Did you install the package?
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Accessing same python script from multiple computers bigrockcrasher 1 1,632 May-25-2022, 08:35 PM
Last Post: Gribouillis
  Python modules for accessing the configuration of relevant paths Imago 1 1,323 May-07-2022, 07:28 PM
Last Post: Larz60+
  List index out of range error while accessing 2 lists in python K11 2 2,056 Sep-29-2020, 05:24 AM
Last Post: K11
  Accessing IP Cam Audio In Python Haselsmasher 1 5,413 Jul-10-2020, 02:59 AM
Last Post: kiliantics
  Accessing nested dictionary values. Plistlib, Python 2.7 williamlombard 32 20,512 Sep-29-2017, 06:46 AM
Last Post: williamlombard
  Accessing files via python gahdzilla 4 5,360 Jul-02-2017, 07:11 PM
Last Post: snippsat
  Accessing kivy label from Python d4py 0 5,242 Dec-31-2016, 08:57 PM
Last Post: d4py

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020