Fix Python – Install only available packages using “conda install –yes –file requirements.txt” without error

While installing packages in requirements.txt using Conda through the following command
conda install –yes –file requirements.txt

If a package in requirements.txt is not available, then it throws a “No package error” such as the one shown below:

Using Anaconda Cloud api site https://api.anaconda.org
Fetching package metadata: ….
Error: No pa….

Fix Python – How to free disk space taken up by (ana)conda?

I am using the conda package manager – a lot. By now I have quite a few environments and a lot of downloaded packages taking a lot of space on my SSD. An obvious path to free some of that space is to use the command
conda env export > environment.yml

from https://conda.io/docs/user-guide/tasks/manage-environments.html#exporting-the-environment-fi….

Fix Python – How is Anaconda related to Python?

I am a beginner and I want to learn computer programming. So, for now, I have started learning Python by myself with some knowledge about programming in C and Fortran.
Now, I have installed Python version 3.6.0 and I have struggled finding a suitable text for learning Python in this version. Even the online lecture series ask for versions 2.7 and ….

Fix Python – how to update spyder on anaconda

I have Anaconda installed (Python 2.7.11 |Anaconda custom (64-bit)| (default, Feb 16 2016, 09:58:36) [MSC v.1500 64 bit (AMD64)] on win32) and I am using Spyder 2.3.8
Would like to update Spyder to the latest version, so I went through the commands:
conda update conda
conda update anaconda
conda update spyder

They all ran without errors, but th….

Fix Python – How to run Spyder in virtual environment?

I have been using Spyder installed with with Anaconda distribution which uses Python 2.7 as default. Currently I need to set up a development virtual environment with Python 3.4.
Top two suggestions after research online are:

to set up virtual environment first and to point change the preferences of Spyder , e.g here;
to install all Spyder depe….

Fix Python – Conda command not found

I’ve installed Miniconda and have added the environment variable export PATH=”/home/username/miniconda3/bin:$PATH” to my .bashrc and .bash_profile but still can’t run any conda commands in my terminal.
Am I missing another step in my setup? I’m using zsh by the way.
….

Fix Python – How do I keep track of pip-installed packages in an Anaconda (Conda) environment?

I’ve installed and have been using the Anaconda Python distribution, and I have started using the Anaconda (Conda) environment. I can use the standard conda install… command to put packages from the distribution into my environments, but to use anything outside (i.e. Flask-WTF, flask-sqlalchemy, and alembic) I need to use pip install in the acti….

Fix Python – How to add conda environment to jupyter lab

I’m using Jupyter Lab and I’m having trouble to add conda environment. The idea is to launch Jupyter Lab from my base environment, and then to be able to choose my other conda envs as kernels.
I installed the package nb_conda_kernels which is supposed to do just that, but it’s not working as I want. Indeed, let’s assume I create a new Conda Enviro….

Fix Python – Conda command is not recognized on Windows 10

I installed Anaconda 4.4.0 (Python 3.6 version) on Windows 10 by following the instructions here: https://www.continuum.io/downloads. However, when I open the Command prompt window and try to write
conda list

I get the

‘conda’ command is not recognized…

error.
I tried to run
set PATH=%PATH%;C:\Users\Alex\Anaconda3

but it didn’t help. I al….