Questions tagged [conda]
This tag should be used for questions regarding the conda package manager.
79
questions
-1
votes
0
answers
32
views
Solving environment: failed with initial frozen solve. Retrying with flexible solve [duplicate]
conda config --add channels conda-forge
conda config --set channel_priority strict
conda install gmx_mmpbsa after this command,
Collecting package metadata (current_repodata.json): done
Solving ...
0
votes
0
answers
274
views
Problem installing Whisper with Anaconda
I'm trying to install whisper. I'm doing it with help from this guide https://www.youtube.com/watch?v=nwPaRSlDSaY since I'm a total beginner at Ubuntu (I only know 3 commands).
My version of Ubuntu ...
0
votes
0
answers
73
views
installation using pip on conda env taking very long time
I am trying to install the below requirements contained in a file requirements.txt in a conda environment:
amazon-braket-pennylane-plugin==1.1.0.post1
cvxopt==1.2.6
cvxpy==1.1.11
dill==0.3.3
...
1
vote
1
answer
616
views
How and where to install conda to be accessible to all users
What I Want To Do
I want to install conda on our shared computer on premises in such a way that it can be used by all users. Users are accessing the machine through remote desktop using xRDP from ...
0
votes
0
answers
21
views
Multiple errors after failed installation
I am using Ubuntu via WSL. I was trying to install Rust using this command (taken from the official website):
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
Unfortunately, it seems ...
1
vote
1
answer
147
views
Having trouble copying conda environment folder containing same word (different case) files with symbolic links in terminfo subdirectory
I am using WSL1.
I am trying to save a copy of my ~./miniconda/envs folder to the desktop using cp.
I keep getting errors like cp: cannot create regular file './envs/py_env/share/terminfo/h/hp2621a':...
1
vote
0
answers
569
views
Since ubuntu 22.04, anaconda-navigator launching errors : warning linux-scaling, Ignoring XDG_SESSION_TYPE, libGL error
Here is my problem : I use jupyterlab across anaconda navigator. Everything was fine on Ubuntu 18 LTS. Since I updated Ubuntu 18 LTS to 22.04 LTS when I run anaconda-navigator in a terminal the ...
1
vote
1
answer
692
views
conda cammand not found after Anaconda install
I just installed Anaconda as instructed from the homepage.
Downloaded installer
checked sum:
$ shasum -a 256 ~/Downloads/Anaconda3-2022.10-Linux-x86_64.sh
...
0
votes
1
answer
321
views
Bash Prompt only shows base
When I ssh to a server I always use, the prompt only shows 'base':
(base)
And thats it, not even a $ sign or directory/username. I understand the base refers to the base conda environment but Im not ...
-1
votes
2
answers
232
views
How to remove a directory's path from the enviroment variable PATH permanently?
I just removed the miniconda3's folder from home/username/, now i want to remove its path from my $PATH variable permanently.
As you can see below, it's the first one:
/home/username/miniconda3/bin:/...
3
votes
1
answer
7k
views
Cannot install cuDNN 8.5.0.96 on Ubuntu 22.04, shows "The public CUDA GPG key does not appear to be installed"
System Info:
OS: Ubuntu 22.04.1 LTS x86_64
Kernel: 5.15.0-47-generic
Uptime: 19 mins
Packages: 2225 (dpkg), 11 (snap)
Shell: bash 5.1.16
Resolution: 3840x2160
DE: GNOME 42.4
WM: Mutter
WM ...
0
votes
0
answers
790
views
Package conflict detect in conda but not create the environment
I use miniconda3 to create virtual environment in linux aarch64 architecture.
I wrote penvstack.yml file
name: ymlenv
channels:
- conda-forge/label/gcc7
- anaconda
- conda-forge
- r
- ...
0
votes
0
answers
41
views
Differences in download of r-packages between "conda install" and "install.packages"
Recently, I used R on Linux, and failed to download some packages with some ERROR messages by "install.packages" and "BiocManager::install" in R.
Like this:
ERROR: configuration ...
0
votes
0
answers
139
views
Anaconda-navigator command not working in Ubuntu 22.04 after installation
I have been trying opening the anaconda-navigator.
The error is like this:
Traceback (most recent call last):
File "/home/kaushik/anaconda3/bin/anaconda-navigator", line 7, in <module&...
1
vote
0
answers
108
views
conda update removed conda
I have just updated conda, and I fell into an error from which I could not recover so far.
I am copying here the essential lines that illustrate the apparent problem (and below the full output).
The ...
0
votes
1
answer
183
views
How to start xdg-open shortcut within conda environment (Using app installed with conda as xdg-open app)
I installed QGIS using conda. If I start qgis from the terminal it works well as it has everything it needs to use in the PATH as defined by the conda base environment.
However I cannot pin that app ...
0
votes
1
answer
1k
views
Conda hangs when installing new Python version
Some of the output of conda search python is:
# Name Version Build Channel
python 3.9.0 h2a148a8_4_cpython conda-forge
...
0
votes
0
answers
727
views
Removing conda from path
echo $PATH
[OUT] /home/cmaspi/anaconda3/bin /home/cmaspi/.local/bin /usr/local/sbin /usr/local/bin /usr/sbin /usr/bin /sbin /bin /usr/games /usr/local/games /snap/bin
I've already removed anaconda3 ...
2
votes
1
answer
1k
views
Fish does not run as conda base by default
I have installed Fish on my Ubuntu, but every time I open my terminal I have to run the bash command to initiate conda base. I hadn't this problem with ZSH in the past.
Is there any solution to make ...
1
vote
0
answers
681
views
conda create env using yml file - ResolvePackageNotFound error keeps changing
I am trying to use conda to create an environment through the yml file from this GitHub repository https://github.com/thanard/causal-infogan.
The command is conda env create -f tf14.yml and the file ...
1
vote
0
answers
2k
views
conda env create -f tf14.yml - ResolvePackageNotFound
I am trying to run the code from this repository https://github.com/thanard/causal-infogan. The instructions to install the python environment are as follows
Create a python environment and install ...
5
votes
2
answers
4k
views
What am i doing wrong in Conda?
I am a first time user of of Anaconda & Miniconda suite and I have been having problems running code using it. Every time I try to run a python script in Anaconda or miniconda it comes up with ...
0
votes
1
answer
124
views
Conda activation [duplicate]
I recently moved miniconda2 to another directory and now I can't activate the conda environment. Please any suggestion to resolve this problem.
bash: conda: command not found
0
votes
2
answers
410
views
how to prevent OSError: cannot allocate memory in static TLS block in a conda enironment
I am using ubuntu 20.04 and conda 4.8.3. I have installed a package in one of my environments using pip (pip install --force-reinstall --no-cache-dir gmsh-dev) but when I try to import the package in ...
0
votes
1
answer
4k
views
Why new envonments of anaconda are empty
I am using conda version 4.9.2 in ubuntu 18.04. I firstly create a new environment and then try to install a package but surprisingly this package already exists but there but when I try o import it ...
1
vote
0
answers
341
views
frozen solving environment step in installing a package in ubuntu
I am trying to install moose framework in my ubuntu (20.4). It has three main steps: exporting path of miniconda using:
export PATH=$HOME/miniconda3/bin:$PATH
Configuring Conda to work with conda-...
0
votes
1
answer
661
views
I can't install packages with conda, even so anaconda was correctly installed? (Fresh Ubuntu 20.04 LTS Setup)
I wanted to install pandas on my fresh installation of Ubuntu 20.04 LTS (updated it first).
What i did:
I followed the installation instructions on:
https://docs.anaconda.com/anaconda/install/linux/
(...
3
votes
1
answer
7k
views
Setting up tensorflow-GPU Conda environment with CUDA 11.2 and cuDNN 8.1-8.2 (CUDA 460 Driver
I am trying to create a conda environment for tensorflow-GPU. I have a GeForce RTX 3080, running Ubuntu 21.04 with the CUDA 460 driver installed (secure boot disabled). I tried to install cudatoolkit ...
0
votes
1
answer
96
views
conda install -c bioconda simlord | UnsatisfiedError
Following this tutorial and two installation steps, I want to run SimLoRD.
On Ubuntu 18.04, using a Python 3.9 venv:
conda install -c bioconda simlord
UnsatisfiedError
Terminal output
I have tried ...
0
votes
1
answer
589
views
Making changes to Conda environment permanent instead of falling back to the default
I can set my environment to make it house_rank, and it shows on my terminal:
house_rank sgilmour14-Ubuntu
But after a reboot, it goes back to my standard terminal, and removes house_rank.
Is there a ...
2
votes
1
answer
1k
views
Anaconda Navigator gets stuck at loading applications in Ubuntu 20.04 even after updating Anaconda Navigator
I tried opening Anaconda Navigator as root and it got stuck at "loading applications" and gave this error:
Traceback (most recent call last):
File "/home/karuna63/anaconda3/lib/...
2
votes
1
answer
5k
views
sh: 1: python: not found when execute python script from php
I'm tring to execute a python script call from php with the command below:
$output = shell_exec('python /var/www/html/sna/server/userManagement.py '. $user.' '. $pass .' \''.$action.'\' 2>&1');
...
0
votes
0
answers
692
views
Error installing libgfortran3 on Ubuntu 20.04
I'm working on a project where I have to compile the code from another author. He uses very old packages so I'm traying to recreate the enviroment on conda, but I cannot find any good repo for Ubuntu ...
1
vote
0
answers
115
views
Installing Ananconda on Ubuntu 20.04, many erros
Disclaimer: I'm very very new to Linux.
Background: I'm having issues installing Anaconda on my Ubuntu 20.04. I am running this off of my USB stick on a PC. I tried downloading the community pycharm ...
1
vote
0
answers
3k
views
conda : command is not found
$ wget "https://repo.continuum.io/archive/Anaconda2-5.0.1-Linux-x86_64.sh"
$ chmod u+x ./Anaconda2-5.0.1-Linux-x86_64.sh
$ ./Anaconda2-5.0.1-Linux-x86_64.sh
$ bash
I ran the above commands ...
3
votes
1
answer
2k
views
Not able to activate conda environment through os.system command in python
I want to activate activate a conda environment before running my python file through os.system command, but unfortunately, I am not able to activate the conda environment.
Following is the command I ...
3
votes
2
answers
11k
views
Anaconda is only available to root
I downloaded the Anaconda3-2020.02-Linux-x86_64.sh from official site and used the command:
sudo sh Anaconda3-2020.02-Linux-x86_64.sh
To install. By default it installed inside '/root/anaconda3'. ...
1
vote
1
answer
751
views
conda activate newenv returns "powerline-shell: command not found"
I installed Conda using Anaconda3-2019.10-Linux-x86_64.sh. It works fine until today. I was able to run create new virtual env and activate it and then deactivate it as expected. Basically,
conda --...
0
votes
0
answers
124
views
Error installing anaconda
I am new in Ubuntu bionic beaver. I have been trying to install Anaconda without success. Apparently, the installation happens, all dependencies are in anaconda folder.
During the installation, when ...
0
votes
1
answer
165
views
Qiime2 conda environment changing the name
I had install qiime2 within a conda environment, but I forget to change the name of the environment, I copied the name of the example in the qiime2 guide. I would like to know if it's possible to ...
3
votes
2
answers
2k
views
Activate conda environment in Ubuntu desktop shortcut
I have a desktop shortcut that has the following Exec line:
Exec=conda activate my_env && my_command
However, this shortcut doesn't launch. To try to debug this, I ran the same command in a ...
2
votes
1
answer
6k
views
Can I use conda and pip3 interchangeably to install Python packages?
I don't understand why some Python packages are installed using conda and some by using pip3.
Are these just different installers from different developers but doing the same thing?
Can I use them ...
-1
votes
1
answer
4k
views
Changing conda environment for python commands
I wrote a Python script which uses a package named paraview. I installed this package to my environment. I want that whenever the code is run, the environment must be changed and then the code is run.
...
0
votes
1
answer
5k
views
Command 'python' not found after creating conda environment
I am running Ubuntu 19.10 on my laptop, I recently installed miniconda3. No problems this far, but after creating an environment with python 2.7 I get the following message everytime I open a terminal:...
0
votes
1
answer
139
views
will sudo apt-get upgrade destroy my python 2 environment?
I am a newbie to Ubuntu. I have just installed conda with python3 and python2 environments. I also see people say "sudo apt-get upgrade" will upgrade all packages installed. My concern is that will it ...
0
votes
1
answer
3k
views
How to activate conda environments while still being able to change the environment with eval --setenvironment
I have a working environment in which I need to often change from one python conda environment to other environments provided by colleagues to run code.
In order to have the conda environments active ...
1
vote
1
answer
2k
views
How to fix Conda "missing path to environment variable"?
I have a conda environment named tensorflow_p36. When I run import mujoco-py I get the following error:
Exception: Missing path to your environment variable.
Please add following line to ....
1
vote
1
answer
2k
views
Conda channel for python3.8
I've download python3.8 following the instructions at Developing With Python 3.8 on Ubuntu 18.04 LTS.
Running python3.8 in the terminal works fine.
The thing is, when I try to make a channel that ...
0
votes
1
answer
12k
views
Getting Import error after installing packages through conda
I just installed pandas, BeautifulSoup4, Jinja2 alongside conda distribution, but I'm not able to import any of the packages except numpy and others which come pre-installed with conda.
Where am I ...
10
votes
4
answers
32k
views
conda activate not working in a bash file
I am trying to write a script with the name myscrpt.sh, so when I run it it automatically creates a virtual env and activate it using conda. My conda version is 4.7.1.
This is what I have at the ...