我正在构建一个QGIS plugin
并使用Python Pandas
库。如何在QGIS python中安装Pandas库?请帮帮我 !如何在QGIS python中安装pandas库?
回答
方法有很多种:
您的Python版本的安装
pip
: https://pip.pypa.io/en/latest/installing.html$ wget的https://bootstrap.pypa.io/get-pip.py
$ sudo的蟒蛇get-pip.py
然后安装pandas
:$ sudo pip install pandas
- 从源安装熊猫: http://pandas.pydata.org/getpandas.html 编译它和包复制到
PYTHON_PATH
。
谢谢luart,我在Windows上使用QGIS,而不是在Linux上。你可以用Windows指导吗? –
使用pip在Python中安装模块时没有什么区别,因为Python代码是跨平台的,而C库是从源代码编译的。 所以它应该像上面描述的那样工作,你只需要使用一些浏览器而不是'wget'来下载'get-pip.py'并且使用一些C编译器(VC或者其它)。 在这里看到细节:https:// stackoverflow.com/questions/4750806/how-to-install-pip-on-windows 应该只是省略'sudo',即从Windows终端使用'python get-pip.py'和'pip install pandas'(你的python应该在系统PATH中)。 – luart
- 1. 如何安装Python Pandas?
- 2. 如何在Eclipse Juno中安装并运行pandas python库?
- 3. 在debian上安装qgis jessie
- 4. Raspberry Pi-Python:在Python 3.5.2上安装Pandas
- 5. 如何在heroku中安装python库
- 6. 如何在Visual Studio中安装Python库?
- 7. 如何在linux中安装python库?
- 8. 如何在Spark中为Python 3.5安装numpy和pandas?
- 9. 在Windows上使用Python 2.5安装Pandas
- 10. pandas安装在python-2.6.6-64.el6.x86_64上
- 11. 在Python中安装fastkde库
- 12. 安装Python库
- 13. Python库安装
- 14. python pandas和matplotlib安装冲突
- 15. PANDAS安装问题
- 16. 如何在Python IDE Spyder中安装“graphics”python库/模块?
- 17. Python受挫安装库不会安装
- 18. 安装cube2sphere Python库
- 19. 如何使用/安装gps python库
- 20. 如何手动安装python库
- 21. 如何离线安装ruamel.yaml python库?
- 22. 如何安装Azure webjob的python库?
- 23. 如何在其中继版本中安装Python Babel库?
- 24. 在python窗口中安装scapy库
- 25. 在Centos7中安装qgis-mapserver失败:缺少依赖关系
- 26. 如何安装库
- 27. 如何安装库?
- 28. Python库安装MacPorts的
- 29. 如何在python 3.4中安装xmlrpclib?
- 30. 如何在Python中安装MiniSom包
欢迎使用stackoverflow。检查这[网站](http://gis.stackexchange.com/questions/134267/how-do-i-install-a-external-package-in-qgis) –
这可能是棘手的,因为QGIS的Python不起来至今。但试试这个,我一步一步安装了PySAL库。 [检查本指南](http://umar-yusuf.blogspot.com.ng/2016/07/How-to-Install-Third-party-Python-Modules-in-QGIS-Windows.html) –