skip to Main Content

I currently cannot install fuzzywuzzy but fuzzy matching is quite vital to a data project I’m working on as the dataset contains thousands of points and needs to be grouped computationally. I’m fairly new to VS Code so perhaps that is why but used the terminal like normal as follows.

So I have tried:

Conda install fuzzywuzzy

but it outputs

Channels:
 - defaults
Platform: osx-64
Collecting package metadata (repodata.json): done
Solving environment: - warning  libmamba Added empty dependency for problem type SOLVER_RULE_UPDATE
failed

LibMambaUnsatisfiableError: Encountered problems while solving:
  - package fuzzywuzzy-0.18.0-py310hecd8cb5_0 requires python >=3.10,<3.11.0a0, but none of the providers can be installed

Could not solve for environment specs
The following packages are incompatible
├─ fuzzywuzzy is installable with the potential options
│  ├─ fuzzywuzzy 0.18.0 would require
│  │  └─ python >=3.10,<3.11.0a0 , which can be installed;
│  ├─ fuzzywuzzy 0.18.0 would require
│  │  └─ python >=3.11,<3.12.0a0 , which can be installed;
│  ├─ fuzzywuzzy 0.18.0 would require
│  │  └─ python >=3.7,<3.8.0a0 , which can be installed;
│  ├─ fuzzywuzzy 0.18.0 would require
│  │  └─ python >=3.8,<3.9.0a0 , which can be installed;
│  └─ fuzzywuzzy 0.18.0 would require
│     └─ python >=3.9,<3.10.0a0 , which can be installed;
└─ pin-1 is not installable because it requires
   └─ python 3.12.* , which conflicts with any installable versions previously reported.

I’m somewhat at a loss. I’m using Python 3.12.4 as of right now. Any ideas about how I can get this working would be greatly appreciated.

2

Answers


  1. conda install –channel=conda-forge fuzzywuzzy

    Login or Signup to reply.
  2. As noted on GitHub and in the tag description above, fuzzywuzzy has been renamed to thefuzz.

    That explains why

    package fuzzywuzzy [..] requires python […] <3.11.0a0

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search