
python
难得糊涂_不解释
这个作者很懒,什么都没留下…
展开
-
mac python3安装pandas
mac python3安装pandas。原创 2022-08-21 16:06:54 · 1985 阅读 · 0 评论 -
No module named Crypto.Cipher
pip uninstall cryptopip install pycryptodomepycrypto、pycrytodome和crypto是一个东西,crypto在python上面的名字是pycrypto,它是一个第三方库,但是已经停止更新三年了,所以不建议安装这个库;pycryptodome就来了,它是pycrypto的延伸版本,用法和pycrypto是一模一样的...原创 2022-04-25 11:05:48 · 1344 阅读 · 0 评论 -
mac python2 pip: command not found
需要先安装pipsudo easy_install pip原创 2022-03-22 17:22:31 · 1171 阅读 · 0 评论 -
python3安装python-jenkins模块
[root@jenkins-master bin]# ./pip3 install python3-jenkins -i http://pypi.mirrors.ustc.edu.cn/simple/Looking in indexes: http://pypi.mirrors.ustc.edu.cn/simple/Collecting python3-jenkinsWARNING: The repository located at pypi.mirrors.ustc.edu.cn is not a原创 2020-11-16 12:56:17 · 1474 阅读 · 0 评论 -
pip、pip3更换国内源
方案一:修改配置文件首先在当前用户目录下建立文件夹.pip,然后在文件夹中创建pip.conf文件,再将源地址加进去即可。mkdir ~/.pipvim ~/.pip/pip.conf复制下面的内容[global]index-url = https://mirrors.aliyun.com/pypi/simple国内其他pip源,清华的5分钟同步一次官网,建议使用清华:https://pypi.tuna.tsinghua.edu.cn/simple中国科技大学 https://pypi.m原创 2020-07-08 00:09:32 · 3380 阅读 · 0 评论 -
服务器上python3安装的module安装检查
list="pymongo pymysql sys time datetime "strmod=""nomod=""for i in `python3 -c "help('modules')"` do strmod=${strmod},${i} donefor i in $list;do result=$(echo $strmod | grep "${i}") if [[ "...原创 2020-03-18 12:39:35 · 222 阅读 · 0 评论 -
PyMySQL 安装
1、pip3安装pip3 install PyMySQL2、离线安装git clone https://github.com/PyMySQL/PyMySQLcd PyMySQL/python3 setup.py install3、指定版本号 curl -L https://github.com/PyMySQL/PyMySQL/tarball/pymysql-X.X | tar xz...原创 2019-07-06 11:55:07 · 897 阅读 · 0 评论