The Azure IoT Edge Dev Tool greatly simplifies your Azure IoT Edge development process. It has everything you need to get started and helps with your day-to-day Edge development.
ERROR: Traceback (most recent call last):
File "/usr/local/python/current/bin/iotedgehubdev", line 5, in
from iotedgehubdev.cli import main
File "/usr/local/python/3.9.19/lib/python3.9/site-packages/iotedgehubdev/cli.py", line 15, in
from .edgecert import EdgeCert
File "/usr/local/python/3.9.19/lib/python3.9/site-packages/iotedgehubdev/edgecert.py", line 4, in
from .certutils import EdgeCertUtil
File "/usr/local/python/3.9.19/lib/python3.9/site-packages/iotedgehubdev/certutils.py", line 6, in
from OpenSSL import crypto
File "/usr/local/python/3.9.19/lib/python3.9/site-packages/OpenSSL/init.py", line 8, in
from OpenSSL import crypto, SSL
File "/usr/local/python/3.9.19/lib/python3.9/site-packages/OpenSSL/crypto.py", line 1570, in
class X509StoreFlags(object):
File "/usr/local/python/3.9.19/lib/python3.9/site-packages/OpenSSL/crypto.py", line 1589, in X509StoreFlags
NOTIFY_POLICY = _lib.X509_V_FLAG_NOTIFY_POLICY
AttributeError: module 'lib' has no attribute 'X509_V_FLAG_NOTIFY_POLICY'
python --version (Python 3.9.19)
pip --version (pip 24.0 from /usr/local/python/3.9.19/lib/python3.9/site-packages/pip (python 3.9))
While doing iotedgedev simulator setup, it give error AttributeError: module 'lib' has no attribute 'X509_V_FLAG_NOTIFY_POLICY'
iotedgedev simulator setup
Environment Variables loaded from: .env (/workspaces/xxxx/xxx/xx/.env)
SETTING UP IOT EDGE SIMULATOR
ERROR: Traceback (most recent call last): File "/usr/local/python/current/bin/iotedgehubdev", line 5, in
from iotedgehubdev.cli import main
File "/usr/local/python/3.9.19/lib/python3.9/site-packages/iotedgehubdev/cli.py", line 15, in
from .edgecert import EdgeCert
File "/usr/local/python/3.9.19/lib/python3.9/site-packages/iotedgehubdev/edgecert.py", line 4, in
from .certutils import EdgeCertUtil
File "/usr/local/python/3.9.19/lib/python3.9/site-packages/iotedgehubdev/certutils.py", line 6, in
from OpenSSL import crypto
File "/usr/local/python/3.9.19/lib/python3.9/site-packages/OpenSSL/init.py", line 8, in
from OpenSSL import crypto, SSL
File "/usr/local/python/3.9.19/lib/python3.9/site-packages/OpenSSL/crypto.py", line 1570, in
class X509StoreFlags(object):
File "/usr/local/python/3.9.19/lib/python3.9/site-packages/OpenSSL/crypto.py", line 1589, in X509StoreFlags
NOTIFY_POLICY = _lib.X509_V_FLAG_NOTIFY_POLICY
AttributeError: module 'lib' has no attribute 'X509_V_FLAG_NOTIFY_POLICY'