Installing iotedgehubdev on MacOS

After spending whole afternoon trying to get the latest version of Azure IoT Edge Hub Dev Tools (iotedgehubdev) running on my M1 MacBook, I felt kinda obligated to share it here and save someone else's afternoon. My Environment is following: Apple Silicon M1 MacBook running Ventura Apple Pre-Installed Python3 version 3.10.4 (or probably with XCode Tools) Latest version of iotedgehubdev package (as of writing the post) is 0.18.14 I was too naive thinking that by using existing pip installer to simply install the iotedgehubdev package, the work would be done like shown in the installation instructions on github page of the project: pip install --upgrade iotedgehubdev And for the moment it looked like everything is fine and installed until I have figured out that the version of the iotedgehubdev binary is 0.11.1! Which is more then 3 years old release! It turns out that the only way to get the latest version of iotedgehubdev package on the MacOS is to do following steps: 1. Install Python 3.9 Use Homebrew to install Python 3.9 as this is the latest Python release supported by iotedgehubdev: brew install python@3.9 2. Use pip3.9 After that, use newly installed pip3.9 to install iotedgehubdev package: pip3.9 install iotedgehubdev Now, you do get the latest version of the iotedgehubdev package, but if you try to run the binary, you will be confronted with following exception indicated the version mismatch or breaking changes in OpenSSL package: AttributeError: module 'lib' has no attribute 'OpenSSL_add_all_algorithms' To solve that, you will need to continue with Step 3. 3. Update pip3.9 and PyOpenSSL Execute following commands to update the pip3.9 and PyOpenSSL: pip3.9 install --upgrade pip pip3.9 install --upgrade pyOpenSSL Now you should be having a running latest version iotedgehubdev binary!

zum Artikel gehen

Getting Started with Hugo

Step 1. Install Hugo Goto hugo releases and download the appropriate version for your os and architecture. Save it somewhere specific as we will be using it in the next step. More complete instructions are available at installing hugo Step 2. Build the Do

zum Artikel gehen

Basilisk II

Basilisk is less of an emulator and more a virtual machine. On 68k Ataris, the CPU isn't emulated, giving Basilisk a huge performance advantage over Mini vMac. It can be compared to older virtual machines like Aladin or Spectre, but supports graphic cards

zum Artikel gehen

Building Qt OPC UA with open62541

Qt OPC UA is not included in the Qt installer and must be built from source. The open62541 backend is currently the most stable and feature complete open source backend in Qt OPC UA. The open62541 library has minimal external dependencies and can be built

zum Artikel gehen

Extending the sensor range: The new LORENTZ CLS Water Sensor

Capacity Level Sensor Advanced technology for run dry protection of surface pumps Reliably protecting your pump against running dry is critical for any surface pump installation. Using capacitive sensor technology, the CLS Water Sensor ensures reliable f

zum Artikel gehen

MacBook Pro Retina: Mit M.2 SSD aufrüsten (Anleitung)

Wie beim Arbeitsspeicher, der mittlerweile fest verlötet ist, neigt Apple auch bei der SSD dazu Hürden zu schaffen, damit man diese nur bei Apple selbst für teures Geld kauft. So setzt Apple bei den im Macbook verbauten SSDs prinzipiell auf normale PCIe T

zum Artikel gehen