树莓派3B上一些使用pip无法装的python库的安装命令备忘

来源:互联网 发布:淘宝宝贝原价和折扣价 编辑:程序博客网 时间:2024/06/01 21:13

开发环境:

python 2.7.13
raspberry pi 3B
2017-09-07-raspbian-stretch

拓展python必要环境

The build-essential package is required for building Debian packages; python-dev, python-distlib, and python-setuptools provide several Python development and packaging tools; python-pip and python-wheel are useful for installing Python packages; libzmq-dev is needed for Jupyter notebooks; libgdal-dev is needed for geospatial analysis with geopandas.

sudo apt-get install build-essential python-dev python-distlib python-setuptools python-pip python-wheel libzmq-dev libgdal-dev

sklearn

sudo apt-get install python-sklearn

opencv

sudo apt-get update   sudo apt-get upgrade   sudo apt-get install libopencv-dev  sudo apt-get install python-opencv

Tkinter

sudo apt-get install tk tk-dev tcl tcl-dev