-
Notifications
You must be signed in to change notification settings - Fork 22
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
cannot see ShapeVariationAnalyzer module #54
Comments
Per the log in DCBIA-OrthoLab/SlicerCMF#18, the issue seems to be that sklearn is not configured properly for Mac, and this causes errors when it is imported by shapepca, which is imported by ShapeVariationAnalysis. The same happens if only ShapeVariationAnalyzer is installed via the extension manager (without SlicerCMF). Here is a full log from my machine (using yesterday's Slicer preview release) Slicer_29370_20200917_132211_450.log When I build ShapeVariationAnalyzer myself, no such error occurs. $ git clone https://github.com/DCBIA-OrthoLab/ShapeVariationAnalyzer.git
$ cd ShapeVariationAnalyzer
$ mkdir build
$ cd build
$ cmake -DShapeVariationAnalyzer_BUILD_SLICER_EXTENSION=ON -DSlicer_DIR=~/src/Slicer/build/Slicer-build ..
$ ninja
$ inner-build/SlicerWithShapeVariationAnalyzer This tells me there may be some issue in the factory machine causing sklearn not to be configured correctly. @jcfr, do you have any thoughts on this? If I understand the superbuild correctly, scikit-learn is installed via pip in the default configuration.
Edit: The pip commands above were run on Python 3.8, not 3.6, leading to the hash error. |
The issue doesn't seem to affect the Linux build of Slicer or the extension manager. Here is the log from my Ubuntu 20 machine after installing the SlicerCMF extension bundle. ShapeVariationAnalyzer and the Population Analysis module load without issue. |
Do you mind testing in your macbook? |
The above logs are from my macbook. Everything works correctly if I build the extension myself, but loading from the extension manager causes the problem. This makes me think there is some issue with the factory machine. In the second comment I was just noting that the issue is never present for me on linux, to emphasize I think this issue is specific to the mac factory machine and not the others, although I can't confirm for Windows. |
Thanks for checking, David! |
@allemangD and I looked at this, and python 3.6 (version also used in Slicer) need to be used to ensure the hashes match. |
It looks like the |
This has been fixed in Slicer/Slicer#5307 |
@bpaniagua @allemangD @jcfr |
@luciacev The fix for this bug required a change to Slicer, so the stable version from Sep. 2020 that we had told you to use (4.11.20200930) would not contain that fix. I've confirmed that SVA loads correctly on Mac in the latest stable version from Feb. 2021 (4.11.20210226). As best I can tell, all the other modules work correctly there, too. I would recommend we try to use the latest stable version moving forward. Regarding DCBIA-OrthoLab/SlicerCMF#13, SPHARM-PDM is available on Mac in that version, but not RigidAlignment. I'm working on fixing that next. I've made notes about these in the weekly updates document, and will send that out to the team this Friday. |
Closing as the issue is fixed in the current stable release 4.11.20210226. |
@jcfr @allemangD @bpaniagua
Hi
ShapeVariationAnalyzer is not working/cannot find module after installing SlicerCMF. Thanks!
The text was updated successfully, but these errors were encountered: