随笔分类 - Python
摘要:# cat /etc/redhat-release CentOS Linux release 7.4.1708 (Core) 系统是这个 编译boost遇到问题: ./boost/python/detail/wrap_python.hpp:50:23: fatal error: pyconfig.h
阅读全文
摘要:参考链接 https://www.cnblogs.com/caidingyu/p/11566690.html pip是python中的一个包管理工具,可以对Python包的查找、下载、安装、卸载的作用。 1 2 yum -y install epel-release yum -y install p
阅读全文
摘要:参考链接: https://blog.csdn.net/YSH55024/article/details/81085621 前提条件:一台能联网的linux 1、在想要的位置创建目录:mkdir python(可以将python安装包及第三方库下载到此处) 从官网下载地址:https://www.p
阅读全文
摘要:此工具适合在linux环境下使用。 pdb工具的使用方式一: 在python中使用pdb模块可以进行调试 import pdb pdb.set_trace() pdb工具的使用方式二: 可以使用python -m pdb mysqcript.py这样的方式,同gdb的调试方式差不多。 1 [root
阅读全文
摘要:此工具适合在linux环境下使用,可是此工具为图形界面,不如命令的方式使用方便。 图形界面可以方便的查看变量信息,断点信息和栈信息。 pudb工具的查找: 1 [root@localhost pp]# pip search pudb 2 DEPRECATION: Python 2.7 will re
阅读全文
摘要:1.python3版本的安装过程: 1 [root@localhost wireshark-3.0.6]# yum install python3 2 已加载插件:fastestmirror 3 Loading mirror speeds from cached hostfile 4 * base:
阅读全文
摘要:升级python的工具pip的命令: 注意:cmd要用管理员权限运行。 1 C:\Windows\system32>python -m pip install --upgrade pip 2 Collecting pip 3 Downloading https://files.pythonhoste
阅读全文
摘要:win10安装python参考如下链接: https://blog.csdn.net/weixin_37424315/article/details/89929650
阅读全文

浙公网安备 33010602011771号