apt-get install postgresql
sudo -u postgres createuser -D -A -P username
sudo -u postgres createdb -O user db
psql -U user -W pwd -h localhost -p 5432 -f crm.sql
git clone https://
apt install libcurl4-openssl-dev libssl-dev
pip3 install -r requirements.txt
apt install python3-dev
apt-get install python-dev
apt-get install build-essential
Troubleshooting
When i start runserver then.
raise MissingDependency(
haystack.exceptions.MissingDependency: The 'elasticsearch5' backend requires the
Elastic
wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add -
apt-get install apt-transport-https
Echo "deb https://artifacts.elastic.co/packages/7.x/apt stable main" | sudo tee /etc/apt/sources.list.d/elastic-7.x.list
apt-get update && sudo apt-get install elasticsearch
Not helped
pip3 install pyelasticsearch
This is a problem with versions.. This command has fixed my trouble with 'elasticsearch5'
pip3 install elasticsearch==5.0.0
Comments
Post a Comment