网站首页 站内搜索

搜索结果

查询Tags标签: pip,共有 999条记录
  • python使用

    包管理工具 python高级版本自带pip pip修改镜像方式 pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple包管理工具 python高级版本自带pip 国内的镜像 pypi 清华大学源:https://pypi.tuna.tsinghua.edu.cn/simple pypi 腾讯源:http://mirr…

    2022/9/14 14:19:06 人评论 次浏览
  • python安装命令

    python安装包 镜像网站 https://registry.npmmirror.com/binary.html?path=python/ 镜像包安装 pip install xxx -i https://pypi.tuna.tsinghua.edu.cn/simple 镜像安装:pip install jupyter -i https://pypi.tuna.tsinghua.edu.cn/simple pip install numpy -i https:…

    2022/9/13 1:23:12 人评论 次浏览
  • linux (centos 7.5) 下使用python 2.7 打包

    1、安装pip 安装pip2 20.0版本 curl "https://bootstrap.pypa.io/pip/2.7/get-pip.py" -o "get-pip.py"python get-pip.py 2、安装 pyinstaller python 安装最好的pyintaller 版本为3.4pip install pyinstaller==3.4 3、打包 pyinstaller -F spy.py

    2022/9/9 5:23:28 人评论 次浏览
  • python虚拟环境管理工具virtualenvwrapper-win安装和使用(Win10)

    安装 pip install virtualenvwrapper-win自定义 WORKON_HOME 路径 默认创建的虚拟环境位于C:\Users\username\envs。 C盘不够的话,更改 WORKON_HOME 来定制。 计算机–>属性–>高级系统设置–>环境变量–>系统变量中, 新建“变量名”:WORKON_HOME, 变量值:…

    2022/9/9 1:24:18 人评论 次浏览
  • 爬虫数据可视化前的环境准备(已安装python环境前提下)

    一、requests请求库安装 在桌面右键打开终端输入:pip install requests 二、Beautiful Soup解析库安装 终端输入:Beautiful Soup 4安装:pip install bs4 lxml安装:pip install lxml三、matplotlib安装下载miniconda下载地址:https://docs.conda.io/en/latest/minicon…

    2022/9/9 1:23:10 人评论 次浏览
  • 设置Windows的pip镜像配置文件 pip.ini

    1. 前言首先来看看有什么 pip 镜像地址 清华 https://pypi.tuna.tsinghua.edu.cn/simple豆瓣 http://pypi.douban.com/simple/阿里 http://mirrors.aliyun.com/pypi/simple/有这三个镜像就足够了。 2.配置 pip.ini 文件步骤一:在文件资源器软件的路径框输入 %APPDATA% 回…

    2022/9/6 5:23:10 人评论 次浏览
  • Pycharm生成allure报告报错--allure不是内部或外部命令,也不是可运行的程序 或批处理文件

    问题: allure报错:‘allure’ 不是内部或外部命令,也不是可运行的程序 或批处理文件截图: 解决方法: 1.安装JDK(版本1.8+),配置环境变量 此处不展示过程,成功的后进入cmd java-version验证 2.下载Allure 下载网址: https://repo.maven.apache.or…

    2022/9/5 14:22:59 人评论 次浏览
  • python小知识--使用pip/pip3 install 命令下载安装包时,速度慢、经常断连的情况

    直接提供方法 设置源WIN+R键 cmd命令 执行如下两条命令----------------这使用国内的云 pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple pip config set install.trusted-host mirrors.aliyun.com然后再试一试 pip下载命令 下载速度暴涨 -…

    2022/9/5 1:26:26 人评论 次浏览
  • CentOS 如何更新cmake?

    卸载原来的cmakeyum remove cmake安装pipyum -y install epel-release yum install python-pip pip install --upgrade pip用pip安装cmakepip install cmake --upgrade 参考资料 https://stackoverflow.com/questions/49859457/how-to-reinstall-the-latest-cmake-version…

    2022/8/26 5:23:28 人评论 次浏览
  • python(pip)包/模块离线安装

    1、生成requirements.txt文件如果有同环境服务器,可直接生成requirements.txt,会把当前服务器下的包和版本写入文件中。pip freeze > requirements.txt如安装指定包,创建requirements.txt,输入包名==版本号 // 只输入包名,默认最新版本。例:xlwt==1.3.0 2、下载包…

    2022/8/16 1:25:52 人评论 次浏览
  • 关于安装PyTorch

    1 假设你的机器上已经安装了python 和pip(没有安装的话可以参考) https://www.cnblogs.com/8335IT/p/16581772.html 2 直接安装torchvision是安装不了的,会中途报错 需要先安装pytorch 再安装torchvision 使用国内源: pip install torch -i https://pypi.tuna.tsinghu…

    2022/8/15 23:56:00 人评论 次浏览
  • pip安装清华源 202208

    清华源地址 https://mirrors.tuna.tsinghua.edu.cn/help/pypi/安装 requests使用方法 pip install -i https://pypi.tuna.tsinghua.edu.cn/simple requests

    2022/8/15 23:23:04 人评论 次浏览
  • pip安装报错:Command python setup.py egg_info failed with error code 1

    原文链接 windows下使用pip安装torch模块,出现错误:ERROR: Command "python setup.py egg_info" failed with error code 1 in C:\Users\xxx\AppData\Local\Temp\pip-install-yqzlud5w\torch\方法一 尝试参考文章:https://mp.weixin.qq.com/s/u5uIjnABGXTJGo…

    2022/8/15 14:55:18 人评论 次浏览
  • venv -- python 创建虚拟环境

    where python cd python3.6\Scripts # 为了在别的地方也能使用workon pip install virtualenv pip install virtualenvwrapper 或者 virtualwrapper-win mkvirtualenv 虚拟环境名 mkvirtualenv --python=D:\python3.6\python.exe 虚拟环境名 # 指定安装的Python版本 work…

    2022/8/9 14:22:55 人评论 次浏览
  • Windows下Python换国内源

    有时使用PIP安装第三方库的时候,速度非常慢,及其影响效率 对于这种情况,我们最好的方式就是要通过镜像来进行安装 换源方式也比较简单,下面是换清华源,个人感觉比较好用 打开CMD,输入: pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple …

    2022/8/9 5:23:32 人评论 次浏览
共999记录«上一页1234...67下一页»
扫一扫关注最新编程教程