rpomponio / neuroHarmonize

Harmonization tools for multi-site neuroimaging analysis. Implemented as a python package. Harmonization of MRI, sMRI, dMRI, fMRI variables with support for NIFTI images. Complements the work in Neuroimage by Pomponio et al. (2019).
https://pypi.org/project/neuroHarmonize/
MIT License
79 stars 28 forks source link

ModuleNotFoundError for version 2.4.1 #45

Closed bradenyang closed 4 months ago

bradenyang commented 4 months ago

Hi,

Just wanted to first say that this is a really great tool that you've developed!

I am currently running into an issue with installing version 2.4.1 of the package via pip. I have a conda environment set up, and when I install the package and try to import it in python, I get this error:

>>> import neuroHarmonize
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'neuroHarmonize'

Upon inspection of where the package was installed in my conda environment, I see a directory named "neuroHarmonize-2.4.1.dist-info", but no actual python module with the accompanying code. I also tried reinstalling a previous version of the package (2.3.0), and that seemed to work just fine. Any idea about what might be going on? Thanks in advance!

aboccali commented 4 months ago

Hi, I have the same problem!

clarkenj commented 4 months ago

Following as I have the same problem!

rpomponio commented 4 months ago

Hello,

Thank you all for raising this to my attention. I believe it is a simple mistake on my end that I am working on now.

I will try to upload a patched version to the python packaging index.

Will keep this issue open until then.

rpomponio commented 4 months ago

I believe this is now fixed with version 2.4.2, which is on the packaging index.

I'll close this issue but feel free to re-open it if the problem persists.

FYI - as a workaround, installing version 2.4.1 with GitHub was successful.