unable to install pymqi in azure databricks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2023 06:09 AM - edited 07-10-2023 06:24 AM
Hi,
I am trying to install pymqi via below command:
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-04-2023 08:15 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-04-2023 06:23 PM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-04-2023 06:27 PM
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.