全文搜索
标题搜索
全部时间
1小时内
1天内
1周内
1个月内
默认排序
按时间排序
为您找到相关结果60个

离线安装python的requests库方法_python_脚本之家

发现需要chardet,idna,urllib3,certifi 检查这几个包是否已安装,如果未安装,则也需要手工安装。 1.2 下载requests所需依赖包 在网站 https://www.lfd.uci.edu/~gohlke/pythonlibs 上找到相应的程序,下载并传输至目标机器。 1.3 下载requests包 从github下载requests源码包并传输至目标机器。 https://github.com/ken...
www.jb51.net/article/2368...htm 2024-7-17

python如何实现图片压缩_python_脚本之家

from idna import unicode from selenium import webdriver import time import os browser = webdriver.Firefox(executable_path='/Users/lyf/Library/Google/geckodriver') def tiny_png(url): # browser.get('https://tinypng.com/') upload_file = browser.find_element_by_tag_name("input") try: upload_...
www.jb51.net/article/1954...htm 2024-7-17

Python pip通过requirements.txt 文件安装依赖_python_脚本之家

idna==3.3 k3cloud-webapi-sdk==3.0.3 Naked==0.1.31 numpy==1.21.5 pandas==1.3.5 pycryptodome==3.14.1 python-dateutil==2.8.2 python-snappy==0.6.1 pytz==2022.1 PyYAML==6.0 requests==2.27.1 shellescape==3.8.1 six==1.16.0 typing_extensions==4.1.1 urllib3==1.26.92...
www.jb51.net/python/3175818...htm 2024-7-18

Python实现PDF转MP3的示例代码_python_脚本之家

Requirement already satisfied: idna>=2.0 in d:\programdata\anaconda3\lib\site-packages (from yarl<2.0,>=1.0->aiohttp>=3.8.0->edge-tts) (3.4)Installing collected packages: edge-ttsSuccessfully installed edge-tts-6.1.5 三、代码很简单 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18...
www.jb51.net/article/2832...htm 2024-7-14

Docker私有仓库Harbor介绍和部署方法详解_docker_脚本之家

Successfully installed asn1crypto-0.24.0 bcrypt-3.1.6 cached-property-1.5.1 certifi-2019.3.9 cffi-1.12.3 chardet-3.0.4 cryptography-2.6.1 docker-3.7.2 docker-compose-1.24.0 docker-pycreds-0.4.0 dockerpty-0.4.1 docopt-0.6.2 enum34-1.1.6 functools32-3.2.3.post2 idna-2.7 jsonschema-2.6....
www.jb51.net/article/2363...htm 2024-7-17

利用python做表格数据处理_python_脚本之家

Requirement already satisfied: idna<3,>=2.5 in /home/dechin/anaconda3/lib/python3.8/site-packages (from requests->vaex-core<5,>=4.1.0->vaex) (2.10) Requirement already satisfied: chardet<4,>=3.0.2 in /home/dechin/anaconda3/lib/python3.8/site-packages (from requests->vaex-core<5,>=4....
www.jb51.net/article/2094...htm 2024-7-18

Python单元测试的9个技巧技巧_python_脚本之家

test_idna_without_version_attribute和test_idna_with_version_attribute均有一个mocker参数,这是pytest-mock提供的功能,会自动注入一个mock实现。使用这个mock对idna模块进行模拟 1 2 3 4 # 模拟空实现 mocker.patch('requests.help.idna', new=None) # 模拟版本2.6 mocker.patch('requests.help.idna', ne...
www.jb51.net/article/2243...htm 2024-7-17

支持python的分布式计算框架Ray详解_python_脚本之家

Installing collected packages: pyasn1, setuptools, rsa, pyparsing, pyasn1-modules, protobuf, multidict, immutables, cachetools, yarl, packaging, idna-ssl, googleapis-common-protos, google-auth, contextvars, attrs, async-timeout, pyrsistent, psutil, opencensus-context, nvidia-ml-py3, hiredis, ...
www.jb51.net/article/2183...htm 2024-7-17

Python学习之pip包管理工具的使用_python_脚本之家

idna==3.3 pycodestyle==2.8.0 requests==2.28.1 toml==0.10.2 urllib3==1.26.11该命令还可以将模块包及对应的版本号输出到文件中。1 pip freeze > requirements.txt搜索包原pip search 包名 已经不能使用了,官方将 PyPI 的 search 功能将被无限期封掉了,所以忽略吧。到此这篇关于Python学习之pip包管理工...
www.jb51.net/article/2581...htm 2024-7-16