conda

centos7 .oh-my-zsh 增加conda 补全提示

纵然是瞬间 提交于 2019-12-18 10:42:20
【推荐】2019 Java 开发者跳槽指南.pdf(吐血整理) >>> miniconda 安装后在zsh下不能补全提示 着实让人头疼,经过一番折腾: conda-env 单独的命令。 官方的 conda init zsh 貌似只能把conda加入到环境变量 其他啥也没用,难道我的环境问题? (base) ✘ ⚡ root@iZ2ze3s31vnb0o5bur3ix0Z  ~  conda init zsh no change /usr/local/miniconda3/condabin/conda no change /usr/local/miniconda3/bin/conda no change /usr/local/miniconda3/bin/conda-env no change /usr/local/miniconda3/bin/activate no change /usr/local/miniconda3/bin/deactivate no change /usr/local/miniconda3/etc/profile.d/conda.sh no change /usr/local/miniconda3/etc/fish/conf.d/conda.fish no change /usr/local/miniconda3/shell/condabin

Python Anaconda Proxy Setup via .condarc file on Windows

老子叫甜甜 提交于 2019-12-18 10:31:08
问题 I am having trouble going through a proxy for Anaconda install conda on a Windows 7 machine. How do I use a proxy? http://conda.pydata.org/docs/config.html the above link is broken, use this one instead 回答1: I had to create a .condarc file at the C:\Users\username folder. Use copy con .condarc file if it does not exist at folder above. File content is: proxy_servers: http: http://username:password@corp.com:8080 https: https://username:password@corp.com:8080 Two notes: Do not use tabs, there

python package can be installed by pip but not conda

自闭症网瘾萝莉.ら 提交于 2019-12-18 06:57:48
问题 I need the sacred package for a new code base I downloaded. It requires sacred. https://pypi.python.org/pypi/sacred conda install sacred fails with PackageNotFoundError: Package missing in current osx-64 channels: - sacred The instruction on the package site only explains how to install with pip. What do you do in this case? 回答1: That package is not available as a conda package at all. You can search for packages on anaconda.org: https://anaconda.org/search?q=sacred You can see the type of

Conda virtual environment not changing under Windows

走远了吗. 提交于 2019-12-18 05:54:36
问题 I have installed Anaconda 2.2.0 for Windows and created a virtual environment via: > conda create -n my-env anaconda The environment is sucessfully created and I see it in my list of envinronments (and indeed the directory is there in Anaconda\envs..) > conda info -e # conda environments: # my-env D:\Anaconda\envs\my-env root * D:\Anaconda However, when running the activate.bat script to switch envinronment, although it appears to be successful the switch isn't actually made: > activate.bat

How to install R-packages not in the conda repositories?

好久不见. 提交于 2019-12-18 03:39:27
问题 I am using Anaconda to manage my R-installation. It works great for packages available in the R-channels provided by Anaconda, but I am having troubles installing packages not contained in the Anaconda repos. I have tried a few different approaches, all listed below together with their error output. 1. install.packages('rafalib') Suggested to work here conda - How to install R packages that are not available in "R-essentials"?. My .libPaths() points to '/home/user/anaconda2/lib/R/library' .

conda 常用命令

倾然丶 夕夏残阳落幕 提交于 2019-12-18 03:08:49
conda 常用命令 #虚拟环境 conda create -n tensorflow2.0-gpu pip python = 3.7 #进入环境 conda activate tensorflow2.0-gpu 安装某个包 pip install tensorflow-gpu 或者指定版本号 pip install tensorflow-gpu == 1.8.0 #显示所有环境名称 conda info --envs 作用 pip基本命令 conda基本命令 查看版本 pip --version conda --version 升级版本 pip install -U pip conda update conda 列出所有安装包 pip list conda list 检测更新 pip list –outdated N 更新某个库 pip install --upgrade #库名字 conda update #库名字 安装(更新)某个库为指定版本 pip install “#库名字==版本号” conda install #库名字=版本号 更新所有库 N conda update --all 卸载库 pip uninstall #库名字 N 安装项目中requriements的要求配置环境 pip3 install -r requirements3.txt 来源: CSDN 作者

Why (or why not) Add Anaconda to path?

廉价感情. 提交于 2019-12-18 02:58:09
问题 I have found a partial answer in this question: Adding Anaconda to Path or not But I still don't fully understand. I have had a lot of installation issues when switching from a normal installation Python to Anaconda, requiring me to completely re-install Windows... So i want to get this right now. What happens internally when I Add Anaconda (or python for that matter) to the PATH? I plan on working with seperate conda environments for different python versions, what could go wrong if I add

Conda uninstall one package and one package only

寵の児 提交于 2019-12-17 23:01:53
问题 When I try to uninstall pandas from my conda virtual env, I see that it tries to uninstall more packages as well: $ conda uninstall pandas Using Anaconda Cloud api site https://api.anaconda.org Fetching package metadata: .... Solving package specifications: ......... Package plan for package removal in environment /Users/amelio/anaconda/envs/py35: The following packages will be downloaded: package | build ---------------------------|----------------- dask-0.7.6 | py35_0 276 KB The following

Why Anaconda does not recognize conda command?

风格不统一 提交于 2019-12-17 22:26:50
问题 I installed the latest version of Anaconda. Now I want to install OpenCV within it. When I type: conda install -c https://conda.binstar.org/anaconda opencv I get this message error: " conda is not recognized as internal command ... " (sorry, I try to translate from French because my OS is in French) The problem is that conda comes with Anaconda, so I wonder why lauching Anaconda and type the above command does not work ? 回答1: I had a similar problem. I searched conda.exe and I found it on

基于Docker+Jupyter+Python的科学计算环境

跟風遠走 提交于 2019-12-17 19:43:32
【推荐】2019 Java 开发者跳槽指南.pdf(吐血整理) >>> 原文地址: https://github.com/jupyter/docker-stacks/tree/master/scipy-notebook Jupyter Notebook Scientific Python Stack 基于Docker+Jupyter+Python的科学计算环境 ,提供快速部署的一站式科学计算Docker容器环境,可以快速开始数据分析。 打包内容 Jupyter Notebook 4.2.x Conda Python 3.x and Python 2.7.x environments pandas, matplotlib, scipy, seaborn, scikit-learn, scikit-image, sympy, cython, patsy, statsmodel, cloudpickle, dill, numba, bokeh pre-installed Unprivileged user jovyan (uid=1000, configurable, see options) in group users (gid=100) with ownership over /home/jovyan and /opt/conda tini as the container