markdown QGIS 2.x Python和元搜索问题

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了markdown QGIS 2.x Python和元搜索问题相关的知识,希望对你有一定的参考价值。

I installed QGIS (KyngChaos) after installing Miniconda. When I would open QGIS, I'd get an error about MetaSearch not started because requests couldn't be found. How I got things working again

Alias system Python 2.7 (This may be optional)

`sudo alias python2=/usr/bin/python2.7`

Get a copy of [get-pip.py](https://bootstrap.pypa.io/get-pip.py) and use it to install pip

`sudo /usr/bin/python2.7 /Users/maptastik/get-pip.py`

Install requests

`sudo /usr/bin/python2.7 -m pip install requests`

After reloading I got an error that jinja2 couldn't be found. So I installed jinja2

`sudo /usr/bin/python2.7 -m pip install jinja2`

I reloaded QGIS again and got another error about pygments being missing, so I installed pygments.

`sudo /usr/bin/python2.7 -m pip install pygments`

This time when I re-installed, no errors!

以上是关于markdown QGIS 2.x Python和元搜索问题的主要内容,如果未能解决你的问题,请参考以下文章

markdown UNAL - Servicios QGIS Cloud y WMTS

在 MacOS Mojave 上为 QGIS 安装 Python 3.6

QGIS PYTHON 开发环境

Qgis 里的Python脚本介绍

QGIS(PYTHON3.5QT5.7.1QGIS3)系列二次开发环境

重新安装的Qgis为啥还存在和原来一样的问题