QGIS安装插件时遇到的No module named 'future'

问题描述

  • 我用QGIS安装插件,报错:No module named ‘future’
    意为:没有future模块

问题原因

安装的python 3.x没有future模块,

问题解决

给python安装future模块
在终端输入命令
sudo pip3 install future
回车后,输入密码,注意密码是不显示出来的。
稍等一会下载安装,如:
sudo pip3 install future
Password:
The directory ‘/Users/Elvis/Library/Caches/pip/http’ or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo’s -H flag.
The directory ‘/Users/Elvis/Library/Caches/pip’ or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo’s -H flag.
Collecting future
Downloading https://files.pythonhosted.org/packages/00/2b/8d082ddfed935f3608cc61140df6dcbf0edea1bc3ab52fb6c29ae3e81e85/future-0.16.0.tar.gz (824kB)
100% |████████████████████████████████| 829kB 82kB/s
Installing collected packages: future
Running setup.py install for future … done
Successfully installed future-0.16.0
You are using pip version 9.0.3, however version 10.0.1 is available.
You should consider upgrading via the ‘pip install –upgrade pip’ command.


提示Successfully installed future-0.16.0,就安装好了,然后在安装插件,并启用插件就没有报错了。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
QGIS是一个开源的地理信息系统软件,用户常常会根据自己的需求来定制软件的外观和界面。Open Sans是一种常用的字体,很多用户希望将其安装QGIS中,以便在使用能够更好地展示文本和标签。 然而,有安装Open Sans字体会失败。这可能是由于多种原因导致的,比如字体文件损坏、安装路径错误、或者系统权限不足等。为了解决这个问题,我们可以尝试以下几种方法: 首先,我们可以尝试重新下载Open Sans字体文件,确保文件完整且没有损坏。然后我们将其安装到系统字体文件夹中。接着,我们需要重新打开QGIS并设置字体选项,确认Open Sans已经成功安装并可以正常使用。 如果还是无法解决问题,我们可以尝试以管理员身份运行QGIS,并重新进行字体安装的操作。有候系统权限不足会导致字体安装失败,以管理员身份运行软件可以解决这个问题。 另外,我们还可以尝试在QGIS中手动添加字体文件路径,确保软件能够正确找到Open Sans字体。这样可以排除安装路径错误导致的问题。 最后,如果以上方法依然无法解决问题,我们可以尝试卸载并重新安装QGIS软件,然后再次尝试安装Open Sans字体。 总之,安装Open Sans字体失败可能是由于多种原因导致的,我们可以通过重新下载字体文件、以管理员身份运行软件、手动设置字体路径等方法来解决这个问题。希望以上方法能够帮助你成功地将Open Sans字体安装QGIS中。

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值