Comments (4)
This package only supports Python >=3.9. Please fill out the entire bug report for future issues.
from intensity-normalization.
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.
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.
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)
- Add a citation file
- Improve contributing information
- Add numpy mypy plugin HOT 1
- Improve unit tests HOT 1
- Verify correctness of update to use pymedio HOT 1
- Fix mypy issues in update to use pymedio HOT 2
- Add note about scanner gain in MR pulse sequence equations
- Add pre-commit hooks HOT 1
- Add option to specify output file type
- What is the "MD" modality? And other questions. HOT 14
- Out-of-memory error in Nyul for large amounts of data HOT 4
- `intensity-normalization` not working in Google Colab HOT 1
- "TypeError: Axis must be specified when shapes of a and weights differ." in the LSQ method
- problems when importing the API HOT 1
- request for tutorial of Z score HOT 9
- Update docs in the style of Diátaxis
- Fix histogram plotting when passing in a tissue mask in FCM normalizer
- Using normalization methods -- bash HOT 1
- Skfuzzy dependency breaks compatibility with Python 3.12
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from intensity-normalization.