question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

azure-iot-hub not available for pip installation

See original GitHub issue

Just tried to install azure-iot-hub using pip on my Ubuntu: sudo pip3 install azure-iot-hub error message is as below

Exception:
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/pip/basecommand.py", line 215, in main
    status = self.run(options, args)
  File "/usr/lib/python3/dist-packages/pip/commands/install.py", line 342, in run
    requirement_set.prepare_files(finder)
  File "/usr/lib/python3/dist-packages/pip/req/req_set.py", line 380, in prepare_files
    ignore_dependencies=self.ignore_dependencies))
  File "/usr/lib/python3/dist-packages/pip/req/req_set.py", line 554, in _prepare_file
    require_hashes
  File "/usr/lib/python3/dist-packages/pip/req/req_install.py", line 278, in populate_link
    self.link = finder.find_requirement(self, upgrade)
  File "/usr/lib/python3/dist-packages/pip/index.py", line 465, in find_requirement
    all_candidates = self.find_all_candidates(req.name)
  File "/usr/lib/python3/dist-packages/pip/index.py", line 423, in find_all_candidates
    for page in self._get_pages(url_locations, project_name):
  File "/usr/lib/python3/dist-packages/pip/index.py", line 568, in _get_pages
    page = self._get_page(location)
  File "/usr/lib/python3/dist-packages/pip/index.py", line 683, in _get_page
    return HTMLPage.get_page(link, session=self.session)
  File "/usr/lib/python3/dist-packages/pip/index.py", line 795, in get_page
    resp.raise_for_status()
  File "/usr/share/python-wheels/requests-2.18.4-py2.py3-none-any.whl/requests/models.py", line 935, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 404 Client Error: Not Found for url: https://pypi.org/simple/azure-iot-hub/

Most likely it boils down to nothing being available at https://pypi.org/simple/azure-iot-hub/ ?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
abouroubicommented, Oct 16, 2019

Any news on this ?

0reactions
abouroubicommented, Oct 16, 2019

We still have : “Note that these SDKs are currently in preview, and are subject to change.”

What kind of change are expected? Can I start the upgrade to this version in my production devices? Or will I have to update my code in few weeks because it is not stable

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error installing azure-iothub-device-client with Python pip
Trying to follow the tutorial about Azure IoT for Python I'm failing in the very first step... ... Some hint about this problem...
Read more >
azure-iot-hub 2.6.1 - PyPI
1. pip install azure-iot-hub. Copy PIP instructions. Latest version. Released: Nov 21 ...
Read more >
Understand Azure IoT Hub MQTT support - Microsoft Learn
Support for devices connecting to an IoT Hub device-facing endpoint using the MQTT protocol. Includes information about built-in MQTT ...
Read more >
azure-iothub-device-client-pip system dep - ROS Index
Not available. CentOS. All Versions. Not available. Cygwin. All Versions. Not available. Debian. Sarge. azure-iothub-device-client.
Read more >
error installing python3 azure-iot-hub on imx8m mi... - NXP Community
root@imx8mmevk:~# python3 -m pip install azure-iot-hub Collecting ... cmake: /usr/lib/libcurl.so.4: no version information available (required by cmake)
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found