2017-05-23 4 views
0

Es gibt ein Modul in Qgis 2.18 Für die Arbeit muss ich die Bibliothek Pyopencl setzen Wie installiert man die Bibliothek pyopencl in Qgis Python? Ich habe versucht, alle Dateien zu übertragen C:\Python27\Lib\site-packages gibt eine Fehlermeldung Durch Pip ich in Python 2.7 libary pyopencl installiert. In OrdnerWie installiere ich die Bibliothek pyopencl in Qgis python?

C: \ Python27 \ Lib \ site-packages

I übertragen, um die Bibliothek PyOpenCL in Ordner Qgis

C: \ Programme \ QGIS 2,18 \ apps \ Python27 \ lib \ site-packages

import pyopencl 
AttributeError: 'module' object has no attribute 'cffi_cl' 

Wie kann ich eine Bibliothek Py noch installieren opencl in qgis?

enter image description here

Antwort

0

Firt Schritt ist PyOpenCL Bibliothek installieren, folgen Sie dieser Anleitung:

http://www.minho-kim.com/courses/17sp43.635/pyopencl.html

In meinem Fall zum Beispiel:

python -m pip install D:\fjraga\Descargas\pyopencl-2017.1+cl12-cp27-cp27m-win_amd64.whl

nach Öffnen Sie Qgis und import pyopencl wieder.

enter image description here

Verwandte Themen