Minimal installation package for the python package manager [conda], which includes only conda and all its dependencies (in contrast to [anaconda] which is the "enterprise" distibution of conda)
Questions tagged [miniconda]
953 questions
44
votes
2 answers
How to install packages with miniconda in Dockerfile?
I have a simple Dockerfile:
FROM ubuntu:18.04
RUN apt-get update
RUN apt-get install -y wget && rm -rf /var/lib/apt/lists/*
RUN wget \
https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh \
&& mkdir /root/.conda \
&&…

maciek
- 1,807
- 2
- 18
- 30
43
votes
2 answers
How to install packages from yaml file in Conda
I would like to have one YAML file that could serve to both create virtual environments and (most importantly) as a base for installing packages by conda into the global env. I am trying:
conda install --file ENV.yaml
But it is not working since…

maciek
- 1,807
- 2
- 18
- 30
39
votes
2 answers
How to specify version ranges in Conda environment.yml
Is it possible to specify version ranges in an environment.yml file for Conda packages?
The official documentation mentions a few examples that rely on the asterisks (*) and I am wondering if that is the only feature or whether Conda supports other…

F Lekschas
- 12,481
- 10
- 60
- 72
30
votes
4 answers
Install Jupyter Notebook on Miniconda
I installed Miniconda and I'm trying to use Jupyter Notebook with it but haven't been able to do so. After installing miniconda I ran the jupyter notebook command on my terminal and jupyter wasn't installed.
I went ahead and installed it with the…

Emilio
- 401
- 1
- 4
- 7
29
votes
3 answers
Can Anaconda be packaged for a portable zero-configuration install?
I'd like to deploy Python to non-programmers in my organization such that the install process consists entirely of syncing a directory from Perforce and maybe running one batch file that sets up environment variables.
Is it possible to package up…

Crashworks
- 40,496
- 12
- 101
- 170
28
votes
4 answers
how to install anaconda / miniconda on Linux silently
How do I install the anaconda / miniconda without prompts on Linux command line?
Is there a way to pass -y kind of option to agree to the T&Cs, suggested installation location etc. by default?

Kevad
- 2,781
- 2
- 18
- 28
27
votes
1 answer
export conda environment without prefix variable which shows local path to executable
In order to improve reproducibly across my team I have exported a conda environment file in a newly created repository running conda env export > environment.yml.
The idea is for my colleagues to download the repo and run conda env create -f…

Giacomo
- 1,796
- 1
- 24
- 35
26
votes
3 answers
How to specify the architecture or platform for a new conda environment? (Apple Silicon)
Is there a way to specify the architecture/platform when creating a new conda environment? Alternatively, how does conda detect its current architecture/platform when its run?
What I'm aiming to do is this: I'm running on an Apple Silicon laptop.…

Bob
- 1,274
- 1
- 13
- 26
26
votes
7 answers
Get the Anaconda prompt running in the PyCharm terminal
I have Miniconda3 installed at C:\Users\me\Miniconda3, and my 'Project Interpreter' within PyCharm set to my conda environment, and that is all working correctly. However it appears that conda is not set for my path variable as if I type conda into…

Nicholas
- 546
- 1
- 6
- 19
24
votes
4 answers
Activate and switch Anaconda environment in Dockerfile during build
I've been trying for hours and can't figure out how to activate and switch anaconda environments in a Dockerfile during the build process
Here's the initial code:
FROM nvidia/cuda:10.1-cudnn7-devel-ubuntu16.04
# Set user
ENV SETUSER myuser
RUN…

xnet
- 511
- 2
- 7
- 16
23
votes
1 answer
How to install g++ on Conda under Linux?
I have tried
conda install -c conda-forge gcc
but it only installed gcc. I also need g++.

Eduardo Reis
- 1,691
- 1
- 22
- 45
22
votes
1 answer
How to analyze dependency tree for conda
Is there a tool for analyzing Conda dependencies as we do have in Maven?
ie: In Java projects (maven based) you say mvn dependency:tree and it shows all the dependencies (along with transitive dependencies) in a readable tree format.
I was wondering…

Lovey
- 880
- 3
- 15
- 31
22
votes
1 answer
Anaconda vs miniconda space
On my desktop PC I have anaconda installed, and on my laptop - to save space - I thought i'd install miniconda and be selective about the modules I install. So I installed a handful, numpy, scipy etc. I didn't install anything which isn't part of…

memo
- 3,554
- 4
- 31
- 36
21
votes
11 answers
Conda environment not showing up in VS Code
I installed miniconda on Windows 10 and created an environment (I followed this guide: https://www.notion.so/shashankkalanithi/Setting-Up-Conda-Environment-ba83f7f019ea44b9af37588eed419eb9). However when I open the VS Code I don't see that…

TityBoi
- 399
- 1
- 4
- 11
21
votes
3 answers
Check what conda environment is currently activated
I'm wondering if there is an easy way to check which conda environment is currently activated.
I know you can do conda env list and the active environment will be printed with a *.
However, I would like to do this programmatically as an input into…

Nic Wanavit
- 2,363
- 5
- 19
- 31