Python连接mongodb环境配置
1)安装Python-devel,如果不安装的话在安装pymongo时会出现报警
- WARNING: The pymongo._cmessage extension module could not
- be compiled. No C extensions are essential for PyMongo to run,
- although they do result in significant speed improvements.
- If you are seeing this message on Linux you probably need to
- install GCC and/or the Python development package for your
- version of Python. Python development package names for popular
- Linux distributions include:
- RHEL/CentOS: python-devel
- Debian/Ubuntu: python-dev
- Above is the ouput showing how the compilation failed.
- yum install python-devel
- easy_install pymongo
相关推荐
IT之家 2020-03-11
graseed 2020-10-28
zbkyumlei 2020-10-12
SXIAOYI 2020-09-16
jinhao 2020-09-07
impress 2020-08-26
liuqipao 2020-07-07
淡风wisdon大大 2020-06-06
yoohsummer 2020-06-01
chenjia00 2020-05-29
baike 2020-05-19
扭来不叫牛奶 2020-05-08
hxmilyy 2020-05-11
黎豆子 2020-05-07
xiongweiwei00 2020-04-29
Cypress 2020-04-25
冰蝶 2020-04-20