亚洲国产日韩欧美一区二区三区,精品亚洲国产成人av在线,国产99视频精品免视看7,99国产精品久久久久久久成人热,欧美日韩亚洲国产综合乱

nginx - pip install python library error
高洛峰
高洛峰 2017-05-16 17:24:05
0
1
910

CentOS 6.5
Python 2.6
pip 7.0.1

Build a Django program deployment environment from scratch, using the nginx uwsgi Django mode. After reinstalling the operating system, executed the following commands:
1. Install necessary development packages:
yum groupinstall "Development tools"

yum install zlib-devel bzip2-devel pcre-devel openssl-devel ncurses-devel sqlite-devel readline-devel tk-devel

2. Download https://bootstrap.pypa.io/get-pip.py
3. Run python get-pip.py
4. Install the Python third-party libraries that the project depends on
pip install -r requirements.txt

When executing the fourth step, an error is reported:


close up:

What causes this?

高洛峰
高洛峰

擁有18年軟件開(kāi)發(fā)和IT教學(xué)經(jīng)驗(yàn)。曾任多家上市公司技術(shù)總監(jiān)、架構(gòu)師、項(xiàng)目經(jīng)理、高級(jí)軟件工程師等職務(wù)。 網(wǎng)絡(luò)人氣名人講師,...

reply all(1)
小葫蘆

Okay, I’m asking myself again;

The close-up part in the question should be the place where the error occurred,
It’s the one above Python.h :沒(méi)有那個(gè)文件或目錄。
This header file requires the python-devel library to be installed.

The solution is as follows:
yum install python-devel;
yum install pycrypto;
Done in two steps.

When all this work is completed, I will write an article to record it~

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template