Questions tagged [conda]
This tag should be used for questions regarding the conda package manager.
69
questions
0
votes
0
answers
61
views
conda environment can't find distutils.core after upgrade to 22.04
After upgrading to Ubuntu 22.04, python setup.py fails with:
ModuleNotFoundError: No module named 'distutils.core'
in response to an attempt to cythonize a .pdx file. Attempts to do anything along ...
1
vote
0
answers
27
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
31
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
0
answers
54
views
python version (conda -forge)
I am using 18.04 Ubuntu with Anaconda.Recently i have trying to install OpenCV through conda-forge channel in the base environment. I did not install purposely any Python version and did not use any ...
0
votes
1
answer
337
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
71
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 ...
1
vote
1
answer
252
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
452
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
752
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 ...
3
votes
2
answers
859
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
45
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
239
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
1k
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
273
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
492
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/
(...
2
votes
1
answer
3k
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
71
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
351
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
600
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 ...
0
votes
0
answers
1k
views
Which is the "correct" version of `CUDA` seen by `pytorch`
Which is the "correct" CUDA Version?
nvidia-smi says I have cuda version 10.1
conda list tells me cudatoolkit version is 10.2.89
print(torch.cuda.current_device()), I get 10.0.10? (it
...
1
vote
0
answers
98
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
2k
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 ...
2
votes
1
answer
981
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 ...
0
votes
2
answers
6k
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
0
answers
579
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
91
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
146
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
1k
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 ...
0
votes
0
answers
79
views
Ubuntu conda command
I'm using Ubuntu 18.04x64
When I try to open conda navigator with conda --navigator, this error occurs:
usage: conda [-h] [-V] command ...
conda: error: the following arguments are required: ...
2
votes
1
answer
5k
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
3k
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
4k
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
98
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
2k
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
892
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 ....
0
votes
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
8k
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
26k
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 ...
0
votes
0
answers
2k
views
Force R to read folders outside of conda environment to install packages
I am using R in RStudio outside of a conda environment (I have miniconda3 installed to operate QIIME2). However, when I try installing R packages, I am always getting errors as R is always looking in ...
0
votes
0
answers
663
views
Can't use PyTorch in PyCharm
I installed PyTorch via Anaconda and changed the Project interpreter to Conda Environment in the settings in PyCharm.
Even though I can request the PyTorch version in the console with
import torch
...
2
votes
3
answers
5k
views
Anaconda Nav wont launch 18.04
I type in anaconda-navigator but i get this "anaconda-navigator: command not found"
I have conda update conda.
2
votes
0
answers
6k
views
What's the command to find out version of gcc is used inside a conda virtual environment?
I have a program to be compiled in which I need to have gcc.
However, when a python 2.7 virtual conda enviornment being installed, it needs gcc. So I believe I don't have to install gcc package ...
0
votes
1
answer
826
views
How to get miniconda2 installation file from the miniconda website using a bash script?
I'd like to write a bash script which automatically downloads the miniconda installation script in Linux-x86_64 for python2.7.
Apparently I have to go to the website and manually download the ...
2
votes
0
answers
296
views
Getting rid of conda environment's name when using powerline?
I have been using powerline in Vim for a while. Today I tried it also in my Ubuntu shell (Gnome terminal) and it mostly works well, with one caveat: it annoyingly displays the name of the currently ...
3
votes
2
answers
10k
views
Why does “(base)” appear in front of my terminal prompt II?
I have conda with two environments working, I have installed "conda_nb" and since I did it, the word "(base)" appears always in my prompt, I discovered that I can remove for a session using conda ...
2
votes
1
answer
2k
views
let `conda install` use a manually pre-downloaded package
I've got a PC with a slow internet connection. When trying to install an about 500MB package (conda install -c pytorch pytorch), I get a download timeout.
I tried downloading this file manually ...
1
vote
1
answer
6k
views
Solving environment: failed
I want to install Tensorflow-GPU for Anaconda Python 3.6.
How can I fix this?
$ conda install -c anaconda tensorflow-gpu
Solving environment: failed
# >>>>>>>>>>>&...
0
votes
2
answers
1k
views
Conda package installs in wrong environment
I am trying to install torch using conda however, it installs it into another conda environment not the one I am interested in. How can I fix this?
[jalal@goku NAACL2018]$ conda install pytorch ...