You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to use the Wheel files in an AWS Lambda but get this error:
Unable to import module 'myprj/__init__': /var/task/dragnet/blocks.so: invalid ELF header
Apparently the problem is because AWS Lambda's run on Linux and the dragnet import was built on another platform (mac os, according to the name dragnet-2.0.4-cp27-cp27m-macosx_10_14_x86_64.whl).
Trying to use the Wheel files in an AWS Lambda but get this error:
Unable to import module 'myprj/__init__': /var/task/dragnet/blocks.so: invalid ELF header
Apparently the problem is because AWS Lambda's run on Linux and the dragnet import was built on another platform (mac os, according to the name dragnet-2.0.4-cp27-cp27m-macosx_10_14_x86_64.whl).
A work around is explained here: https://tg4.solutions/how-to-resolve-invalid-elf-header-error/
Any chance of a fix? i.e the wheel here: https://pypi.org/project/dragnet/#files can be updated to support all platforms.
Here is an example of a wheel that works on all platforms: https://pypi.org/project/requests/#files (requests-2.23.0-py2.py3-none-any.whl)
The text was updated successfully, but these errors were encountered: