我需要在Windows上使用Translate Toolkit中的 po2csv 实用程序。
我做了下一步:
C:\Python27\
文件夹Path=C:\Python27\;C:\Python27\Scripts\;OTHET_FOLDERS...
和PYTHONPATH=C:\Python27\Lib;C:\Python27\DLLs;C:\Python27\Lib\lib-tk
。 MY_DOWNLOADS\translate-1.11.0\translate-1.11.0\python setup.py install
之后我尝试使用po2csv:
python po2csv
python: can't open file 'po2csv': [Errno 2] No such file or directory
C:\Python27\Scripts>python po2csv
Traceback (most recent call last):
File "po2csv", line 22, in <module>
from translate.convert import po2csv
ImportError: cannot import name po2csv
C:\Python27\Lib\site-packages\translate\convert>python po2csv.py
Traceback (most recent call last):
File "po2csv.py", line 27, in <module>
from translate.storage import po
ImportError: cannot import name po
我做错了什么?