AIM-Harvard / SlicerRadiomics

A Slicer extension to provide a GUI around pyradiomics
BSD 3-Clause "New" or "Revised" License
101 stars 47 forks source link

Radiomics does not work in latest stable release of Slicer #62

Closed iboeth closed 3 years ago

iboeth commented 3 years ago

Excuse my question, but I really do not know what to do.

As you mentioned on GitHub-Website, Radiomics should be installed on 3D-Slicer Version 4.13 (unstable). I followed your description, but it is not possible installing any extension. Additionally, DICOM-Data cannot be downloaded in 3D-Slicer, because "unfortunately, this request module is not available in this Slicer session". Because of that I tried installing 3D-Slicer Verion 4.11, but I just can install "RadiomicsCLI", which works differently, as I noticed.

I have a Macbook (macOS Catalina, Version 10.15.7) and would be very pleasant for your help!

fedorov commented 3 years ago

Sorry, the instructions are lagging behind the changing situation ... Can you try with the stable version?

fedorov commented 3 years ago

I've just tested latest stable on mac, and it is broken. Let me look into this.

image

iboeth commented 3 years ago

The stable version does not allow me extracting my "Segmentations", painted in the tumors.

iboeth commented 3 years ago

Thanks for your feedback. I would be happy if you would find the mistake!

fedorov commented 3 years ago

I don't know why this is happening, but some dependency packages are not available. Can you try opening python console

image

and then running the following commands in the console:

slicer.util.pip_install('pywavelets')
slicer.util.pip_install('python-dateutil')

and then try to use the module again after restarting Slicer (stable version)?

iboeth commented 3 years ago

EDAD7877-E1D2-4D08-8E9D-89DF18D3D4BC When I opened python console, this appears and I cannot follow your instructions...

fedorov commented 3 years ago

yes - can paste these two lines, one at a time, into that window, and hit "Enter"?

slicer.util.pip_install('pywavelets')
slicer.util.pip_install('python-dateutil')
iboeth commented 3 years ago

Okay, so I did.

fedorov commented 3 years ago

Can you now restart Slicer, and see if the module works for you, or let me know what does not work?

iboeth commented 3 years ago

A260D3DE-9A58-4F53-9995-E19D7108AA92 I restarted and this happened... I´m so sorry for the circumstances...

fedorov commented 3 years ago

what messages do you see after you enter slicer.util.pip_install('pywavelets') and hit "Enter" in the python console?

iboeth commented 3 years ago

![Uploading B07B55E2-C4E5-45D7-BDDE-C0A8039DE0D4.jpeg…]()

fedorov commented 3 years ago

@iboeth something went wrong in your upload in the previous post.

iboeth commented 3 years ago

B07B55E2-C4E5-45D7-BDDE-C0A8039DE0D4

Next try.

iboeth commented 3 years ago

I recently starteted 3D-Slicer again and this appeared. Perhaps it helps... F6207460-0144-439B-B275-A51C88C9C42E

LiDelight commented 3 years ago

Can I use an old version to avoid this bug?

iboeth commented 3 years ago

In my opinion, the "oldest" version is 4.11. I restarted this version of 3D-Slicer the last days, but it did not work...

LiDelight commented 3 years ago

Try to use python?

iboeth commented 3 years ago

Oh! There is no bug today! Thanks!! But there is still a problem with "extensions", as you see below...

A99948CF-05FC-4F8C-898B-CBABBE3599EE

LiDelight commented 3 years ago

can it work now?

iboeth commented 3 years ago

No, it ist still the same. I searched for "Radiomics" and the following happened:

6AE8150F-6EEC-4F0F-AF84-925AFF961080

LiDelight commented 3 years ago

Now, can it work?And Is there a solution for the problem?

iboeth commented 3 years ago

9B0D2FA1-9709-464C-9122-2EF6C5FC1B72 5FC4CDE4-688B-45BA-943F-D5431ABFBA20 This is the current status. The extention "Radiomics" is also still mapped differently than on the Windows system, but I do not know if that matters...

fedorov commented 3 years ago

@LiDelight can you open the python interactor, and run the following two commands there? The issue is in the missing dependency packages, and when I did what I am suggesting here on mac, this resolved the problem for me.

slicer.util.pip_install('pywavelets')
slicer.util.pip_install('python-dateutil')
LiDelight commented 3 years ago
WeChat6d605c15659b243662ff07d878d22707

() I think the code is usefull for me. slicer.util.pip_install('pywavelets') slicer.util.pip_install('python-dateutil') and it has run successfully to install, but!!! then I restart the slicer, there is a so long bug information, and I don't know how to do. crying wuwuuwu~

iboeth commented 3 years ago

@fedorov: The Link is usefull for me, too! It seems that my problems are solved!! Thank you so much!!

LiDelight commented 3 years ago

OMG, it work, now. I install the stable version of 3D slicer. 淦!

iboeth commented 3 years ago

It is me again... Using the ruler shows no measure of my ROI. What am I doing wrong? F9BA3F25-CD6C-49A7-B824-2F9303AC35B7

fedorov commented 3 years ago

Please use Slicer forum for questions about Slicer https://discourse.slicer.org.

iboeth commented 3 years ago

Thank you!!

fedorov commented 3 years ago

Yesterday I added a fix to check for missing modules and install if they are not present. Please check the latest stable build and let us know if the issue is not resolved.