- 论坛徽章:
- 0
|
本人在solaris10下安装calibre后,执行出现以下问题:
#calibre
/usr/bin/env: 无此文件或目录
查看calibre脚本,内容如下:
#!/usr/bin/env python2
"""
This is the standard runscript for all of calibre's tools.
Do not modify it unless you know what you are doing.
"""
import sys, os
path = os.environ.get('CALIBRE_PYTHON_PATH', '/opt/csw/lib/calibre')
if path not in sys.path:
sys.path.insert(0, path)
sys.resources_location = os.environ.get('CALIBRE_RESOURCES_PATH', '/opt/csw/share/calibre')
sys.extensions_location = os.environ.get('CALIBRE_EXTENSIONS_PATH', '/opt/csw/lib/calibre/calibre/plugins')
sys.executables_location = os.environ.get('CALIBRE_EXECUTABLES_PATH', '/opt/csw/bin')
from calibre.gui2.main import main
sys.exit(main())
请问如何解决?谢谢! |
|