gangly / datafaker

Datafaker is a large-scale test data and flow test data generation tool. Datafaker fakes data and inserts to varied data sources. 测试数据生成工具
625 stars 168 forks source link

window bug? #32

Open zack542 opened 4 years ago

zack542 commented 4 years ago

` C:\Users\leile\Desktop>datafaker mysql mysql+mysqldb://root:Hd@123456@localhost:3306/test stu 10 --meta meta.txt Traceback (most recent call last): File "build\bdist.win-amd64\egg\datafaker\cli.py", line 89, in main db = load_db_class(args.dbtype)(args) File "build\bdist.win-amd64\egg\datafaker\cli.py", line 79, in load_db_class module = import(pkgname, fromlist=(classname)) File "build\bdist.win-amd64\egg\datafaker\dbs\mysqldb.py", line 3, in File "build\bdist.win-amd64\egg\datafaker\dbs\basedb.py", line 7, in File "build\bdist.win-amd64\egg\datafaker\compat.py", line 41, in File "build\bdist.win-amd64\egg\datafaker\multithreading.py", line 6, in ImportError: No module named queue

No module named queue`

gangly commented 4 years ago

` C:\Users\leile\Desktop>datafaker mysql mysql+mysqldb://root:Hd@123456@localhost:3306/test stu 10 --meta meta.txt Traceback (most recent call last): File "build\bdist.win-amd64\egg\datafaker\cli.py", line 89, in main db = load_db_class(args.dbtype)(args) File "build\bdist.win-amd64\egg\datafaker\cli.py", line 79, in load_db_class module = import(pkgname, fromlist=(classname)) File "build\bdist.win-amd64\egg\datafaker\dbs\mysqldb.py", line 3, in File "build\bdist.win-amd64\egg\datafaker\dbs\basedb.py", line 7, in File "build\bdist.win-amd64\egg\datafaker\compat.py", line 41, in File "build\bdist.win-amd64\egg\datafaker\multithreading.py", line 6, in ImportError: No module named queue

No module named queue`

试下最新版本0.7.3