-
Notifications
You must be signed in to change notification settings - Fork 11
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
Problem with executing python segmentation_to_meshes.py config.yml #22
Comments
There are a few things happening here. Pyto seems to have updated its dependencies but not changed its requirements in the install file. I'll flip the installation media for surface morphometrics to use my own fork of pyto. The Libstd C++ issue is one we've routinely seen with old versions of linux (#7). What linux version are you using? Surface Morphometrics is not currently compatible with any version of centos, for example. It also has some issues with the ARM CPUs on macs. These are unfortunately due to the limitations of some of the very useful libraries the software package supports. |
New version (https://github.com/GrotjahnLab/surface_morphometrics/releases/tag/1.1) has fixed the pyto dependencies issues (and also updated to support the new pymeshlab API). I think the other half of the problem is a linux version issue, but I will await further info. |
I initially was working with Centos 7, It did not work as I raised the issue for container implementation last time. So I moved to Centos 8 and it worked there till April. When I tried use the program again this week. I tried again with the new version, I ended up getting the same error |
This seems to be a problem with graph-tool, so it might be worth looking at their issue tracker or mailing list to see if its a common issue. Given the impending EOL of centos (2 days away for centos 8) I am not going to prioritize getting this working specifically, but I will revisit container support. |
Hi, I sorted the ImportError: dynamic module does not define module export function (PyInit_libgraph_tool_core) ... But, I ran into a new issue
This is my version of pymeshlab
Since, it worked in Cento 08 earlier, I am hopeful this issue AttributeError: module 'pymeshlab' has no attribute 'PercentageValue' is solvable |
This is very strange - pymeshlab underwent a large change in API a year or so back so this may be related to that. They formerly used Percentage() instead of PercentageValue() - but I am not sure why the version you have is so old... https://pymeshlab.readthedocs.io/en/latest/classes/percentage_value.html |
Can you try running pip upgrade pymeshlab? On our ubuntu system that brough an old 2022.2post3 version up to 2023.12. I'll update the requirements accordingly if that works for you. |
Sorry for the delay... We tried the commands you told and some more commands. We still get the same error!
|
whoops thats what I get shooting from the hip. I believe the command should be |
Disregard that, I see you already checked that. I am not sure what is wrong, but I will prioritize getting a container built ahead of the 1.5 release in the next couple months. |
Thank you very much! ... I will update you, if I make any progress or if I find any workaround !! |
Closing since the solution is instead to complete and close #10 |
Hey, thanks for this great package which I'm happily starting to use :) Just wanted to post here that this helped me with this issue reported by @Kathir-66. Namely, adding this to import importlib.metadata
PML_VER = importlib.metadata.version('pymeshlab')
if PML_VER == '2022.2.post3':
pm.PercentageValue = pm.Percentage |
This is very helpful, thank you! If you'd like to get credited I will happily merge a pull request - otherwise I'll add this to the next release (which should happen early next week, as I am doing a major overhaul of the pymeshlab routine to get smoother meshes). |
Cool, created a PR :) Looking forward to the smoother meshes! |
Once I am done with installing the additional dependencies. When I try to execute the python segmentation_to_meshes.py config.yml I get into the following errors.
First, the error is no module IPython
So, I install ipython using conda install ipython
Then when I try to execute again, I get the following error No module named 'statsmodels
Then when I try to execute again, I get the following error
ImportError: /lib64/libstdc++.so.6: version
GLIBCXX_3.4.29' not found (required by /home/kaezhila/.conda/envs/morphometrics/lib/python3.9/site-packages/graph_tool/libgraph_tool_core.so)`so i do a symbolic link
(morphometrics) kaezhila@kraken ~/Programs/tmp_surface_morphometrics $ > ln -sf /usr/lib64/libstdc++.so.6 /home/kaezhila/.conda/envs/morphometrics/lib/python3.9/site-packages/graph_tool/libgraph_tool_core.so
I end up with the following error. Can you help me from proceeding here
The text was updated successfully, but these errors were encountered: