Guest User

Untitled

a guest
Jan 17th, 2018
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.03 KB | None | 0 0
  1. set PYTHONPATH=c:qgispathpython
  2.  
  3. set PATH=C:qgispath;%PATH%
  4.  
  5. PYTHONPATH="C:OSGeo4W64appsqgispython"
  6. PATH="C:OSGeo4W64appsqgispythonqgiscore;%PATH%"
  7. import qgis.core
  8.  
  9. Traceback (most recent call last):
  10. File "<pyshell#15>", line 1, in <module>
  11. import qgis.core
  12. ImportError: No module named qgis.core
  13.  
  14. >>> PYTHONPATH="C:/OSGEO4~1/apps/qgis/./pythonqgis"
  15. >>> import qgis.core
  16.  
  17. Traceback (most recent call last):
  18. File "<pyshell#1>", line 1, in <module>
  19. import qgis.core
  20. ImportError: No module named qgis.core
  21. >>> PATH="C:OSGeo4W64appsqgispythonqgiscore;%PATH%"
  22. >>> import qgis.core
  23.  
  24. Traceback (most recent call last):
  25. File "<pyshell#3>", line 1, in <module>
  26. import qgis.core
  27. ImportError: No module named qgis.core
  28. >>> PATH="C:/OSGEO4~1/apps/qgis/./pythonqgiscore;%PATH%"
  29. >>> import qgis.core
  30.  
  31. Traceback (most recent call last):
  32. File "<pyshell#6>", line 1, in <module>
  33. import qgis.core
  34. ImportError: No module named qgis.core
  35. >>>
  36.  
  37. set PYTHONPATH=%OSGEO4W_ROOT%\apps\qgis\python
  38. set PATH=%OSGEO4W_ROOT%\apps\qgis\bin;%PATH%
Add Comment
Please, Sign In to add comment