Opened 14 years ago
Closed 14 years ago
#3390 closed bug (invalid)
crash on start of QGIS due to conflict between Python versions
Reported by: | kapitonenko | Owned by: | borysiasty |
---|---|---|---|
Priority: | critical: causes crash or data corruption | Milestone: | Version 1.7.0 |
Component: | Python plugins and bindings | Version: | 1.6.0 |
Keywords: | crash python | Cc: | |
Must Fix for Release: | Yes | Platform: | Windows |
Platform Version: | Awaiting user input: | no |
Description
When I start QGis I've got the next error:
"An error occured during execution of following code: import os
can't import traceback
Python version: 2.5.2 (r252:60911, Feb 21 2008, 13:11:45) [MSC v.1310 32 bit (Intel)]
QGIS version: 1.6.0-Capiapo 'Capiapo', exported
Python path:
['C:
OSGeo4W
apps
gdal-17
pymod', 'C:
Python26', 'C:
Python26
Lib', 'C:
Python26
libs', 'C:
Python26
Lib
site-packages', 'C:
Python26
Lib
site-packages
dbfpy', 'C:
OSGeo4W
bin
python25.zip', 'C:
OSGeo4W
apps
Python25
DLLs', 'C:
OSGeo4W
apps
Python25
lib', 'C:
OSGeo4W
apps
Python25
lib
plat-win', 'C:
OSGeo4W
apps
Python25
lib
lib-tk', 'C:
OSGeo4W
apps
qgis
bin']"
It seems like conflict between python version 2.6.2 installed on my computer and 2.5.2 included in QGis. When I renamed my directory C:\Python26 to C:\Python26_bak problem was disappeared.
Change History (2)
comment:1 by , 14 years ago
comment:2 by , 14 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
right, you should use OSGeo4W's python.
I've removed system environment variable PYTHONPATH and problem is disappeared.