[Fixed]-Python Django requirements.txt

7👍

I tried this out and the problem is with django-tastypie-elasticsearch. There is a known issue, whereby installation with pip fails if Django hasn’t been installed yet. Here is the issue report:

https://github.com/llonchj/django-tastypie-elasticsearch/issues/1

Looks like django-tastypie-elastic has only two contributors, so you’re probably on your own. The good news is that it wasn’t your fault!

2👍

On mac:

To get your already installed dependencies

pip3 freeze > requirements.txt

from: Automatically create requirements.txt


Then if you want to install them, and you are using a virtual environment

pip3 install -r requirements.txt

from:
How can I install packages using pip according to the requirements.txt file from a local directory?


If you want to update them

I just know how to do it with pip-review.
https://pypi.org/project/pip-review/#description

pip3 install pip-review or pip install pip-review

then pip-review --local --auto

from:
How to upgrade all Python packages with pip

1👍

Leave a comment