美文网首页
python常用模块win10(python2)安装

python常用模块win10(python2)安装

作者: Hf1dw | 来源:发表于2018-10-10 21:34 被阅读0次
  • Image
    常见作用:ctf中二维码生成会需要该模块;
    下载地址
1、下载PIL--Python Imaging Library 1.1.7 for Python 2.7(这里对应于python2.7的win32版本)
2、保存在python目录下,点击'.exe'运行即可
3、运用image函数时需要使用:from PIL import Image
  • numpy
    常见作用:ctf中数组计算会用到;
    下载地址
cd到存放地址的目录,执行pip install xxx.whl
//xxx.whl即为numpy的.whl文件全名
  • Matplotlib
1、命令行界面-->python -m pip install matplotlib
2、python -m pip list查看本机的安装的所有模块,确保matplotlib已经安装成功。
1、将下载的.whl文件放置script模块下;
2、cd至script模块下;
3、输入命令:pip install xxx.whl

相关文章

网友评论

      本文标题:python常用模块win10(python2)安装

      本文链接:https://www.haomeiwen.com/subject/workpftx.html