Installing Anaconda into a Virtual Environment

I just tested the Anaconde 1.6 installer from http://continuum.io/downloads After downloading, I did: bash Anaconda-1.6.0-Linux-x86_64.sh If you take the defaults, you’ll end up with a directory anaconda in your home directory, completely separate from your EPD or system Python installation. To activate the anaconda installation’s default environment, do the following: source $HOME/anaconda/bin/activate ~/anaconda All Python … Read more

How to interpret conda package conflicts?

Some Practical Advice @Quantum7’s answer gives a fine literal interpretation of Conda’s conflict reporting. However, I wanted to offer a more practical take, which is that this “feature” from Conda is too non-specific to be useful in most non-trivial environments. And sometimes it won’t even include the underlying conflict. Don’t waste your time with it! … Read more

Command to display active conda channels

In addition to conda info, one can also query configuration info specifically with the conda config –show [key] command. For high-level channel names, one can use conda config –show channels which outputs what you’d see in the .condarc, i.e., just the names of the channels, no URLs. The URLs used in defaults can be queried … Read more

How to specify version ranges in Conda environment.yml

I think/assume that the syntax specifying versions is the one documented at Package match specifications. So you would write – numpy >=1.2.3,<1.3 (space after numpy, no space after the comma – not tested). BTW, I couldn’t find any documentation describing the structure of the environment file environment.yml. creating-an-environment-from-an-environment-yml-file refers to Creating an environment file manually … Read more

Conda set LD_LIBRARY_PATH for env only [duplicate]

You can set environment variables when an environment is activated by editing the activate.d/env_vars.sh script. See here: https://conda.io/docs/user-guide/tasks/manage-environments.html#macos-and-linux The key portions from that link are: Locate the directory for the conda environment in your Terminal window, such as /home/jsmith/anaconda3/envs/analytics. Enter that directory and create these subdirectories and files: cd /home/jsmith/anaconda3/envs/analytics mkdir -p ./etc/conda/activate.d mkdir -p … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)