conda

How can you “clone” a conda environment into the root environment?

左心房为你撑大大i 提交于 2019-12-17 17:44:37
问题 I'd like the root environment of conda to copy all of the packages in another environment. How can this be done? 回答1: Option 1 - YAML file When trying to import packages from a second environment into the root environment: Within the second environment, export package names to a yaml file: > conda env export > environment.yml then update the first environment (see Suggestion below): > conda env update -n root -f envoronment.yml See also conda env for more details. Alternatively, consider the

Installing tensorflow with anaconda in windows

一曲冷凌霜 提交于 2019-12-17 17:39:34
问题 I have installed Anaconda on Windows 64 bit. I have downloaded PyCharm for creating a project and in the terminal of PyCharm I have installed numpy , scipy , matplotlib using the following commands: conda install numpy conda install scipy conda install matplotlib I am not able to install Tensorflow in the same way I installed these other packages. How should I install it? 回答1: Google has recently launched a newer version of Tesnsorflow r0.12 which include support of Windows both CPU and GPU

How to install PyPi packages using anaconda conda command

我与影子孤独终老i 提交于 2019-12-17 17:31:54
问题 When using the Anacoda Python distribution, what is the best way to install a PyPi package that isn't available directly through Anaconda? For now I'm using: conda pipbuild [pypi_name] conda install --use-local [package_spec] But I'm unclear if this is the best way and if conda update --all will update these packages when updates are made available. I'm also unclear what the point of binstar is when PyPi already exists. 回答1: If you want to build conda packages for PyPI packages, the

What are the differences between Conda and Anaconda

走远了吗. 提交于 2019-12-17 17:26:29
问题 Post-question update: See Introduction to Conda for more details. The problem: I first installed Anaconda on my ubuntu at ~/anaconda , when I was trying to update my anaconda, according to the documentation from Continuum Analytics, I should use the following commands: conda update conda conda update anaconda Then I realized that I did not have conda installed, so I installed it using the documentation from here. After conda is installed, when I run conda update anaconda , I got the following

PyCharm terminal doesn't activate conda environment

你说的曾经没有我的故事 提交于 2019-12-17 15:56:19
问题 I have a conda environment at the default location for windows, which is C:\ProgramData\Anaconda2\envs\myenv . Also, as recommended, the conda scripts and executables are not in the %PATH% environment variable. I opened a project in pycharm and pointed the python interpreter to C:\ProgramData\Anaconda2\envs\myenv\python.exe and pycharm seems to work well with the environment in the python console, in the run environment, and in debug mode. However, when opening the terminal the environment is

How to update an existing Conda environment with a .yml file

我只是一个虾纸丫 提交于 2019-12-17 15:37:56
问题 How can a pre-existing conda environment be updated with another .yml file. This is extremely helpful when working on projects that have multiple requirement files, i.e. base.yml, local.yml, production.yml , etc. For example, below is a base.yml file has conda-forge, conda, and pip packages: base.yml name: myenv channels: - conda-forge dependencies: - django=1.10.5 - pip: - django-crispy-forms==1.6.1 The actual environment is created with: conda env create -f base.yml . Later on, additional

PackagesNotFoundError: The following packages are not available from current channels:

喜夏-厌秋 提交于 2019-12-17 15:27:16
问题 I'm somewhat new to Python. I've used it in a bunch of projects, but haven't really needed to stray from its standard setup. I'm trying to install some new packages to get access to functions necessary for a university assignment. When I try to install, I get the following: (base) C:\Anaconda2\Jupyter>conda install -c python-control -c cyclus slycot control Solving environment: failed PackagesNotFoundError: The following packages are not available from current channels: - slycot - control

How can I use conda to install pydot?

两盒软妹~` 提交于 2019-12-17 10:33:41
问题 Trying to generate some PDF's of decision trees by following some of the sklearn documentation, but can't get Pydot on my machine. Is there any way to use the conda installer to install the pydot package? Based on the command line errors I'm seeing, it may be a 64bit issue. I use binstar search to find the package channel: C:\binstar search -t conda Which gives the recommendation of looking at the packages in detail using binstar show j14r/pydot Which then tells me to conda install --channel

Anaconda使用教程

[亡魂溺海] 提交于 2019-12-17 08:24:29
Anaconda使用教程第一弹(使用Anaconda配置多python开发环境) windows下用python非常的麻烦。所以想要一个包管理的东西,那么Anaconda是非常好的一个管理工具,无论你是想用python2.7还是python3.4。 1.去官网下载Anaconda 下载地址 选择对应的你的系统版本,比如我的是win7-64位,那么我就直接下载win7-64位,同时我下载的是python2.7的版本。其实无论2.7还是3.4你只要下载一个Anaconda就好了。后面会解释为什么。 2.无脑点下一步安装,选择你的安装路径,我本机的安装路径在 E:\Program Files\Anaconda2 ,然后耐心等待,等到安装完成。 3.win健+R(或者点开始菜单-运行-输入cmd-按回车)打开命令提示符,如下图 4.输入 conda --version 查看版本号,显示如下图,得知版本为conda4.2.9,同时也证明你安装成了 5.这个时候,因为我安装的是2.7的Anaconda环境,所以默认的python就是2.7的。不信你在命令行中输入python –version 他出来的就是python2.7.5 有的朋友说,我 两个开发环境 都需要怎么办呢。这个时候我们就可以再创建一个开发环境。 利用Anaconda做python多开发环境多版本的配置

Should conda, or conda-forge be used for Python environments?

∥☆過路亽.° 提交于 2019-12-17 08:02:31
问题 Conda and conda-forge are both Python package managers. What is the appropriate choice when a package exists in both repositories? Django, for example, can be installed with either, but the difference between the two is several dependencies (conda-forge has many more). There is no explanation for these differences, not even a simple README. Which one should be used? Conda or conda-forge? Does it matter? 回答1: The short answer is that, in my experience generally, it doesn't matter which you use