The Problem
$ sudo bash setup_frappe.sh
Installing for Ubuntu trusty amd64
In case you encounter an error, you can post on https://discuss.frappe.io
Adding ubuntu mariadb repo
Installing packages for Ubuntu. This might take time…
Installing wkhtmltopdf
Adding frappe user
Traceback (most recent call last):
File “/usr/bin/pip2”, line 9, in
load_entry_point(‘pip==1.5.4’, ‘console_scripts’, ‘pip2’)()
File “/usr/lib/python2.7/dist-packages/pkg_resources.py”, line 351, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File “/usr/lib/python2.7/dist-packages/pkg_resources.py”, line 2363, in load_entry_point
return ep.load()
File “/usr/lib/python2.7/dist-packages/pkg_resources.py”, line 2088, in load
entry = import(self.module_name, globals(),globals(), [‘name’])
File “/usr/lib/python2.7/dist-packages/pip/init.py”, line 11, in
from pip.vcs import git, mercurial, subversion, bazaar # noqa
File “/usr/lib/python2.7/dist-packages/pip/vcs/mercurial.py”, line 9, in
from pip.download import path_to_url
File “/usr/lib/python2.7/dist-packages/pip/download.py”, line 25, in
from requests.compat import IncompleteRead
ImportError: cannot import name IncompleteRead
System Information
$ lsb_release -a
LSB Version: core-2.0-amd64:core-2.0-noarch:core-3.0-amd64:core-3.0-noarch:core-3.1-amd64:core-3.1-noarch:core-3.2-amd64:core-3.2-noarch:core-4.0-amd64:core-4.0-noarch:core-4.1-amd64:core-4.1-noarch
Distributor ID: Ubuntu
Description: Ubuntu 14.04.1 LTS
Release: 14.04
Codename: trusty
$ python --version
Python 2.7.6
$ dpkg -l | grep pip
ii libpipeline1:amd64 1.3.0-1 amd64 pipeline manipulation library
ii python-pip 1.5.4-1 all alternative Python package installer