ICode9

精准搜索请尝试: 精确搜索
  • pip install 很慢2022-06-20 11:05:43

    pip下载python库太慢怎么办? - 知乎 (zhihu.com) Python安装库太慢?配置好这个速度飞起 - 知乎 (zhihu.com) 经常听到初学python的小伙伴在抱怨,python安装第三方库太慢,很容易失败报错,如果安装pandas、tensorflow这种体积大的库,简直龟速。 为什么pip会很慢? 先来了解下pip,pip是一个

  • pip安装更换镜像2022-06-17 11:00:53

    原文链接 使用pip来安装python包有时候安装起来会非常慢,因此需要换成国内的源来加速下载: 使用命令 以Torch为例: pip install -i https://pypi.tuna.tsinghua.edu.cn/simple torch 常用的国内源 清华大学:Simple Index 中国科学技术大学:Simple Index 阿里云:Simple Index 豆瓣 :Simpl

  • Python第三方库安装只需掌握一种就够啦2022-06-12 22:04:06

    Python第三方库安装只需掌握这一种就够啦 Pyhton是当下最火热的开发语言之一,其强大的第三方库极大的方便了开发者,而第三库的安装对于刚入门的开发者是一项最基本的技能。众所周知,在国内使用Python官方的源码库安装第三方库市一级件十分痛苦的事,其蜗牛般的网速会让你怀疑人生,而且通

  • 编译torch记录2022-06-12 18:34:22

    环境 cuda drvier 11.6 cuda toolkit 11.1 pytorch ver 1.11 conda env # conda package list # packages in environment at /home/tangke/anaconda3/envs/py39torch: # # Name Version Build Channel _libgcc_mutex 0.1

  • 6.12__rf自动化框架(1)2022-06-12 09:36:25

    rf自动化框架 一、RobotFramework框架简介(简称RF) 1、RobotFramework是一个基于Python的,通过关键字驱动测试的自动化框架 (1)什么叫基于python? 就是由python语言开发的这个框架 (2)什么是关键字驱动测试? 关键字驱动测试又称为表格驱动测试,是自动化测试的一种方法。 3、什么是自动化

  • python 随笔2022-06-11 13:35:03

    win7系统支持:python-2.7.18、python-3.8.10 安装python 修改python.exe名字为python2.exe和python3.exe  找到python2和python3的安装目录,修改python2和python3中python.exe和pythonw.exe的名称为python2.exe、pythonw2.exe和python3.exe、pythonw3.exe  遇到一个问题,python3

  • pip cmd下载速度慢解决方案2022-06-08 19:35:57

    cmd下载速度慢不是电脑问题,而是下载的网站有网速限制,如pip,虽然没被墙,但由于是外网,网速极差,经常是几KB一秒,所以我们可以采用镜像服务器,即在命令后加上 -i https://pypi.tuna.tsinghua.edu.cn/simple 格式如下 pip install something -i https://pypi.tuna.tsinghua.edu.cn/simple

  • pip安装显示Could not find a version that satisfies the requirement2022-06-08 19:34:24

    两种情况,第一种是pip版本过低,用python -m pip install --upgrade pip命令更新pip版本 如果更新了还不行那就是网络问题,本来我想安装个loguru试了好久一直出错,如果前面提示“WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after conne

  • Python制作pypi包2022-06-05 09:01:49

    执行打包命令 python setup.py bdist_wheel 用户根路径下创建~/.pypirc,填写如下配置: [distutils] index-servers=pypi [pypi] repository = https://upload.pypi.org/legacy/ username = pypi用户名 password = pypi用户密码

  • 黑客防线 2007~2012 NPM、PYPI、DockerHub 备份2022-06-02 11:03:05

    黑客防线2007精华本(上) Docker docker pull apachecn0/heifang-2007-jinghua-part1 docker run -tid -p <port>:80 apachecn0/heifang-2007-jinghua-part1 # 访问 http://localhost:{port} 查看文档 PYPI pip install heifang-2007-jinghua-part1 heifang-2007-jinghua-part1 <po

  • 黑客防线 2000~2006 NPM、PYPI、DockerHub 备份2022-06-02 11:00:08

    黑客防线2000-2001精华本 Docker docker pull apachecn0/heifang-2000-jinghua docker run -tid -p <port>:80 apachecn0/heifang-2000-jinghua # 访问 http://localhost:{port} 查看文档 PYPI pip install heifang-2000-jinghua heifang-2000-jinghua <port> # 访问 http://loc

  • 上海交大软件学院课件 NPM、PYPI、DockerHub 备份2022-06-01 12:31:42

    sjtu_se_101_ics1 Docker docker pull apachecn0/sjtu-se101-ics1 docker run -tid -p <port>:80 apachecn0/sjtu-se101-ics1 # 访问 http://localhost:{port} 查看文档 PYPI pip install sjtu-se101-ics1 sjtu-se101-ics1 <port> # 访问 http://localhost:{port} 查看文档

  • python之pip换源2022-05-25 22:33:42

    python安装模块的两种方式 # 方式一:用国外镜像 pip install pandas # 方式二:换成国内镜像 pip install -i https://pypi.douban.com/simple 模块名pip install -i https://pypi.douban.com/simple pandas 永久换源基本配置 每次都需要临时换源很麻烦,所以我们就需要配置

  • jupyterlab 更新2022-05-25 01:34:10

    一直将就着用以前的Jupyterlab,最近东西越写越长了,搜搜看有没有能显示TOC的插件,结果发现jupyterlab3都自带了,于是准备更新一下jupyterlab。 jupyter --version pip install jupyterlab==3 pip install jupyterlab==3 -i http://pypi.douban.com/simple --trusted-host pypi.douban

  • 解决python 安装相关库,模块,速度慢的问题。2022-05-22 00:01:54

       pip 提速方法主要有两种,一种是临时提速,一种是永久提速。 1. 临时提速: 在 pip install 包名 后面加上 -i + 镜像地址,这样 pip 安装时即可成倍的提速了。   国内主要镜像地址如下: 清华:https://pypi.tuna.tsinghua.edu.cn/simple 阿里云:http://mirrors.aliyun.com/pypi/sim

  • s2022-05-12 16:03:36

    https://pypi.tuna.tsinghua.edu.cn/packages/7d/2a/2fc11b54e2742db06297f7fa7f420a0e3069fdcf0e4b57dfec33f0b08622/Pillow-8.4.0.tar.gz

  • Pip配置国内镜像源(Windows环境)2022-05-04 11:02:28

    执行pip install安装第三方模块时候因为默认使用的源是国外的,速度很慢,可以通过配置国内的源来提速.有两种方式:一是直接修改pip.ini文件,二是使用命令pip config set来修改(推荐使用,下面以此为例). 首先,我们找到要使用的源下面两个目前都是可以使用的:阿里的和清华大学的.下面

  • 02、 pip源2022-05-03 14:32:48

    1、国内镜像源 1.阿里云:https://mirrors.aliyun.com/pypi/simple/2.豆瓣:https://pypi.douban.com/simple/3.清华大学:https://pypi.tuna.tsinghua.edu.cn/simple/4.中国科学技术大学 http://pypi.mirrors.ustc.edu.cn/simple/5.华中理工大学:http://pypi.hustunique.com/6.山东理工

  • pip换源2022-05-01 07:00:06

    Python 修改 pip 源为国内源 1.临时换源: #清华源 pip install markdown -i https://pypi.tuna.tsinghua.edu.cn/simple # 阿里源 pip install markdown -i https://mirrors.aliyun.com/pypi/simple/ # 腾讯源 pip install markdown -i http://mirrors.cloud.tencent.com/pypi

  • pip换源2022-04-30 05:00:06

    记录下换源网站:https://blog.csdn.net/ghost55565/article/details/119322647 还有个官方的源(虽然有点慢也记录下): https://pypi.Python.org/simple/

  • 【Python】Python3环境安装2022-04-23 23:03:46

    编译安装 安装依赖 yum install wget gcc make zlib-devel openssl openssl-devel readline-devel wget "https://www.python.org/ftp/python/3.7.9/Python-3.7.9.tar.xz" tar -xvJf Python-3.7.9.tar.xz 编译 cd Python-3.7.9 # 注意 3.6 是 --prefix= ./configure prefix=/u

  • 配置pip源2022-04-18 20:01:55

    永久安装源 windows """ 1、文件管理器文件路径地址栏敲:%APPDATA% 回车,快速进入 C:\Users\电脑用户\AppData\Roaming 文件夹中 2、新建 pip 文件夹并在文件夹中新建 pip.ini 配置文件 3、新增 pip.ini 配置文件内容 """ Macos,linux """ 1、在用户根目录下 ~ 下创建 .pip 隐藏文

  • 12_09、一些常用配置2022-04-17 01:33:30

    一、国际化 LANGUAGE_CODE = 'zh-hans' TIME_ZONE = 'Asia/ShangHai' USE_I18N = True USE_L10N = True USE_TZ = False  二、国内镜像源 1.阿里云:https://mirrors.aliyun.com/pypi/simple/2.豆瓣:https://pypi.douban.com/simple/3.清华大学:https://pypi.tuna.tsinghu

  • conda环境下pip下载慢解决方法2022-04-14 09:33:00

    conda环境下pip下载慢解决方法 解决办法: windows下在C盘下的users\Administrator\Appdata\Roaming下建立pip文件夹 在pip文件夹下新建一个pip.ini文件。 在其中输入以下内容并保存即可: [global] timeout = 6000 index-url = https://mirrors.aliyun.com/pypi/simple trusted-host

  • Python稳定的国内镜像库2022-04-13 16:01:51

    国内镜像地址: http://pypi.douban.com/simple/   豆瓣 http://mirrors.aliyun.com/pypi/simple/   阿里 http://pypi.hustunique.com/simple/   华中理工大学 http://pypi.sdutlinux.org/simple/   山东理工大学 http://pypi.mirrors.ustc.edu.cn/simple/   中国科学技

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有