I had various bugs in my GIS softwares (QGIS, ArcGIS) after uninstalling PyCharm from my computer (time limited school license). For a school assignment we had to change the PythonPATH and PythonHOME and after uninstalling the said IDE, some plugins stoped working in QGIS.
I uninstalled the programs, ran CCleaner to remove old registries and just re-installed these:
- ArcGIS 10.2
- OSGeo4W (including QGIS Lyon 2.12.3)
- OpenGeoSuite 4.8 (without QGIS)
- Python 2.7
- PyScripter
Now the Processing toolbox and other plugins are corrupted and there is this error message:
AttributeError: 'module' object has no attribute 'openssl_md_meth_names'
Also, when the program starts I have other Python errors.
Impossible to load fTools plugin provokes error when calling classFactory()
(translated from french)
Here's the logfile:
Traceback (most recent call last):
File "C:/OSGEO4~1/apps/qgis/./python\qgis\utils.py", line 306, in startPlugin
plugins[packageName] = package.classFactory(iface)
File "C:/OSGEO4~1/apps/qgis/./python/plugins\fTools\__init__.py", line 33, in classFactory
from .fTools import fToolsPlugin
File "C:/OSGEO4~1/apps/qgis/./python\qgis\utils.py", line 572, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "C:/OSGEO4~1/apps/qgis/./python/plugins\fTools\fTools.py", line 52, in <module>
import doRandom
File "C:/OSGEO4~1/apps/qgis/./python\qgis\utils.py", line 572, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "C:\OSGEO4~1\apps\qgis\python\plugins\fTools\tools\doRandom.py", line 37, in <module>
import random
File "C:/OSGEO4~1/apps/qgis/./python\qgis\utils.py", line 572, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "C:\Python27\Lib\random.py", line 49, in <module>
import hashlib as _hashlib
File "C:/OSGEO4~1/apps/qgis/./python\qgis\utils.py", line 572, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "C:\Python27\Lib\hashlib.py", line 138, in <module>
_hashlib.openssl_md_meth_names)
AttributeError: 'module' object has no attribute 'openssl_md_meth_names'
qgis2
folder (C:\Users\You\.qgis2
) before reinstalling? This is where most of your plugins are stored are requires to be manually removed.