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

Ошибка при запуске сервера с django #106

Open
khatangatao opened this issue Aug 21, 2020 · 0 comments
Open

Ошибка при запуске сервера с django #106

khatangatao opened this issue Aug 21, 2020 · 0 comments

Comments

@khatangatao
Copy link

django 2.2
python 3.6, 3.7, 3.8

Установил django-fias, пробую запустить сервер, получаю ошибку:
.................. File "/usr/local/lib/python3.6/site-packages/fias/migrations/0005_load_stats_data.py", line 9, in <module> from fias.importer.commands import load_complete_data File "/usr/local/lib/python3.6/site-packages/fias/importer/commands.py", line 15, in <module> from fias.importer.loader import TableLoader, TableUpdater File "/usr/local/lib/python3.6/site-packages/fias/importer/loader.py", line 8, in <module> from progress.helpers import WritelnMixin ModuleNotFoundError: No module named 'progress.helpers'
Изучил модуль progress - в последней версии пропал модуль helpers, поэтому fias не может подгрузить требуемый класс.
У себя проблему решил добавлением строки в requirements.txt ПЕРЕД ссылкой на репозиторий модуля fias:
git+git://github.com/verigak/progress@1.4

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

1 participant