Skip to content

"ImportError: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.27' not found" when deploying to GAE using docker and flask #3722

@jadeid91

Description

@jadeid91
backend_1  | Usage: flask run [OPTIONS]
backend_1  | Try 'flask run --help' for help.
backend_1  |
backend_1  | Error: While importing 'app.main', an ImportError was raised:
backend_1  |
backend_1  | Traceback (most recent call last):
backend_1  |   File "/opt/python3.7/lib/python3.7/site-packages/ifcopenshell/__init__.py", line 61, in <module>
backend_1  |     from . import ifcopenshell_wrapper
backend_1  |   File "/opt/python3.7/lib/python3.7/site-packages/ifcopenshell/ifcopenshell_wrapper.py", line 13, in <module>  
backend_1  |     from . import _ifcopenshell_wrapper
backend_1  | ImportError: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.27' not found (required by /opt/python3.7/lib/python3.7/site-packages/ifcopenshell/_ifcopenshell_wrapper.so)
backend_1  |
backend_1  | During handling of the above exception, another exception occurred:
backend_1  |
backend_1  | Traceback (most recent call last):
backend_1  |   File "/opt/python3.7/lib/python3.7/site-packages/flask/cli.py", line 234, in locate_app
backend_1  |     __import__(module_name)
backend_1  |   File "/home/vmagent/app/main.py", line 202, in <module>
backend_1  |     import integrations.ifc.checker.webhooks as ifc_checker_webhooks
backend_1  |   File "/app/integrations/ifc/checker/webhooks.py", line 3, in <module>
backend_1  |     import integrations.ifc.checker.functions as ifc_checker_functions
backend_1  |   File "/app/integrations/ifc/checker/functions.py", line 5, in <module>
backend_1  |     import ifcopenshell
backend_1  |   File "/opt/python3.7/lib/python3.7/site-packages/ifcopenshell/__init__.py", line 69, in <module>
backend_1  |     raise ImportError("IfcOpenShell not built for '%s'" % python_distribution)
backend_1  | ImportError: IfcOpenShell not built for 'linux/64bit/python3.7'

Any help is appreciated

Metadata

Metadata

Assignees

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions