Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Import Error while using Django-4.2 #97

Open
adu013 opened this issue Oct 11, 2023 · 4 comments
Open

Import Error while using Django-4.2 #97

adu013 opened this issue Oct 11, 2023 · 4 comments

Comments

@adu013
Copy link

adu013 commented Oct 11, 2023

Details:
ImportError: cannot import name 'ugettext_lazy' from 'django.utils.translation'

@ish91
Copy link

ish91 commented Oct 12, 2023

I have the same issue. Reading through the issue list it seems to me that there is a fix for this in version 0.10.2 which has not been pushed to PyPi yet (https://github.com/panosl/django-currencies/issues/85)
There is a workaround: Install the package directly from the git repository:

  • in requirements.txt:
    django-currencies @ git+https://github.com/panosl/django-currencies.git@master
  • with pip:
    pip install [email protected]:panosl/django-currencies.git@master

Note: I wouldn't use this in production, but works fine for development

@zavodIT
Copy link

zavodIT commented Apr 28, 2024

Any update?

@ronnzw
Copy link

ronnzw commented Jun 14, 2024

Any updates on this? Still facing the same issue. Django 4.0.

I over came the issue as suggested by @ish91 . However l used:
pip install "git+https://github.com/panosl/django-currencies.git"

@ahdhozayen
Copy link

Any updates? i'm facing the same error with Django 5.1.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants