snower / TorMySQL

The highest performance asynchronous MySQL driver by PyMySQL
MIT License
308 stars 63 forks source link

ImportError: cannot import name '_scramble' #35

Closed vani-or closed 6 years ago

vani-or commented 6 years ago

The version 0.3.8 gives me this error during login procedure on mysql server.

python_1          |   File "/data/env/lib/python3.5/site-packages/tormysql/__init__.py", line 27, in <module>
python_1          |     from .client import Client
python_1          |   File "/data/env/lib/python3.5/site-packages/tormysql/client.py", line 11, in <module>
python_1          |     from .connections import Connection
python_1          |   File "/data/env/lib/python3.5/site-packages/tormysql/connections.py", line 15, in <module>
python_1          |     from pymysql.connections import _scramble, _scramble_323
python_1          | ImportError: cannot import name '_scramble'

UPDATE. Solved with downgrading pymysql to 0.8.1. Actually it's their issue

007gzs commented 6 years ago

pymysql 0.9.0 Releases at 2018-06-27T09:56:26Z you send the issue at 2018-06-27T13:29:08Z

snower commented 6 years ago

sorry, it not just pymysql0.9 version, I will test pymysql 0.9 as soon as possible.

snower commented 6 years ago

fix, thanks.