QGIS python module is interfering with another python module installed at the system level -
i working qgis pisa in windows environment.i wanted upgrade scipy module of python present inside osgeo4w. installed pip osgeo4w windows command shell. closed command shell after installation , reopened it. when give pip command inside osfgeo4w windows command shell, referring pip module installed @ system level , hence getting error. don't know how correct thing. here error stack trace:
traceback (most recent call last): file "c:\program files (x86)\qgis pisa\apps\python27\lib\runpy.py", line 162, in _run_module_as_main "__main__", fname, loader, pkg_name) file "c:\program files (x86)\qgis pisa\apps\python27\lib\runpy.py", line 72, in _run_code exec code in run_globals file "c:\python27_32bit\scripts\pip.exe\__main__.py", line 5, in <module> file "c:\program files (x86)\qgis pisa\apps\python27\lib\site-packages\pip\__init__.py", line 13, in <module> pip.utils import get_installed_distributions, get_prog file "c:\program files (x86)\qgis pisa\apps\python27\lib\site-packages\pip\utils\__init__.py", line 26, in <module> pip._vendor import pkg_resources file "c:\program files (x86)\qgis pisa\apps\python27\lib\site-packages\pip\_vendor\pkg_resources\__init__.py", line 76, in <module> __import__('pip._vendor.packaging.specifiers') file "c:\program files (x86)\qgis pisa\apps\python27\lib\site-packages\pip\_vendor\packaging\specifiers.py", line 275, in <module> class specifier(_individualspecifier): file "c:\program files (x86)\qgis pisa\apps\python27\lib\site-packages\pip\_vendor\packaging\specifiers.py", line 374, in specifier re.verbose | re.ignorecase, file "c:\program files (x86)\qgis pisa\apps\python27\lib\re.py", line 190, in compile return _compile(pattern, flags) file "c:\program files (x86)\qgis pisa\apps\python27\lib\re.py", line 242, in _compile raise error, v # invalid expression sre_constants.error: nothing repeat
as can see on stacktrace, 3rd line top, code refers pip module of python installed @ system level instead of pip module installed inside qgis pisa. how can correctly run ?
Comments
Post a Comment