maicol07 Posted December 2, 2017 Share Posted December 2, 2017 Hi,I'm trying to install weblate (https://weblate.org), a translation platform, but I don't know how to install Python Dependencies...Here is the list:Software requirementsPython dependenciesWeblate is written in Python and supports Python 2.7, 3.4 or newer. The following dependencies can be installed using pip or your distribution packages: Django (>= 1.10)https://www.djangoproject.com/siphashc (>= 0.8)https://github.com/WeblateOrg/siphashcTranslate-toolkit (>= 2.0.0)http://toolkit.translatehouse.org/Six (>= 1.7.0)https://pypi.python.org/pypi/sixMercurial (>= 2.8) (optional for Mercurial repositories support)https://www.mercurial-scm.org/social-auth-core (>= 1.3.0)https://python-social-auth.readthedocs.io/social-auth-app-django (>= 1.2.0)https://python-social-auth.readthedocs.io/django-appconf (>= 1.0)https://github.com/django-compressor/django-appconfWhoosh (>= 2.7.0)https://bitbucket.org/mchaput/whoosh/wiki/HomePIL or Pillow libraryhttps://python-pillow.org/lxml (>= 3.1.0)http://lxml.de/PyYaML (>= 3.0) (optional for YAML support)http://pyyaml.org/wiki/PyYAMLdefusedxml (>= 0.4)https://bitbucket.org/tiran/defusedxmldateutilhttps://labix.org/python-dateutildjango_compressor (>= 2.1.1)https://github.com/django-compressor/django-compressordjango-crispy-forms (>= 1.6.1)https://django-crispy-forms.readthedocs.io/Django REST Framework (>=3.4)http://www.django-rest-framework.org/libravatar (optional for federated avatar support)You need to additionally install pydns (on Python 2) or py3dns (on Python 3) to make libravatar work. https://pypi.python.org/pypi/pyLibravatar pyuca (>= 1.1) (optional for proper sorting of strings)https://github.com/jtauber/pyucababel (optional for Android resources support)http://babel.pocoo.org/Database backendAny database supported in Django will work, see Database setup for Weblate and backends documentation for more details.pytz (optional, but recommended by Django)https://pypi.python.org/pypi/pytz/python-bidi (optional for proper rendering of badges in RTL languages)https://github.com/MeirKriheli/python-biditesserocr (>= 2.0.0) (optional for screenshots OCR)https://github.com/sirfz/tesserocrakismet (>= 1.0) (optional for suggestion spam protection)https://github.com/ubernostrum/akismetOther system requirementsThe following dependencies have to be installed on the system: Git (>= 1.6)https://git-scm.com/hub (optional for sending pull requests to GitHub)https://hub.github.com/git-review (optional for Gerrit support)https://pypi.python.org/pypi/git-reviewgit-svn (>= 2.10.0) (optional for Subversion support)https://git-scm.com/docs/git-svntesseract and its data (optional for screenshots OCR)https://github.com/tesseract-ocr/tesseract How to do this?Thanks P.S.: I can't put the list of dependencies in a code box because I am on mobile... Quote Link to comment Share on other sites More sharing options...
Krydos Posted December 2, 2017 Share Posted December 2, 2017 Well, first of all do you want to use python 2.7 or python 3.6 because it says it supports either. I would recommend python 3.6, but some people are used to 2.7 and haven't switched over yet. Both are still being actively developed. Quote Link to comment Share on other sites More sharing options...
maicol07 Posted December 2, 2017 Author Share Posted December 2, 2017 3.6I'm developing software with that Quote Link to comment Share on other sites More sharing options...
Krydos Posted December 2, 2017 Share Posted December 2, 2017 Alright, there you go https://krydos.heliohost.org/cgi-bin/modules36.py Quote Link to comment Share on other sites More sharing options...
maicol07 Posted December 2, 2017 Author Share Posted December 2, 2017 Thanks @Krydos, you're great! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.