I am currently using Python 2.7, Django 1.8 and Windows 7. I am trying to set the Windows environment variables, as per the instructions here . When I try to do this using the Powershell, I get the following error.
PS C:\IHCDA> set PATH=%PATH%;%PYTHON_ROOT%;%OSGEO4W_ROOT%\bin%PYTHON_ROOT% : The term '%PYTHON_ROOT%' is not recognized as the name of a cmdlet, function, script file, or operableprogram. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:17+ set PATH=%PATH%;%PYTHON_ROOT%;%OSGEO4W_ROOT%\bin+ ~~~~~~~~~~~~~ + CategoryInfo : ObjectNotFound: (%PYTHON_ROOT%:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException%OSGEO4W_ROOT%\bin : The module '%OSGEO4W_ROOT%' could not be loaded. For more information, run 'Import-Module%OSGEO4W_ROOT%'.At line:1 char:31+ set PATH=%PATH%;%PYTHON_ROOT%;%OSGEO4W_ROOT%\bin+ ~~~~~~~~~~~~~~~~~~ + CategoryInfo : ObjectNotFound: (%OSGEO4W_ROOT%\bin:String) [], CommandNotFoundException + FullyQualifiedErrorId : CouldNotAutoLoadModuleWithout this line, Django doesn't seem to recognize that GEOS is installed, and it gets an error whenever I try to use runserver. I'm a beginner when it comes to Windows, so any idea what's going on with this?
أكثر...
PS C:\IHCDA> set PATH=%PATH%;%PYTHON_ROOT%;%OSGEO4W_ROOT%\bin%PYTHON_ROOT% : The term '%PYTHON_ROOT%' is not recognized as the name of a cmdlet, function, script file, or operableprogram. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:17+ set PATH=%PATH%;%PYTHON_ROOT%;%OSGEO4W_ROOT%\bin+ ~~~~~~~~~~~~~ + CategoryInfo : ObjectNotFound: (%PYTHON_ROOT%:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException%OSGEO4W_ROOT%\bin : The module '%OSGEO4W_ROOT%' could not be loaded. For more information, run 'Import-Module%OSGEO4W_ROOT%'.At line:1 char:31+ set PATH=%PATH%;%PYTHON_ROOT%;%OSGEO4W_ROOT%\bin+ ~~~~~~~~~~~~~~~~~~ + CategoryInfo : ObjectNotFound: (%OSGEO4W_ROOT%\bin:String) [], CommandNotFoundException + FullyQualifiedErrorId : CouldNotAutoLoadModuleWithout this line, Django doesn't seem to recognize that GEOS is installed, and it gets an error whenever I try to use runserver. I'm a beginner when it comes to Windows, so any idea what's going on with this?
أكثر...