What is the right way to update Anaconda and Conda base & environments?

You’re not doing anything wrong per se, but it just doesn’t make much sense to ever run conda update anaconda and conda update –all right after each other on the same env – they represent two completely different configurations. Update Anaconda Anaconda is a Python distribution that bundles together a ton of packages. Presumably, a … Read more

What is the purpose of the c flag in the “conda install” command

-c stands for –channel. It’s used to specify a channel where to search for your package, the channel is often named owner. The generic command is: conda install -c CHANNEL_NAME PACKAGE_NAME For example, let’s say you want to download pytorch. You can search on anaconda.org. You’ll see that pytorch (the pacakge) is owned by pytorch. … Read more

Anaconda version with Python 3.5

You can install any current version of Anaconda. You can then make a conda environment with your particular needs from the documentation conda create -n tensorflowproject python=3.5 tensorflow ipython This command has a specific version for python and when this tensorflowproject environment gets updated it will upgrade to Python 3.5999999999 but never go to 3.6 … Read more

Install python packages to correct anaconda environment

It looks like conda automatically adds pip to your conda environment, so after you source your conda environment, i.e.: source activate ~/anaconda/envs/dataset you should be able to install it like this: git clone git://github.com/pudo/dataset.git pip install ./dataset EDIT Here are the exact steps I took: $ conda create -p ~/anaconda/envs/py33 python=3.3 anaconda pip $ source … Read more

Anaconda: Install specific packages from specific channels using environment.yml

I saw something like dependencies: – chanelname::modulename=X.Y.Z Update It now implemented: https://github.com/conda/conda/issues/7202 Old answer Be carefull since it doesn’t seemed to be implemented. A channel is, by design, a “space” where depencies are robust. So removing this might break dependencies.

Activate conda environment in docker

Followed this tutorial and it worked. Example Dockerfile: FROM continuumio/miniconda WORKDIR /usr/src/app COPY ./ ./ RUN conda env create -f environment.yml # Make RUN commands use the new environment: SHELL [“conda”, “run”, “-n”, “myenv”, “/bin/bash”, “-c”] EXPOSE 5003 # The code to run when container is started: ENTRYPOINT [“conda”, “run”, “-n”, “myenv”, “python3”, “src/server.py”] Update: … Read more

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