我在创建批处理文件以在windows cmd中运行时遇到问题。错误相同:没有名为site的模块。我将PYTHONPATH设置为…\python27\Lib,将PYTHONHOME设置为…\python27。我确认了这一点,错误仍在继续
批处理文件如下所示:
@ECHO ON
SET PYTHONHOME=%OSGEO4W_ROOT%\apps\Python27
SET PYTHONPATH=%OSGEO4W_ROOT%\apps\Python27\Lib
PATH %OSGEO4W_ROOT%\apps\Python27\Scripts;%PATH%
C:\OSGeo4W64\apps\Python27\Scripts\sentinelsat.exe -u <user> -p <passowrd> -s 20150101 -e 20150105 --instrument MSI --uuid 0d7bb0a5-5a0e-4de4-a41e-1599edf26825 --path <path> -d
@pause
解决办法是什么
我的问题解决了。 我将此添加到我的批次中:
相关问题 更多 >
编程相关推荐