GithubHelp home page GithubHelp logo

Comments (4)

jcreinhold avatar jcreinhold commented on June 29, 2024

This package only supports Python >=3.9. Please fill out the entire bug report for future issues.

from intensity-normalization.

aaisha-bah avatar aaisha-bah commented on June 29, 2024

I'm getting another error:


ModuleNotFoundError Traceback (most recent call last)
Cell In[2], line 13
10 from nilearn import plotting
12 from intensity_normalization.plot.histogram import HistogramPlotter, plot_histogram
---> 13 from intensity_normalization.normalize.fcm import FCMNormalize
14 #import intensity_normalization.type ## issue importing
15 from intensity_normalization.typing import Modality, Tissue

File ~/Software/miniconda3/envs/mscpro39/lib/python3.12/site-packages/intensity_normalization/normalize/fcm.py:23
21 import intensity_normalization.typing as intnormt
22 import intensity_normalization.util.io as intnormio
---> 23 import intensity_normalization.util.tissue_membership as intnormtm
25 logger = logging.getLogger(name)
28 class FCMNormalize(intnormb.LocationScaleCLIMixin, intnormb.SingleImageNormalizeCLI):

File ~/Software/miniconda3/envs/mscpro39/lib/python3.12/site-packages/intensity_normalization/util/tissue_membership.py:17
15 import numpy.typing as npt
16 import pymedio.image as mioi
---> 17 from skfuzzy import cmeans
19 import intensity_normalization as intnorm
20 import intensity_normalization.base_cli as intnormcli

File ~/Software/miniconda3/envs/mscpro39/lib/python3.12/site-packages/skfuzzy/init.py:65
58 # Fuzzy control system subpackage
...
---> 65 import imp
66 import functools
67 import warnings

ModuleNotFoundError: No module named 'imp'

python version 3.12.2

from intensity-normalization.

jcreinhold avatar jcreinhold commented on June 29, 2024

It looks like skfuzzy isn't compatible with Python 3.12. So that makes this package only work with Python 3.9 to 3.11. Downgrade Python to 3.11 and try again. Please open another issue with this info so I can track and fix this.

from intensity-normalization.

aaisha-bah avatar aaisha-bah commented on June 29, 2024

It looks like skfuzzy isn't compatible with Python 3.12. So that makes this package only work with Python 3.9 to 3.11. Downgrade Python to 3.11 and try again. Please open another issue with this info so I can track and fix this.

This resolved it. Thanks a lot! :)

from intensity-normalization.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.