ERPNext - ImportError: cannot import name UnrewindableBodyError

Error File "/usr/lib/python2.7/site-packages/urllib3/util/", line 5, in <module> from ..exceptions import UnrewindableBodyError ImportError: cannot import name UnrewindableBodyError

 · 1 min read

While starting bench in old server you may face this error

Firs solve sys.stderr.write(f"ERROR: {exc}")

yum install python-pip -y

# sudo pip uninstall requests
# sudo pip uninstall urllib3
# sudo yum remove python-urllib3
# sudo yum remove python-requests

Confirm all the above libraries have been removed by executing the below command:

# rpm -qa | grep requests
# pip freeze | grep requests

Now, install those packages using yum:

# sudo yum install python-urllib3
# sudo yum install python-requests

Team ERPGulf

The team behind ERPGulf blogs here, expresses their thoughts, shares the experience, often show the frustrations. Contact us on

No comments yet

No comments yet. Start a new discussion.

Add Comment