Resolve "pyCDB fails due to missing pymysql.escape_string"
Closes #1 (closed)
Problem
pyCDB fails due to missing pymysql.escape_string
Analysis
requirements.txt
does not specify range of valid version. This, pip will install the latest version (1.0.2). However, the function escape_string()
was removed in the version 1.0 (see https://github.com/PyMySQL/PyMySQL/blob/master/CHANGELOG.md)
Solution
- Request a version 0.10.* (the last compatible version).
- Avoid adding support files generated by pip -e to GIT.
Test
- Run
pip install -r requirements.txt
and run a script containing a linefrom pyCDB import client
.
Edited by Ivo Hanák