Closed KNAGSAGAR closed 1 year ago
Hello @KNAGSAGAR. Can you provide more information about this question?
You can use general GitHub etiquette.
Hello @omadson Thanks for your response! I have a requirement to use Fuzzy C-Means clustering for an academic mini-project using Python. In order to use Fuzzy C-Means I first installed it in my Jupyter notebook using pip install -- it got installed without any issue. Then for using the function I imported the function using "from fcmeans import FCM " command, that's where I encountered the issue, when I run this command Iam getting "TypeError: dataclass_transform() got an unexpected keyword argument 'field_specifiers'" error. I have attached a snip for reference. This is at the library import level so Iam not able to proceed any further.
Python version on my computer is "Python 3.9.12 (main, Apr 4 2022, 05:22:27) [MSC v.1916 64 bit (AMD64)]" Jupyter notebook version is 6.4.8 I installed it using Anaconda navigator with version 2.4.1
Thanks!!
Hello @KNAGSAGAR. Can you provide more information about this question?
You can use general GitHub etiquette.
- Write in complete sentences and avoid writing run-on sentences. Grammatical mistakes for non-native speakers of English are of course understandable, so long as an honest effort made.
- More importantly, when requesting help, it is expected that users provide example code, example outputs, and a description of expected output. When relevant, it can be helpful to specify system information and pertinent package versions.
Hello @omadson Thanks for your response! I have a requirement to use Fuzzy C-Means clustering for an academic mini-project using Python. In order to use Fuzzy C-Means I first installed it in my Jupyter notebook using pip install -- it got installed without any issue. Then for using the function I imported the function using "from fcmeans import FCM " command, that's where I encountered the issue, when I run this command Iam getting "TypeError: dataclass_transform() got an unexpected keyword argument 'field_specifiers'" error. I have attached a snip for reference. This is at the library import level so Iam not able to proceed any further.
Python version on my computer is "Python 3.9.12 (main, Apr 4 2022, 05:22:27) [MSC v.1916 64 bit (AMD64)]" Jupyter notebook version is 6.4.8 I installed it using Anaconda navigator with version 2.4.1
Thanks!!
Hi, I got my issue resolved after upgrading "pydantic" package and restaarting the Kernel.
Thanks!!
FuzzyC-Means is installed in the Jupyter notebook via pip install but it wont work please see the attachment.
thanks