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

ModuleNotFoundError: No module named 'future' #26

Open
elvischao opened this issue May 18, 2018 · 3 comments
Open

ModuleNotFoundError: No module named 'future' #26

elvischao opened this issue May 18, 2018 · 3 comments

Comments

@elvischao
Copy link

无法载入插件“GeoCoding”因在调用其classFactory()方法时发生错误
Traceback (most recent call last):
File "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py", line 336, in startPlugin
plugins[packageName] = package.classFactory(iface)
File "/Users/Elvis/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/GeoCoding/init.py", line 24, in classFactory
from .GeoCoding import GeoCoding
File "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py", line 664, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "/Users/Elvis/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/GeoCoding/GeoCoding.py", line 47, in
from .geocoders import *
File "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py", line 664, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "/Users/Elvis/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/GeoCoding/geocoders.py", line 20, in
from .networkaccessmanager import NetworkAccessManager
File "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py", line 664, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "/Users/Elvis/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/GeoCoding/networkaccessmanager.py", line 21, in
from future import standard_library
File "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py", line 664, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
ModuleNotFoundError: No module named 'future'

Python版本: 3.6.5 (v3.6.5:f59c0932b4, Mar 28 2018, 03:03:55) [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)]
QGIS版本: 3.0.2-Girona Girona, exported

Python路径:
/Applications/QGIS3.app/Contents/MacOS/../Resources/python
/Users/Elvis/Library/Application Support/QGIS/QGIS3/profiles/default/python
/Users/Elvis/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins
/Applications/QGIS3.app/Contents/MacOS/../Resources/python/plugins
/Library/Frameworks/Python.framework/Versions/3.6/lib/python36.zip
/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6
/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/lib-dynload
/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages
/Users/Elvis/Library/Application Support/QGIS/QGIS3/profiles/default/python

@ravi-ramadoss
Copy link

Have the same issue

@ravi-ramadoss
Copy link

I can resolve this issue by installing future outside qgis

/Library/Frameworks/Python.framework/Versions/3.6/bin/pip3 install future

@MtnBiker
Copy link

@ravi9884 Thanks. Worked for me on macOS 10.14.2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants