Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Discussion options

I created a venv with the following steps to install lang_id transform:

  pip install data-prep-toolkit
  pip install 'data-prep-toolkit-transforms[lang_id]'

However, when I run:

from dpk_lang_id.transform_python import LangId

I get the following error:

ModuleNotFoundError: No module named 'langcodes'.
You must be logged in to vote

Replies: 1 comment

Comment options

revit13
Sep 1, 2025
Maintainer Author

Ass suggested by @matouma, executing pip install --upgrade pip solved the issue.

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
🙏
Q&A
Labels
None yet
1 participant
Morty Proxy This is a proxified and sanitized view of the page, visit original site.