8000 installation error · Issue #7 · applegrew/django-select2 · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
installation error #7
Closed
Closed
@ouhouhsami

Description

@ouhouhsami

Hello,

I have a requirements.txt file to install python related packages, and inside I have got your (great) app.
But, when I run pip install -r requirements.txt, I get :

File "/srv/brahms/.virtualenvs/test/build/Django-Select2/setup.py", line 111, in <module>

    VERSION = __import__(PACKAGE).__version__

  File "django_select2/__init__.py", line 3, in <module>

    from django.conf import settings

ImportError: No module named django.conf

which is "normal" because, due to the way pip works, django is not allready installed.

one way to solve this issue would be to have a dedicated version.py file inside your module.

Regards,

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0