Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New example-c docs work to "Test the BMI" but breaks with pymt.models #102

Closed
aufdenkampe opened this issue Apr 10, 2024 · 2 comments
Closed

Comments

@aufdenkampe
Copy link

@mcflugen & @mdpiper,

Thank you for merging this PR!

I was able to successfully (on a Mac) follow the Example: Wrapping a C model down to the Test the BMI section, but after that I got numerous errors, all related to pymt.

To make it work, I had to create a conda environment that built babelizer from the head of your develop branch, using this: https://github.com/LimnoTech/babelizer-examples/blob/main/environment.yml.

Given that pymt hasn't been updated since 2021, it might make sense to just put a big warning above that section of the docs, saying that pymt functionality is not currently compatible with the babelizer toolchain. That seems like a quick way to help folks avoid headaches.

@Volk3rJ & @ptomasula, can you try this workflow on Windows, down to Test the BMI](https://babelizer.readthedocs.io/en/latest/example-c.html#test-the-bmi)? Please do it from my modified environment.yml in https://github.com/LimnoTech/babelizer-examples

@mdpiper
Copy link
Member

mdpiper commented Apr 12, 2024

We just need to update pymt; it's 1) not built for Python 3.12, and 2) incompatible with recent changes to gimli.units.

@aufdenkampe
Copy link
Author

aufdenkampe commented Apr 17, 2024

Moving conversation on updating pymt to:

and closing here, as the example-c works well (on Mac) up to that point.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants