Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

crash on start of QGIS due to conflict between Python versions #13450

Closed
qgib opened this issue Jan 5, 2011 · 2 comments
Closed

crash on start of QGIS due to conflict between Python versions #13450

qgib opened this issue Jan 5, 2011 · 2 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Plugins
Milestone

Comments

@qgib
Copy link
Contributor

qgib commented Jan 5, 2011

Author Name: kapitonenko - (kapitonenko -)
Original Redmine Issue: 3390

Redmine category:python_plugins
Assignee: Borys Jurgiel


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.

@qgib
Copy link
Contributor Author

qgib commented Jan 12, 2011

Author Name: kapitonenko - (kapitonenko -)


I've removed system environment variable PYTHONPATH and problem is disappeared.

@qgib
Copy link
Contributor Author

qgib commented Jan 13, 2011

Author Name: Jürgen Fischer (@jef-n)


right, you should use OSGeo4W's python.


  • resolution was configured as invalid
  • status_id was changed from Open to Closed

@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! Plugins labels May 24, 2019
@qgib qgib added this to the Version 1.7.0 milestone May 24, 2019
@qgib qgib closed this as completed May 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Plugins
Projects
None yet
Development

No branches or pull requests

1 participant