Hey folks,
I followed Guide: Easy Install ERPNext on DigitalOcean Successfully tested to install ERPNext (–production) on an Ubuntu 16.04.4 VPS on DigitalOcean. However it is failing citing urllib version mismatch.
I also tried the Python 3 installation approach (https://www.digitalocean.com/community/questions/tutorial-request-erpnext-platform?answer=41581) without success.
The issue happens in the Ansible task “bench : python2 bench init for production” which runs bench init /home/frappe/frappe-bench --frappe-path https://github.com/frappe/frappe --frappe-branch master
and crashes with the following error:
/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/requests/__init__.py:91:
RequestsDependencyWarning: urllib3 (1.24) or chardet (3.0.4) doesn't match
a supported version! RequestsDependencyWarning)
/home/frappe/frappe-bench/env/bin/python: No module named ordered_dict
This error is mentioned initially itself when running raw.githubusercontent.com/frappe/bench/master/playbooks/install.py
:
requests 2.19.1 has requirement urllib3<1.24,>=1.21.1,
but you'll have urllib3 1.24 which is incompatible.
And not sure if relevant, but this error happened multiple times as well:
warning: unable to access '/home/frappe/.config/git/attributes': Permission denied
Any ideas I can try out?
Thanks,
Jasim