ERPNext - ImportError: cannot import name UnrewindableBodyError
Error File "/usr/lib/python2.7/site-packages/urllib3/util/request.py", 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 support@ERPGulf.com
No comments yet. Start a new discussion.