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
The intermediate representation should be outputted
Screenshots
Desktop (please complete the following information):
OS: macOS Sonoma 14.6.1
The text was updated successfully, but these errors were encountered:
Nfsaavedra
changed the title
Intermidiate Representation Malfunction in Docker and Terraform
Intermediate Representation Malfunction in Docker and Terraform
Sep 17, 2024
Hello João, this error happens due to an incompatibility between the installed versions of the pandas and numpy libraries. Specifically what most likely happened was that you installed GLITCH via the first method presented on the README (i.e using python -m pip install -e . in the project directory), and when installing this way it relies on pyproject.toml file where the numpy version isn't locked and the pandas version that is locked and therefore is installed requires only that the numpy versions be numpy>=1.20.3 for python_version<'3.10', numpy>=1.21.0 for python_version>='3.10' and numpy>=1.23.2 for python_version>='3.11' (as per https://github.com/pandas-dev/pandas/blob/2e218d10984e9919f0296931d92ea851c6a6faf5/setup.cfg#L34-L37) this problem that appeared is due to a major version bump in numpy (1.x -> 2.x) that has changes that are binary incompatible with versions of pandas and other libraries expecting the 1.x ABI.
It can be fixed by simply installing a version of numpy on the 1.X series of versions. The latest being v1.26.5 at the time (EDIT: Despite being tagged on the numpy repository unfortunately this version didn't get released to PyPI so the version v1.26.4 is actually the latest numpy release in the 1.X version series with a pre-built release), but you can also install the version v1.26.4 which is the one explicitly locked for installation when installing using poetry, making that specific GLITCH installation method not affected by this problem. Hope this helps :)
Describe the bug
The intermediate representation is not being outputted in terraform and docker tech's
To Reproduce
Expected behavior
The intermediate representation should be outputted
Screenshots


Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: