How do I update Anaconda?

root is the old (pre-conda 4.4) name for the main environment; after conda 4.4, it was renamed to be base. source What 95% of people actually want In most cases what you want to do when you say that you want to update Anaconda is to execute the command: conda update –all (But this should … Read more

How can I rename a conda environment?

New answer: From Conda 4.14 you will be able to use just: conda rename -n old_name -d new_name Although, under the hood, conda rename still uses [1][2] undermentioned combination of conda create and conda remove. Old answer: You can’t. One workaround is to create clone a new environment and then remove the original one. First, … Read more

Conda environments not showing up in Jupyter Notebook

I don’t think the other answers are working any more, as conda stopped automatically setting environments up as jupyter kernels. You need to manually add kernels for each environment in the following way: source activate myenv python -m ipykernel install –user –name myenv –display-name “Python (myenv)” As documented here:http://ipython.readthedocs.io/en/stable/install/kernel_install.html#kernels-for-different-environments Also see this issue. Addendum: You … Read more

Removing Conda environment

You probably didn’t fully deactivate the Conda environment – remember, the command you need to use with Conda is conda deactivate (for older versions, use source deactivate). So it may be wise to start a new shell and activate the environment in that before you try. Then deactivate it. You can use the command conda … Read more

What is the difference between pip and conda?

Quoting from the Conda blog: Having been involved in the python world for so long, we are all aware of pip, easy_install, and virtualenv, but these tools did not meet all of our specific requirements. The main problem is that they are focused around Python, neglecting non-Python library dependencies, such as HDF5, MKL, LLVM, etc., … Read more

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