onelogin/onelogin-python-aws-assume-role

Python script does not work on M1 Max hardware

BaltimoreMutt opened this issue · 1 comments

Our dev team is running into an issue with the new M1 Max 16" machines. There is already a case open with OneLogin Support. Case CS0304481. Error we are receiving is in that case .

Can you try installing lxml-4.6.4-5 version instead lxml-4.6.4?

The latest official lxml version is 4.6.4, but at lxml repository, you can find a lxml-4.6.4-5 version

in order to install it directly from github:

 pip install git+https://github.com/lxml/lxml.git@24a459910130afc8a16bdecdde35ca9d5aa47f1d#egg=lxml

but before doing that, make sure you have the python header files (python3.X-dev package) installed in your system and Cython as well

To install Cython

pip install Cython

Let's see if the latest version of lxml works on M1