miniconda

How to use Conda in Bash

How to use Conda in Bash Question: Specs: I use Python 3.8.10 WSL Ubuntu Bash VS Code Project: is Python 3.8.8 I’ve installed both types: me@PF2DCSXD:/home/me$ ls Anaconda3 Miniconda3 Yet, when I type conda: me@PF2DCSXD:~$ conda ERROR: The install method you used for conda–probably either `pip install conda` or `easy_install conda`–is not compatible with using …

Total answers: 3

can not selected python packages for newly created environment in Anaconda

can not selected python packages for newly created environment in Anaconda Question: i am new to anaconda. after installing anaconda-3, i wanted to create an environment via anaconda navigator.however, the check-box that allows one to choose python packages is never active. i installed Anaconda in the same directory where my python apps/project are. please let …

Total answers: 1

Jupyter Notebook in VS Code is not working

Jupyter Notebook in VS Code is not working Question: I’m using Ubuntu, installed Vs Code and anaconda. I’ve also installed python extension in VS Code, which brings Jupyter Notebook extension. Now, whenever I’m trying to run code from the Jupyter extension, its throwing error as if it requires ipykernel. Now, my conda ‘base’ environment has …

Total answers: 2

Unable to start Jupyter notebook on VS Code

Unable to start Jupyter notebook on VS Code Question: (Using latest miniconda + VS Code on 64-bit Windows10:) After clean reinstalling VS Code, I can no longer launch jupyter notebook from within it. When I tried to create a new jupyter file for the first time, the Python extension installed ipykernel in my virtual environment …

Total answers: 5

Delete 'Python Interactive' environment created by VSCode inside Jupyter?

Delete 'Python Interactive' environment created by VSCode inside Jupyter? Question: I ran some jupyter notebook using VSCode. However, VSCode created some ‘Python Interactive’ environment which appears in my Jupyter Notebook. How do I remove them? Asked By: Linh Hoàng || Source Answers: Sorry that’s a bug in the python extension. To delete them you can …

Total answers: 2

How to install packages from yaml file in Conda

How to install packages from yaml file in Conda Question: 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 conda …

Total answers: 2

How to install packages with miniconda in Dockerfile?

How to install packages with miniconda in Dockerfile? Question: 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 && bash Miniconda3-latest-Linux-x86_64.sh -b && rm -f Miniconda3-latest-Linux-x86_64.sh && echo PATH=”/root/miniconda3/bin”:$PATH >> .bashrc && exec bash && conda –version RUN conda …

Total answers: 3

How to create conda environment with specific python version?

How to create conda environment with specific python version? Question: I have miniconda3 installed and since I would like to have an environment with python version 3.3.0, I create it via conda create -n "myenv" python=3.3.0 However when I activate the environment via conda activate myenv python has version 2.7.15 and path /usr/bin/python and ipython …

Total answers: 3

How to specify version ranges in Conda environment.yml

How to specify version ranges in Conda environment.yml Question: 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 more sophisticated version ranges …

Total answers: 2

Specific reasons to favor pip vs. conda when installing Python packages

Specific reasons to favor pip vs. conda when installing Python packages Question: I use miniconda as my default python installation. What is the current (2019) wisdom regarding when to install something with conda vs. pip? My usual behavior is to install everything with pip, and only using conda if a package is not available through …

Total answers: 6