question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

rapidfuzz.utils_cpp module not found

See original GitHub issue

System OS

Windows

Python Version

3.10 (CPython)

Install Source

GitHub

Install version / commit hash

V4.0.0

Expected Behavior vs Actual Behavior

No response

Steps to reproduce - Ensure to include actual links!

  1. Ran .\spotdl-4.0.0-win32.exe through Powershell
  2. Powershell Returned ModuleNotFoundError: No module named ‘rapidfuzz.utils_cpp’ message
  3. Performed ‘pip install rapidfuzz’ successfully in attempt to resolve the issue
  4. Previous error message persists

Traceback

Traceback (most recent call last):
  File "rapidfuzz\utils.py", line 17, in _fallback_import
  File "importlib\__init__.py", line 126, in import_module
  File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1004, in _find_and_load_unlock
ModuleNotFoundError: No module named 'rapidfuzz.utils_cpp'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "spotdl\__main__.py", line 5, in <module>
  File "PyInstaller\loader\pyimod02_importers.py", line 493, in exec_module
  File "spotdl\__init__.py", line 14, in <module>
  File "PyInstaller\loader\pyimod02_importers.py", line 493, in exec_module
  File "spotdl\console\__init__.py", line 5, in <module>
  File "PyInstaller\loader\pyimod02_importers.py", line 493, in exec_module
  File "spotdl\console\entry_point.py", line 15, in <module>
  File "PyInstaller\loader\pyimod02_importers.py", line 493, in exec_module
  File "spotdl\console\download.py", line 10, in <module>
  File "PyInstaller\loader\pyimod02_importers.py", line 493, in exec_module
  File "spotdl\download\__init__.py", line 5, in <module>
  File "PyInstaller\loader\pyimod02_importers.py", line 493, in exec_module
  File "spotdl\download\downloader.py", line 23, in <module>
  File "PyInstaller\loader\pyimod02_importers.py", line 493, in exec_module
  File "spotdl\providers\audio\__init__.py", line 5, in <module>
  File "PyInstaller\loader\pyimod02_importers.py", line 493, in exec_module
  File "spotdl\providers\audio\youtube.py", line 8, in <module>
  File "PyInstaller\loader\pyimod02_importers.py", line 493, in exec_module
  File "rapidfuzz\__init__.py", line 8, in <module>
  File "PyInstaller\loader\pyimod02_importers.py", line 493, in exec_module
  File "rapidfuzz\process.py", line 4, in <module>
  File "PyInstaller\loader\pyimod02_importers.py", line 493, in exec_module
  File "rapidfuzz\utils.py", line 29, in <module>
  File "rapidfuzz\utils.py", line 19, in _fallback_import
  File "importlib\__init__.py", line 126, in import_module
ModuleNotFoundError: No module named 'rapidfuzz.utils_py'
[17596] Failed to execute script '__main__' due to unhandled exception!

Other details

No response

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:8 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
maxbachmanncommented, Oct 24, 2022

I was able to get the pyinstaller hooks working. v2.12.0 should work with pyinstaller again. In addition I am now testing the compatibility with pyinstaller to prevent regressions of this in the future.

0reactions
xnetcatcommented, Oct 27, 2022

Fixed in v4.0.1

Read more comments on GitHub >

github_iconTop Results From Across the Web

rapidfuzz - PyPI
Rapid fuzzy string matching in Python and C++ using the Levenshtein Distance ... Scorers in RapidFuzz can be found in the modules fuzz...
Read more >
Unable to install rapidfuzz · Issue #117 · maykar/plex_assistant
Home Assistant reports that it cannot install rapidfuzz v1.1.1 and ... 'src/rapidfuzz-cpp/rapidfuzz/process.txx' warning: no files found ...
Read more >
Installation - RapidFuzz 2.13.6 documentation - GitHub Pages
If you run into this error on Windows the reason is most likely, that the Visual C++ 2019 redistributable is not installed, which...
Read more >
rapidfuzz/community - Gitter
... line 5, in <module> from rapidfuzz import fuzz, utils ImportError: DLL load failed while importing fuzz: The specified module could not be...
Read more >
Rapidfuzz error - Tech Support Guy
II I am getting this error when i try to install rapidfuzz. Plz help I am using win 11 and python 3.10 This...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found