rainmaker cli fail
Posted: Wed Mar 31, 2021 2:29 pm
Hi there,
I've come back to the rainmaker part of my project and the CLI is now failing to run. I've reinstalled rainmaker and rerun the clip setup requirements.txt but I get this when trying to login (or any other cli command. Any ideas>?
I ran: ./rainmaker.py login <my email address>
Any tips on where I even start to solve this?
Thank you
I've come back to the rainmaker part of my project and the CLI is now failing to run. I've reinstalled rainmaker and rerun the clip setup requirements.txt but I get this when trying to login (or any other cli command. Any ideas>?
I ran: ./rainmaker.py login <my email address>
Code: Select all
Failed to import ESP Rainmaker library. dlopen(/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/cryptography/hazmat/bindings/_constant_time.abi3.so, 2): no suitable image found. Did find:
/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/cryptography/hazmat/bindings/_constant_time.abi3.so: no matching architecture in universal wrapper
/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/cryptography/hazmat/bindings/_constant_time.abi3.so: no matching architecture in universal wrapper
Traceback (most recent call last):
File "/Users/colinives/esp/esp-idf/esp-rainmaker/cli/./rainmaker.py", line 19, in <module>
from rmaker_cmd.node import *
File "/Users/colinives/esp/esp-idf/esp-rainmaker/cli/rmaker_cmd/node.py", line 34, in <module>
raise err
File "/Users/colinives/esp/esp-idf/esp-rainmaker/cli/rmaker_cmd/node.py", line 31, in <module>
from rmaker_tools.rmaker_claim.claim import claim
File "/Users/colinives/esp/esp-idf/esp-rainmaker/cli/rmaker_tools/rmaker_claim/claim.py", line 28, in <module>
from cryptography import x509
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/cryptography/x509/__init__.py", line 8, in <module>
from cryptography.x509.base import (
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/cryptography/x509/base.py", line 16, in <module>
from cryptography.x509.extensions import Extension, ExtensionType
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/cryptography/x509/extensions.py", line 18, in <module>
from cryptography.hazmat.primitives import constant_time, serialization
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/cryptography/hazmat/primitives/constant_time.py", line 11, in <module>
from cryptography.hazmat.bindings._constant_time import lib
ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/cryptography/hazmat/bindings/_constant_time.abi3.so, 2): no suitable image found. Did find:
/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/cryptography/hazmat/bindings/_constant_time.abi3.so: no matching architecture in universal wrapper
/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/cryptography/hazmat/bindings/_constant_time.abi3.so: no matching architecture in universal wrapper
Thank you