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

Error with Python 3.9 #505

Closed
MinaTangenVolue opened this issue Sep 2, 2024 · 3 comments
Closed

Error with Python 3.9 #505

MinaTangenVolue opened this issue Sep 2, 2024 · 3 comments
Assignees

Comments

@MinaTangenVolue
Copy link

MinaTangenVolue commented Sep 2, 2024

Mesh Python SDK version: 1.9.0.dev0
Mesh version: Mesh is 2.15.0+3
Python version: 3.9 / 3.11
Operating System (Windows, Ubuntu, etc.): Windows

As discussed with @arkadiuszlis

I tried running the example script search_calculation_expression.py (https://github.com/Volue-Public/energy-mesh-python/blob/master/src/volue/mesh/examples/search_calculation_expressions.py) on internal Volue machines

I get this error using Python 3.9:

File "(...) \AppData\Local\Programs\Python\Python39\lib\uuid.py", line 181, in __init__
    raise ValueError('bytes_le is not a 16-char string')
ValueError: bytes_le is not a 16-char string

After installing Python 3.11 I do not get this error. It says in the Python SDK documentation that Python 3.9 is supported

@MinaTangenVolue
Copy link
Author

It works with Python 3.10

@tnoczyns-volue
Copy link
Collaborator

@MinaTangenVolue we'll need more info to get the repro on devs side. We'll contact you directly.

@tnoczyns-volue
Copy link
Collaborator

The root cause here was using "old" Mesh Python SDK together with Mesh 2.15 RC. The "old" Mesh Python SDK was installed only in Python 3.9 environment and was lacking: #473.

We confirmed with @MinaTangenVolue that after updating Mesh Python SDK to latest version, it works correctly.

@tnoczyns-volue tnoczyns-volue closed this as not planned Won't fix, can't repro, duplicate, stale Sep 10, 2024
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

3 participants