Skip to content

Installation error Win7 #10

@bhoudusse

Description

@bhoudusse

Hello,

New to Github, I started by commenting a simila closed issue.

Here is the new one :

i'm a French user and I have a similar problem on my professional PC (Win 7, Qgis 3.6.0, Python 3.7.0)

In my case, it seems to be a problem with the installation of pip ; i tried to reinstall the lib with the Qgis' advanced installer, but the problem message still occurs : see captured message at the end

I tried to do the quick tests you propose:

  • in the osgeo shell, the command python3 -V returns : Python 3.7.0
  • in the qgis console, the command import pip returns an error :

Traceback (most recent call last):
File "C:\OSGEO4~1\apps\Python37\lib\code.py", line 90, in runcode
exec(code, self.locals)
File "", line 1, in
File "C:/OSGEO4~1/apps/qgis/./python\qgis\utils.py", line 672, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
ModuleNotFoundError: No module named 'pip'

I'd really like to help, because I'd like to test the plugin against some of my data (I'm an archeologist and I'm really interested in testing morphological indicators.

Bertrand

Captured error message at Qgis launch :

Impossible de charger l'extension 'NeatMap' provoque une erreur lors de l'appel à sa méthode classFactory()

ModuleNotFoundError: No module named 'pip'
Traceback (most recent call last):
File "C:/Users/bhoudusse/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\NeatMap\classification.py", line 9, in
from pip._internal import main
File "C:/OSGEO4~1/apps/qgis/./python\qgis\utils.py", line 672, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
ModuleNotFoundError: No module named 'pip'

         During handling of the above exception, another exception occurred:
         
         Traceback (most recent call last):
          File "C:/OSGEO4~1/apps/qgis/./python\qgis\utils.py", line 335, in startPlugin
          plugins[packageName] = package.classFactory(iface)
          File "C:/Users/bhoudusse/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\NeatMap\__init__.py", line 34, in classFactory
          from .neatmap import NeatMap
          File "C:/OSGEO4~1/apps/qgis/./python\qgis\utils.py", line 672, in _import
          mod = _builtin_import(name, globals, locals, fromlist, level)
          File "C:/Users/bhoudusse/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\NeatMap\neatmap.py", line 38, in 
          from .classification import *
          File "C:/OSGEO4~1/apps/qgis/./python\qgis\utils.py", line 672, in _import
          mod = _builtin_import(name, globals, locals, fromlist, level)
          File "C:/Users/bhoudusse/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\NeatMap\classification.py", line 16, in 
          from pip._internal import main
          File "C:/OSGEO4~1/apps/qgis/./python\qgis\utils.py", line 672, in _import
          mod = _builtin_import(name, globals, locals, fromlist, level)
         ModuleNotFoundError: No module named 'pip'

Originally posted by @bhoudusse in #4 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions