精华内容
下载资源
问答
  • conda添加镜像源

    千次阅读 2020-08-09 17:55:41
    conda添加镜像源 参考conda下载通道中的镜像修改channel 直接在:C:\Users\Larry中的.condarc文件(安装路径不同有区别,找到这个后缀的文件即可) 对.condarc文件进行修改 添加仓库 conda config --add channels ...

    conda添加镜像源

    参考win10下 Anaconda使用conda连接网络出现错误(CondaHTTPError: HTTP 000 CONNECTION FAILED for url)

    直接在:C:\Users\Larry中的.condarc文件(安装路径不同有区别,找到这个后缀的文件即可)
    对.condarc文件进行修改
    在这里插入图片描述

    添加仓库

    conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
    conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/
    conda config --set show_channel_urls yes
    123
    

    Conda 三方源

    Conda Forge
    conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge/
    
    msys2
    conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/msys2/
    
    bioconda
    conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/bioconda/
    
    menpo
    conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/menpo/
    
    pytorch
    conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch/
    
    展开全文
  • 在使用安装conda 安装某些包会出现慢或安装失败问题,最有效方法是修改镜像源为国内镜像源 解决方法 进入C:\Users\用户名,找到.condarc文件 用记事本打开 使用其他博主的方法会是这样 对我好像没有什么用,下载...
  • conda添加镜像源安装pytorch

    千次阅读 2020-08-04 16:58:59
    添加清华镜像源 镜像站使用帮助 1 conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/ 2 conda config --add channels ...

    添加清华镜像源

    镜像站使用帮助

    1 conda config --add channels
    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
    2 conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/
    3 conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch/
    4 conda config --set show_channel_urls yes
    附:
    查看镜像源命令:conda config --show channels
    移除镜像源命令:conda config --remove-key channels

    安装pytorch

    https://pytorch.org/

    验证pytorch

    import torch
    torch.cuda.is_available()
    torch.version

    pycharm配置环境

    展开全文
  • conda配置国内镜像源

    2020-07-13 11:18:13
    conda配置国内镜像源的配置文件,里面有五个常用国内源,清华,豆瓣,中科大等。替换文件即可,替换目录Windows系统用户根目录。 。亲测可用
  • conda添加清华镜像源

    千次阅读 2020-11-30 08:21:20
    参考博客: ...1,查看已经有的镜像源 cmd中输入conda config --...2,添加清华镜像源 #以下两条是Anaconda官方库的镜像 conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/ conda co

    参考博客:
    https://blog.csdn.net/qq_37717494/article/details/105568350

    1,查看已经有的镜像源
    cmd中输入conda config --show or conda info
    conda info
    在这里插入图片描述
    2,添加清华镜像源

    #以下两条是Anaconda官方库的镜像
    conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
    conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/

    #以下是Anaconda第三方库 Conda Forge的镜像
    conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge/

    #以下两条是Pytorch的Anaconda第三方镜像
    #for linux
    conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch/
    #for legacy win-64
    conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/peterjc123/

    #设置搜索时显示通道地址
    conda config --set show_channel_urls yes

    3, 删除旧镜像
    conda config --remove channels conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/peterjc123/

    4,切回默认源
    conda config –remove-key channels

    展开全文
  • (myenv) ubuntu@ubuntu:~$ conda install librosa -c conda-forgeCollecting package metadata (current_repodata.json):doneSolving environment:Warning:>10possible package resolutions (only showing differ...

    (myenv) ubuntu@ubuntu:~$ conda install librosa -c conda-forge

    Collecting package metadata (current_repodata.json):doneSolving environment:

    Warning:>10possible package resolutions (only showing differing packages):- https://repo.anaconda.com/pkgs/main/linux-64/linux-64::_tflow_select-2.1.0-gpu,https://repo.anaconda.com/pkgs/main/linux-64/linux-64::absl-py-0.9.0-py36_0,https://repo.anaconda.com/pkgs/main/linux-64/linux-64::libgfortran-ng-7.3.0-hdf63c60_0,https://repo.anaconda.com/pkgs/main/linux-64/linux-64::libprotobuf-3.11.4-hd408876_0

    - defaults/linux-64::libgfortran-ng-7.3.0-hdf63c60_0, https://repo.anaconda.com/pkgs/main/linux-64/linux-64::_tflow_select-2.1.0-gpu,https://repo.anaconda.com/pkgs/main/linux-64/linux-64::absl-py-0.9.0-py36_0,https://repo.anaconda.com/pkgs/main/linux-64/linux-64::libprotobuf-3.11.4-hd408876_0

    - defaults/linux-64::libprotobuf-3.11.4-hd408876_0, https://repo.anaconda.com/pkgs/main/linux-64/linux-64::_tflow_select-2.1.0-gpu,https://repo.anaconda.com/pkgs/main/linux-64/linux-64::absl-py-0.9.0-py36_0,https://repo.anaconda.com/pkgs/main/linux-64/linux-64::libgfortran-ng-7.3.0-hdf63c60_0

    - defaults/linux-64::libgfortran-ng-7.3.0-hdf63c60_0, defaults/linux-64::libprotobuf-3.11.4-hd408876_0, https://repo.anaconda.com/pkgs/main/linux-64/linux-64::_tflow_select-2.1.0-gpu,https://repo.anaconda.com/pkgs/main/linux-64/linux-64::absl-py-0.9.0-py36_0

    - defaults/linux-64::_tflow_select-2.1.0-gpu, defaults/linux-64::libprotobuf-3.11.4-hd408876_0, https://repo.anaconda.com/pkgs/main/linux-64/linux-64::absl-py-0.9.0-py36_0,https://repo.anaconda.com/pkgs/main/linux-64/linux-64::libgfortran-ng-7.3.0-hdf63c60_0

    - defaults/linux-64::_tflow_select-2.1.0-gpu, defaults/linux-64::libgfortran-ng-7.3.0-hdf63c60_0, defaults/linux-64::libprotobuf-3.11.4-hd408876_0, https://repo.anaconda.com/pkgs/main/linux-64/linux-64::absl-py-0.9.0-py36_0

    - defaults/linux-64::_tflow_select-2.1.0-gpu, https://repo.anaconda.com/pkgs/main/linux-64/linux-64::absl-py-0.9.0-py36_0,https://repo.anaconda.com/pkgs/main/linux-64/linux-64::libgfortran-ng-7.3.0-hdf63c60_0,https://repo.anaconda.com/pkgs/main/linux-64/linux-64::libprotobuf-3.11.4-hd408876_0

    - defaults/linux-64::_tflow_select-2.1.0-gpu, defaults/linux-64::libgfortran-ng-7.3.0-hdf63c60_0, https://repo.anaconda.com/pkgs/main/linux-64/linux-64::absl-py-0.9.0-py36_0,https://repo.anaconda.com/pkgs/main/linux-64/linux-64::libprotobuf-3.11.4-hd408876_0

    - defaults/linux-64::_tflow_select-2.1.0-gpu, defaults/linux-64::absl-py-0.9.0-py36_0, https://repo.anaconda.com/pkgs/main/linux-64/linux-64::libgfortran-ng-7.3.0-hdf63c60_0,https://repo.anaconda.com/pkgs/main/linux-64/linux-64::libprotobuf-3.11.4-hd408876_0

    - defaults/linux-64::absl-py-0.9.0-py36_0, https://repo.anaconda.com/pkgs/main/linux-64/linux-64::_tflow_select-2.1.0-gpu,https://repo.anaconda.com/pkgs/main/linux-64/linux-64::libgfortran-ng-7.3.0-hdf63c60_0,https://repo.anaconda.com/pkgs/main/linux-64/linux-64::libprotobuf-3.11.4-hd408876_0

    ... and othedone

    ## Package Plan ##

    environment location:/home/ubuntu/miniconda3/envs/myenv

    added/updated specs:-librosa

    The following packages will be downloaded:

    package|build---------------------------|-----------------qt-5.12.5 | hd8c4c69_1 99.2 MB conda-forge------------------------------------------------------------Total:99.2MB

    The following NEW packages will be INSTALLED:

    audioread conda-forge/linux-64::audioread-2.1.8-py36h9f0ad1d_2bzip2 conda-forge/linux-64::bzip2-1.0.8-h516909a_2

    ca-certificates conda-forge/linux-64::ca-certificates-2019.11.28-hecc5488_0

    cffi conda-forge/linux-64::cffi-1.14.0-py36hd463f26_0

    cycler conda-forge/noarch::cycler-0.10.0-py_2

    dbus conda-forge/linux-64::dbus-1.13.6-he372182_0

    decorator conda-forge/noarch::decorator-4.4.2-py_0

    expat conda-forge/linux-64::expat-2.2.9-he1b5a44_2

    ffmpeg conda-forge/linux-64::ffmpeg-4.2-h167e202_0

    fontconfig conda-forge/linux-64::fontconfig-2.13.1-h86ecdb6_1001

    freetype conda-forge/linux-64::freetype-2.10.1-he06d7ca_0

    gettext conda-forge/linux-64::gettext-0.19.8.1-hc5be6a0_1002

    glib conda-forge/linux-64::glib-2.58.3-py36hd3ed26a_1003

    gmp conda-forge/linux-64::gmp-6.2.0-he1b5a44_2

    gnutls conda-forge/linux-64::gnutls-3.6.5-hd3a4fd2_1002

    gst-plugins-base conda-forge/linux-64::gst-plugins-base-1.14.5-h0935bb2_2

    gstreamer conda-forge/linux-64::gstreamer-1.14.5-h36ae1b5_2

    icu conda-forge/linux-64::icu-64.2-he1b5a44_1

    joblib conda-forge/noarch::joblib-0.14.1-py_0

    jpeg conda-forge/linux-64::jpeg-9c-h14c3975_1001

    kiwisolver conda-forge/linux-64::kiwisolver-1.1.0-py36hdb11119_1

    lame conda-forge/linux-64::lame-3.100-h14c3975_1001

    ld_impl_linux-64 conda-forge/linux-64::ld_impl_linux-64-2.34-h53a641e_0

    libblas conda-forge/linux-64::libblas-3.8.0-7_h6e990d7_netlib

    libcblas conda-forge/linux-64::libcblas-3.8.0-7_h6e990d7_netlib

    libclang conda-forge/linux-64::libclang-9.0.1-default_hde54327_0

    libffi conda-forge/linux-64::libffi-3.2.1-he1b5a44_1007

    libflac conda-forge/linux-64::libflac-1.3.3-he1b5a44_0

    libiconv conda-forge/linux-64::libiconv-1.15-h516909a_1006

    liblapack conda-forge/linux-64::liblapack-3.8.0-7_h6e990d7_netlib

    libllvm8 conda-forge/linux-64::libllvm8-8.0.1-hc9558a2_0

    libllvm9 conda-forge/linux-64::libllvm9-9.0.1-hc9558a2_0

    libogg conda-forge/linux-64::libogg-1.3.2-h516909a_1002

    libpng conda-forge/linux-64::libpng-1.6.37-hed695b0_1

    librosa conda-forge/noarch::librosa-0.7.2-py_0

    libsndfile conda-forge/linux-64::libsndfile-1.0.28-he1b5a44_1000

    libuuid conda-forge/linux-64::libuuid-2.32.1-h14c3975_1000

    libvorbis conda-forge/linux-64::libvorbis-1.3.6-hebb1f50_1

    libxcb conda-forge/linux-64::libxcb-1.13-h14c3975_1002

    libxkbcommon conda-forge/linux-64::libxkbcommon-0.10.0-he1b5a44_0

    libxml2 conda-forge/linux-64::libxml2-2.9.10-hee79883_0

    llvmlite conda-forge/linux-64::llvmlite-0.31.0-py36hfa65bc7_1

    matplotlib conda-forge/linux-64::matplotlib-3.2.1-0matplotlib-base conda-forge/linux-64::matplotlib-base-3.2.1-py36hb8e4980_0

    ncurses conda-forge/linux-64::ncurses-6.1-hf484d3e_1002

    nettle conda-forge/linux-64::nettle-3.4.1-h1bed415_1002

    nspr conda-forge/linux-64::nspr-4.25-he1b5a44_0

    nss conda-forge/linux-64::nss-3.47-he751ad9_0

    numba conda-forge/linux-64::numba-0.48.0-py36hb3f55d8_0

    openh264 conda-forge/linux-64::openh264-1.8.0-hdbcaa40_1000

    pcre conda-forge/linux-64::pcre-8.44-he1b5a44_0

    pthread-stubs conda-forge/linux-64::pthread-stubs-0.4-h14c3975_1001

    pycparser conda-forge/noarch::pycparser-2.20-py_0

    pyparsing conda-forge/noarch::pyparsing-2.4.6-py_0

    pyqt conda-forge/linux-64::pyqt-5.12.3-py36hcca6a23_1

    pysoundfile conda-forge/noarch::pysoundfile-0.10.2-py_1001

    python-dateutil conda-forge/noarch::python-dateutil-2.8.1-py_0

    python_abi conda-forge/linux-64::python_abi-3.6-1_cp36m

    qt conda-forge/linux-64::qt-5.12.5-hd8c4c69_1

    resampy conda-forge/noarch::resampy-0.2.2-py_0

    scikit-learn conda-forge/linux-64::scikit-learn-0.22.2.post1-py36hcdab131_0

    tornado conda-forge/linux-64::tornado-6.0.4-py36h8c4c3a4_1

    x264 conda-forge/linux-64::x264-1!152.20180806-h14c3975_0

    xorg-libxau conda-forge/linux-64::xorg-libxau-1.0.9-h14c3975_0

    xorg-libxdmcp conda-forge/linux-64::xorg-libxdmcp-1.1.3-h516909a_0

    The following packages will be UPDATED:

    certifi anaconda/pkgs/free::certifi-2016.2.28~ --> conda-forge::certifi-2019.11.28-py36h9f0ad1d_1

    h5py anaconda/pkgs/free::h5py-2.7.0-np113p~ --> conda-forge::h5py-2.10.0-nompi_py36h513d04c_102

    hdf5 anaconda/pkgs/free::hdf5-1.8.17-2 --> conda-forge::hdf5-1.10.5-nompi_h3c11f04_1104

    numpy pkgs/main::numpy-1.13.3-py36ha266831_3 --> conda-forge::numpy-1.18.1-py36h7314795_1

    openssl anaconda/pkgs/free::openssl-1.0.2l-0 --> conda-forge::openssl-1.1.1e-h516909a_0

    python anaconda/pkgs/free::python-3.6.2-0 --> conda-forge::python-3.6.10-h9d8adfe_1009_cpython

    readline anaconda/pkgs/free::readline-6.2-2 --> conda-forge::readline-8.0-hf8c457e_0

    scipy anaconda/pkgs/free::scipy-0.19.1-np11~ --> conda-forge::scipy-1.4.1-py36h921218d_0

    sqlite anaconda/pkgs/free::sqlite-3.13.0-0 --> conda-forge::sqlite-3.30.1-hcee41ef_0

    tk anaconda/pkgs/free::tk-8.5.18-0 --> conda-forge::tk-8.6.10-hed695b0_0

    xz anaconda/pkgs/free::xz-5.2.3-0 --> conda-forge::xz-5.2.4-h516909a_1002

    Proceed ([y]/n)?y

    Downloading and Extracting Packages

    qt-5.12.5 | 99.2 MB | ############################################################################################################################# | 100%Preparing transaction:doneVerifying transaction:doneExecuting transaction:done

    展开全文
  • 1、查看当前已经添加镜像源 conda config --show-sources 2、镜像源添加 conda config --add channels http.... 3、镜像源删除 conda config --remove channels http...
  • conda添加中科大镜像源

    千次阅读 2020-11-21 23:53:25
    conda 添加中科大镜像源 conda config --add channels https://mirrors.ustc.edu.cn/anaconda/pkgs/free/ conda config --set show_channel_urls yes
  • Linux 配置conda 镜像源

    2021-12-25 17:51:34
    配置conda镜像源 输入vim ~/.condarc打开 '.condarc’文件 , 点击键盘i,进行编辑,编辑完成后,点esc键,退出编辑,然后点:wq保存并退出文件。此时修改生效。 将以下内容覆盖’.codnarc’文件里面所有内容,...
  • Linux下conda镜像源配置

    2021-08-23 17:45:16
    我们使用conda命令安装库,需要为conda设置镜像源,这些镜像源有哪些 2、配置conda镜像源 2.1 打开 '.condarc’文件 sudo vim ~/.condarc 2.2 将以下内容覆盖’.codnarc’文件里面所有内容 channels: - defaults ...
  • pip conda 国内镜像源 添加与删除

    千次阅读 2018-08-05 23:02:13
    当我们在国内时,pip或conda默认源的速度可能很慢,导致下载失败,于是整理了一些国内镜像源。 pip国内源 阿里云 http://mirrors.aliyun.com/pypi/simple/ 中国科技大学 ...
  • Conda添加国内镜像

    2021-11-07 21:18:44
    打开cmd终端或者Anaconda Prompt(快捷键: win+r :然后输入cmd,回车)。 分别在cmd终端或者Anaconda Prompt里粘贴下面两行代码(每粘贴一行回车确认)。...conda config --set show_channel_urls yes ...
  • Conda修改镜像源

    2021-09-29 14:25:16
    Conda修改镜像源 Linux和Windows对于conda修改镜像源的方法一样: conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/ conda config --set show_channel_urls yes 查看是否...
  • 1、添加 pip config set global.index-url xxxxxx eg: pip config set global.index-url https://pypi.douban.com/simple/ 2、删除 pip config unset global.index-url 3、查看目前正在使用的 pip config list ...
  • conda查看添加加删除清华镜像源一、查看镜像源二、添加镜像源三、删除旧镜像源 一、查看镜像源 查看conda镜像源的命令有两个: 1、conda info 镜像源显示在channel URLs属性中: 2、conda config --show 镜像...
  • conda更换镜像源

    千次阅读 2019-12-04 16:04:51
    添加国内conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main conda config --set ...
  • anconda添加镜像源

    2021-01-13 00:26:20
    anaconda 安装镜像源在使用安装 conda 安装某些包会出现慢或安装失败问题,最有效方法是修改镜像源为国内镜像源。之前都选用清华镜像源,但是2019年后已停止服务。推荐选用中科大镜像源。先查看已经安装过的镜像源,...
  • pip和Conda修改镜像源

    2020-12-16 17:34:32
    提示:这里可以添加本文要记录的大概内容: 例如:随着人工智能的不断发展,机器学习这门技术也越来越重要,很多人都开启了学习机器学习,本文就介绍了机器学习的基础内容。 提示:以下是本篇文章正文内容,下面...
  • 解决“为conda添加清华镜像源”问题

    千次阅读 2019-11-21 16:31:48
    conda添加清华镜像源,使得conda下载包速度更快 解决方法 首先在终端中输入指令: conda info 查看conda信息如图 conda的channel未默认路径。 在终端中依次输入以下指令: #以下两条是Anaconda官方...
  • conda下载镜像源设置

    2020-12-26 12:13:43
    conda恢复默认镜像源 conda config --remove-key channels conda查看下载镜像源 conda config --show channels
  • 1、镜像源查看$ conda config --show-sources2、国内第三方源添加conda config --add channels http://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge/conda config --add channels ...
  • conda设置国内镜像源

    千次阅读 2020-12-30 22:53:30
    前言与 pip设置pypi 不同,conda需要设置的是anaconda的,annaconda的国内镜像目前好像只有清华。科大那个现在直接重定向转到清华,已经不能用了。设置与pip设置pypi类似,conda可以在windows用户目录下创建...

空空如也

空空如也

1 2 3 4 5 ... 20
收藏数 5,725
精华内容 2,290
关键字:

conda添加镜像源