Created
December 11, 2015 01:46
-
-
Save filipkral/51d811b9558b08e62e22 to your computer and use it in GitHub Desktop.
Importing OSGeo4W osgeo Python package to Pyscripter on Windows
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sys, os | |
sys.path.insert(0, r'C:\OSGeo4W\apps\Python27\Lib\site-packages') | |
#sys.path.insert(0, r'C:\OSGeo4W\lib') | |
sys.path.insert(0, r'C:\OSGeo4W\bin') | |
#os.environ['PATH'] = os.environ['PATH'] + ';' + r'C:\OSGeo4W\lib' | |
os.environ['PATH'] = os.environ['PATH'] + ';' + r'C:\OSGeo4W\bin' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment