我正在尝试使用git bash按照python setup.py install
安装PLY,但结果却不一样。
python setup.py install
输出:
running install
running build
running build_py
running install_lib
creating c:\Python27\Lib\site-packages\ply
copying build\lib\ply\cpp.py -> c:\Python27\Lib\site-packages\ply
copying build\lib\ply\ctokens.py -> c:\Python27\Lib\site-packages\ply
copying build\lib\ply\lex.py -> c:\Python27\Lib\site-packages\ply
copying build\lib\ply\yacc.py -> c:\Python27\Lib\site-packages\ply
copying build\lib\ply\__init__.py -> c:\Python27\Lib\site-packages\ply
byte-compiling c:\Python27\Lib\site-packages\ply\cpp.py to cpp.pyc
byte-compiling c:\Python27\Lib\site-packages\ply\ctokens.py to ctokens.pyc
byte-compiling c:\Python27\Lib\site-packages\ply\lex.py to lex.pyc
byte-compiling c:\Python27\Lib\site-packages\ply\yacc.py to yacc.pyc
byte-compiling c:\Python27\Lib\site-packages\ply\__init__.py to __init__.pyc
running install_egg_info
Writing c:\Python27\Lib\site-packages\ply-3.4-py2.7.egg-info
我甚至无法使用https://github.com/dabeaz/ply
所示的PLYimport ply.lex as lex
我收到错误command not found
。