cancel
Showing results for 
Search instead for 
Did you mean: 
Community Discussions
Connect with fellow community members to discuss general topics related to the Databricks platform, industry trends, and best practices. Share experiences, ask questions, and foster collaboration within the community.
cancel
Showing results for 
Search instead for 
Did you mean: 

unable to install pymqi in azure databricks

lightningStrike
New Contributor III

Hi,

I am trying to install pymqi via below command:

pip install pymqi
 
However, I am getting below error message:
Python interpreter will be restarted. Collecting pymqi Using cached pymqi-1.12.10.tar.gz (91 kB) Installing build dependencies: started Installing build dependencies: finished with status 'done' Getting requirements to build wheel: started Getting requirements to build wheel: finished with status 'error' ERROR: Command errored out with exit status 1: command: /local_disk0/.ephemeral_nfs/envs/pythonEnv-1454b70b-7238-4551-8de7-06983efe9a32/bin/python /local_disk0/.ephemeral_nfs/envs/pythonEnv-1454b70b-7238-4551-8de7-06983efe9a32/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py get_requires_for_build_wheel /tmp/tmp970h44wa cwd: /tmp/pip-install-q4v7lg9t/pymqi_fefb688bf530464286ed060f7637dc72 Complete output (18 lines): Traceback (most recent call last): File "/local_disk0/.ephemeral_nfs/envs/pythonEnv-1454b70b-7238-4551-8de7-06983efe9a32/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 349, in <module> main() File "/local_disk0/.ephemeral_nfs/envs/pythonEnv-1454b70b-7238-4551-8de7-06983efe9a32/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 331, in main json_out['return_val'] = hook(**hook_input['kwargs']) File "/local_disk0/.ephemeral_nfs/envs/pythonEnv-1454b70b-7238-4551-8de7-06983efe9a32/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 117, in get_requires_for_build_wheel return hook(config_settings) File "/usr/local/lib/python3.9/dist-packages/setuptools/build_meta.py", line 154, in get_requires_for_build_wheel return self._get_build_requires( File "/usr/local/lib/python3.9/dist-packages/setuptools/build_meta.py", line 135, in _get_build_requires self.run_setup() File "/usr/local/lib/python3.9/dist-packages/setuptools/build_meta.py", line 258, in run_setup super(_BuildMetaLegacyBackend, File "/usr/local/lib/python3.9/dist-packages/setuptools/build_meta.py", line 150, in run_setup exec(compile(code, __file__, 'exec'), locals()) File "setup.py", line 175, in <module> raise Exception('MQ libraries could not be found') Exception: MQ libraries could not be found
 
lightningStrike_0-1688995466000.png

 

3 REPLIES 3

sean_owen
Honored Contributor II
Honored Contributor II

It's pretty much was it says. The python package requires some OS libraries to be installed. I'm guessing the pymqi docs will tell you what is needed.

dplante
Contributor II

What would be really interesting here is to track what packages will and won't run on different versions of databricks - a git repo, google sheets, etc, 

The documentation would also be a good spot 🙂 https://docs.databricks.com/en/libraries/index.html

sean_owen
Honored Contributor II
Honored Contributor II

I don't think so, because it won't be specific to Databricks - this is all a property of the third party packages. And, there are billions of possible library conflicts. But this is not an example of a package conflict. It's an example of not completely installing a third party library.