我在CSV文件中有单词列表。我正在用不同的语言转换这些单词。我正在尝试使用PY-Translate,但我会收到以下错误:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Library/Python/2.7/site-packages/translate/__init__.py", line
10, in <module>
from .coroutines import *
File "/Library/Python/2.7/site-packages/translate/coroutines.py",
line 19, in <module>
from concurrent.futures import ThreadPoolExecutor
ImportError: No module named concurrent.futures
我相信您使用的Python版本少于3。安装 pip install futures
为python版本少小于3的求解。