Category "conda"

Python kernel dies on Jupyter Notebook with tensorflow 2

I installed tensorflow 2 on my mac using conda according these instructions: conda create -n tf2 tensorflow Then I installed ipykernel to add this new enviro

Conda create env from file - How to specify prefix in the file?

I read that the prefix line in the environment.yaml file is not used by conda env create. Two of the posts on SO pointing to this fact are: export conda envir

Conda environment is in an unsolvable loop of 'The environment is inconsistent', how to fix it?

A dependency conflict in conda environment seems to cause the environment to be in a state of self-conflict and it is unable to find any useful fix. I've tried

If I move a repo that's pip-installed into a conda environment, will the environment still work?

I have a git repo (repo1) that I installed into my conda environment (env1) as follows: conda activate env1 cd /path/to/repo1 pip install -e . If I move repo1

How to use Jupyter notebooks in a conda environment?

Typically one runs jupyter notebook or jupyter-notebook or ipython notebook in a terminal to start a Jupyter notebook webserver locally (and open the URL in the

Anaconda "Inconsistent environment" and Spyder not recognising Imported Modules

I have been having a problem with my Spyder distribution since I attempted to install a new package (scikit-image): After attempting to install it, initially my

Conda activate not working?

gonzo  ~/a/packages  conda env list # conda environments: # ppo_latest /nohome/jaan/abhishek/anaconda3/envs/ppo_latest root

How can I get VSCode to correctly activate conda when running pytest?

When using Anaconda and VSCode on Windows 10, the VSCode debugger correctly activates the environment when I run/debug. But when I use the test module, it fails

pip-compile error using Anaconda - File "/opt/anaconda3/bin/pip-compile", line 8, in <module> sys.exit(cli())

My pip version is 22.0.4. I had the most recent version but had to downgrad because I noticed the same error mentioned here: https://github.com/jazzband/pip-too

Conda install package ModuleNotFoundError: No module named 'conda'

I installed Conda using the scripts from bootstrap-conda.sh and install-conda-env.sh Conda was installed successfully. When I install the first package, e.g.

Can't Make Sense of Anaconda Environment PATH Variable

I've been trying to deploy a Heroku app and I was running into a lot of issues that I believe have to do with the virtual environment I was working in. I create

The environment is inconsistent, please check the package plan carefully

I tried to update or install new packages from anaconda and lately, this message has appeared: The environment is inconsistent, please check the package plan c

Cannot load `swrast` and `iris` drivers in Fedora 35

Essentially, trying to write the following code results in the error below: Code from matplotlib import pyplot as plt plt.plot([1,2,3,2,1]) plt.show() Error li

Can I pass non-string types via environment variables to meta.yaml?

I am aware that conda's meta.yaml file uses jinja templating, which allows us to pass values to it via environment variables. For example like this: package:

conda refuses to install package while all dependencies seems to be already satisfied

I'm trying to install httpcore v0.14.7 inside miniconda 3.8 . httpcore v0.14.7 is only available on conda-forge, rather than the anaconda main repo. Unfortunate

How to connect R conda env to jupyter notebook

I am creating conda environment using following code conda create --prefix r_venv_conda r=3.3 r-essentials r-base --y Then I am activating this env by fol

conda install matplotlib results in huge list on incompatibilities

I have a conda env that I build from a requirements.yml file that I obtained from a classmate so we could work on a project together. I tried installing matplot

Can't install geoplot package

I'm trying to install geoplot package for a few hours now but I can't understand why I can't do it. I saw several links in here just saying "only use conda and

Conda environments not showing up in Jupyter Notebook

I installed Anaconda (with Python 2.7), and installed Tensorflow in an environment called tensorflow. I can import Tensorflow successfully in that environment.

Conda to poetry environment

I have a conda environment that I would like to convert to a poetry environment. What I have tried is to translate the environment.yaml of the conda environment