Why Anaconda does not recognize conda command?

For Windows Go to Control Panel\System and Security\System\Advanced System Settings then look for Environment Variables. Your user variables should contain Path=Path\to\Anaconda3\Scripts. You need to figure where your Anaconda3 folder is (i.e. the path to this folder) . Mine was in C:\Users. For Linux You need to add conda to PATH. To do so, type: export … Read more

What is the difference between miniconda and miniforge?

miniforge is the community (conda-forge) driven minimalistic conda installer. Subsequent package installations come thus from conda-forge channel. miniconda is the Anaconda (company) driven minimalistic conda installer. Subsequent package installations come from the anaconda channels (default or otherwise). miniforge started a few months ago because miniconda doens’t support aarch64, very quickly the ‘PyPy’ people jumped on … Read more

How to install PyPi packages using anaconda conda command

I will disagree with the accepted response and note that pip install [some-pypi-package] is often the best way to install PyPi packages in Conda environments. While the packages won’t be managed by the Conda package manager, they will still be managed by the Anaconda environment. It will download the correct version of the package for … Read more

Python Anaconda: should I use `conda activate` or `source activate` in linux

As of conda 4.4, conda activate is the preferred way to activate an environment. Generally, you won’t find too much of a difference between conda activate and the old source activate, except that it’s meant to be faster, and work the same across different operating systems (the latter difference makes conda activate a huge improvement … Read more

Set up virtualenv using a requirements.txt generated by conda

I’m setting up a python project, using an Anaconda virtual environment. I was wondering though, when other developers want to contribute to the project, but want to use virtualenv instead of Anaconda, can they do that? Yes – in fact this is how many of my projects are structured. To accomplish what you’re looking for, … Read more

Using multiple Python engines (32Bit/64bit and 2.7/3.5)

Make sure to set the right environmental variables (https://github.com/conda/conda/issues/1744) Create a new environment for 32bit Python 2.7: set CONDA_FORCE_32BIT=1 conda create -n py27_32 python=2.7 Activate it: set CONDA_FORCE_32BIT=1 activate py27_32 Deactivate it: deactivate py27_32 Create one for 64 bit Python 3.5: set CONDA_FORCE_32BIT= conda create -n py35_64 python=3.5 Activate it: set CONDA_FORCE_32BIT= activate py35_64 The … Read more

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