Can't install pip3 package with 6.11.5, worked before


gekoch
Go to solution Solved by gekoch,

Recommended Posts

I did just update from 6.11.1 to 6.11.5.

Ihave a few pip packages running so that the scripts I use can work properly.

 

In 6.11.1 the paho-mqtt worked flawless.

Now when i try to install it via pip3 install paho-mqtt I get this error:

Collecting paho-mqtt
  Using cached paho-mqtt-1.6.1.tar.gz (99 kB)
  Preparing metadata (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: /usr/bin/python3 -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-q2n_lrtx/paho-mqtt_4bc42d8c1fdd41d2b2b46d5e70e4bfe2/setup.py'"'"'; __file__='"'"'/tmp/pip-install-q2n_lrtx/paho-mqtt_4bc42d8c1fdd41d2b2b46d5e70e4bfe2/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-l0w8az9o
       cwd: /tmp/pip-install-q2n_lrtx/paho-mqtt_4bc42d8c1fdd41d2b2b46d5e70e4bfe2/
  Complete output (11 lines):
  Traceback (most recent call last):
    File "<string>", line 1, in <module>
    File "/usr/lib64/python3.9/site-packages/setuptools/__init__.py", line 18, in <module>
      from setuptools.dist import Distribution
    File "/usr/lib64/python3.9/site-packages/setuptools/dist.py", line 38, in <module>
      from setuptools import windows_support
    File "/usr/lib64/python3.9/site-packages/setuptools/windows_support.py", line 2, in <module>
      import ctypes
    File "/usr/lib64/python3.9/ctypes/__init__.py", line 8, in <module>
      from _ctypes import Union, Structure, Array
  ImportError: libffi.so.7: cannot open shared object file: No such file or directory
  ----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/f8/dd/4b75dcba025f8647bc9862ac17299e0d7d12d3beadbf026d8c8d74215c12/paho-mqtt-1.6.1.tar.gz#sha256=2a8291c81623aec00372b5a85558a372c747cbca8e9934dfe218638b8eefc26f (from https://pypi.org/simple/paho-mqtt/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

      
ERROR: Could not find a version that satisfies the requirement paho-mqtt (from versions: 0.4.90, 0.4.91, 0.4.92, 0.4.94, 0.9, 0.9.1, 1.0, 1.1, 1.2, 1.2.1, 1.2.2, 1.2.3, 1.3.0, 1.3.1, 1.4.0, 1.5.0, 1.5.1, 1.6.0, 1.6.1)
ERROR: No matching distribution found for paho-mqtt

 

Apparently the Distro changed from 6.11.1 to 6.11.5...

 

Andy

Edited by gekoch
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.