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

users need to install future with Mac(?) QGIS #14

Open
hanleybrand opened this Issue Oct 3, 2018 · 0 comments

Comments

Projects
None yet
2 participants
@hanleybrand

hanleybrand commented Oct 3, 2018

I installed this plugin via the plugin manager in QGIS and got this error when QGIS tried to load the plugin:

2018-10-03T12:52:37     WARNING    Traceback (most recent call last):
              File "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py", line 312, in loadPlugin
              __import__(packageName)
              File "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py", line 674, in _import
              mod = _builtin_import(name, globals, locals, fromlist, level)
              File "/Users/hanley/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/firstaid/__init__.py", line 11, in 
              from .debuggerwidget import DebuggerWidget
              File "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py", line 674, in _import
              mod = _builtin_import(name, globals, locals, fromlist, level)
              File "/Users/hanley/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/firstaid/debuggerwidget.py", line 11, in 
              from past.builtins import execfile
              File "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py", line 674, in _import
              mod = _builtin_import(name, globals, locals, fromlist, level)
             ModuleNotFoundError: No module named 'past'

It was easily fixed by installing future (e.g. pip3 install future ) - as long as pip3 is pointed to the qgis python installation it should work.

Not sure if this is due to the OS the OS version, a change in QGIS 3(.2(2)), etc. In case it helps here's some information about my environment:

My machine:
MacOS High Sierra (10.13.6)

QGIS version 3.2.2-Bonn QGIS code branch Release 3.2
Compiled against Qt 5.9.6 Running against Qt 5.9.6
Compiled against GDAL/OGR 2.2.4 Running against GDAL/OGR 2.2.4
Compiled against GEOS 3.6.2-CAPI-1.10.2 Running against GEOS 3.6.2-CAPI-1.10.2 4d2925d6
PostgreSQL Client Version 9.6.6 SpatiaLite Version 4.4.0-RC0
QWT Version 6.1.3 QScintilla2 Version 2.10.7
PROJ.4 Version 493

python3 (3.6.4): /Library/Frameworks/Python.framework/Versions/3.6/bin/python3
site-packages prior to installing future:

  • certifi 2018.1.18
  • chardet 3.0.4
  • Click 7.0
  • cycler 0.10.0
  • decorator 4.3.0
  • GDAL 2.2.4
  • idna 2.6
  • ipython-genutils 0.2.0
  • Jinja2 2.10
  • jsonschema 2.6.0
  • jupyter-core 4.4.0
  • kiwisolver 1.0.1
  • loremipsum 1.0.5
  • MarkupSafe 1.0
  • matplotlib 3.0.0
  • nbformat 4.4.0
  • noise 1.2.2
  • numpy 1.14.2
  • OWSLib 0.16.0
  • pip 9.0.1
  • pipenv 2018.7.1
  • plotly 2.5.1
  • psycopg2 2.7.4
  • Pygments 2.2.0
  • pyparsing 2.2.2
  • pyproj 1.9.5.1
  • PyQt5 5.11.2
  • PyQt5-sip 4.19.12
  • python-dateutil 2.7.0
  • pytz 2018.3
  • PyYAML 3.12
  • requests 2.18.4
  • scipy 1.1.0
  • setuptools 28.8.0
  • Shapely 1.6.1
  • six 1.11.0
  • traitlets 4.3.2
  • urllib3 1.22
  • virtualenv 16.0.0
  • virtualenv-clone 0.3.0
  • wheel 0.30.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment