Python - Matplotlib and Numpy on Debian/Ubuntu
There are `python-matplotlib` and `python-numpy` packages in the Debian/Ubunturepos.
However, if you want to run in avirtualenv (with no-site-packages), and pip install these packages from PyPI, youneed some system dependencies installed first to build with:
CODE:
$ sudo apt-get install build-essential python-dev libfreetype6-dev libpng-dev python-virtualenvThen, you can create a virtualenv, and the installers for Numpy and Matplotlib will work:
CODE:
$ virtualenv env$ cd env
$ source bin/activate
(env)$ pip install numpy matplotlib
...
...
Successfully installed numpy matplotlib
Cleaning up...
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/301743/viewspace-731269/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Python中Numpy及Matplotlib使用Python
- windows下python配置numpy、matplotlib、scipyWindowsPython
- python2.7 + numpy-1.6.1 + matplotlib-1.1.0Python
- Python中的Numpy、SciPy、MatPlotLib安裝與配置Python
- python實踐系列之(一)安裝 python/pip/numpy/matplotlibPython
- Numpy的Matplotlib視覺化視覺化
- 簡述 Python 的 Numpy、SciPy、Pandas、Matplotlib 的區別Python
- Windows系統中安裝Python模組pip numpy matplotlibWindowsPython
- 圖片展示 [ Numpy 處理, Matplotlib 展示 ]
- 機器學習之numpy和matplotlib學習(四)機器學習
- 給深度學習入門者的Python快速教程 - Numpy和Matplotlib篇深度學習Python
- 【Python資料探勘課程】六.Numpy、Pandas和Matplotlib包基礎知識Python
- Python 影像處理 OpenCV (2):畫素處理與 Numpy 操作以及 Matplotlib 顯示影像PythonOpenCV
- How to install sougoupinyin on Debian/Ubuntu.GoUbuntu
- python包:matplotlibPython
- 在Debian/Ubuntu環境下更新chromeUbuntuChrome
- Python常用庫NumpyPython
- 重學python【numpy】Python
- Python3---numpyPython
- Python NumPy CookBook 前言Python
- Python進階 — matplotlibPython
- 【莫煩】Python MatplotlibPython
- Python進階 -- matplotlibPython
- Matplotlib中將繪圖儲存到Numpy陣列的2種方法繪圖陣列
- Debian/Ubuntu包安裝工具APT的使用UbuntuAPT
- Debian/Ubuntu下L2TP VPN配置Ubuntu
- ubuntu下import matplotlib錯誤解決辦法UbuntuImport
- python繪圖之matplotlibPython繪圖
- Python之matplotlib基礎Python
- Python Numpy基礎教程Python
- Python資料分析 – numpyPython
- python_numPy學習Python
- Python資料分析 - NumpyPython
- python之numpy庫[1]Python
- python之numpy庫[2]Python
- Python之numpy學習Python
- Python之Numpy初識Python
- python 無法使用numpyPython